Agent skill
hono-ipc-setup
Set up Hono-based type-safe IPC for Electron. Use when implementing IPC or migrating from ipcRenderer to type-safe RPC.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/hono-ipc-setup-naporin0624-claude-plugin-hono-e-2
SKILL.md
Hono Electron IPC Setup
Resources
| Topic | File |
|---|---|
| Why shared/ directory | SHARED-DIRECTORY.md |
| Factory pattern with DI | FACTORY-PATTERN.md |
| Hono RPC API reference | REFERENCE.md |
Directory Structure
src/
├── shared/callable/ # Factory, app creation, types.d.ts
├── main/callable/ # Service injection
└── renderer/src/adapters/ # Type-safe hc client
Quick Start
pnpm add hono @hono/zod-validator zod
// Type export: src/shared/callable/types.d.ts
export type CallableType = ReturnType<typeof createApp>;
// Client: src/renderer/src/adapters/client.ts
export const client = hc<CallableType>('http://internal.localhost', { ... });
Related Skills
- cqrs-pattern - Query/Command separation
- hono-ipc-routes - Route implementation
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?