hono-ipc-routes
Implement type-safe IPC routes in Electron using Hono RPC. Use when creating API routes between main and renderer processes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Implement type-safe IPC routes in Electron using Hono RPC. Use when creating API routes between main and renderer processes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implement CQRS pattern for Electron services. Use when creating service methods with Observable queries and ResultAsync commands.
Advanced patterns for Hono-based Electron IPC including Zod validation and error handling. Use when adding validation or handling errors in routes.
Set up Hono-based type-safe IPC for Electron. Use when implementing IPC or migrating from ipcRenderer to type-safe RPC.
Implement reactive state management with Jotai atoms in Electron renderer. Use when creating atoms with real-time IPC updates or hybrid stream + HTTP patterns.
Design React Suspense boundaries interactively. Use when planning loading states, configuring boundary granularity, or combining with ErrorBoundary.
| name | hono-ipc-routes |
| description | Implement type-safe IPC routes in Electron using Hono RPC. Use when creating API routes between main and renderer processes. |
| allowed-tools | Read, Write, Edit, Grep, Glob |
| Topic | File |
|---|---|
| Route implementation | ROUTE-HANDLERS.md |
| Type safety patterns | TYPE-SAFETY.md |
| Error handling | ERROR-HANDLING.md |
// Route: src/shared/callable/users/index.ts
export const route = new Hono<{ Variables: AppVariables }>()
.get('/', async (c) => c.json(await c.var.services.users.list(), 200))
.post('/', zValidator('json', schema), async (c) => { ... });
// Client: fully typed
const users = await client.users.$get().then(r => r.json());