Naporin0624 Claude Plugin Hono Electron Hono Ipc Routes

---

tomevault-io Updated

File contents


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

Hono IPC Routes

Resources

Topic File
Route implementation ROUTE-HANDLERS.md
Type safety patterns TYPE-SAFETY.md
Error handling ERROR-HANDLING.md

Quick Reference

// 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());

Related Skills


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/naporin0624--claude-plugin-hono-electron--hono-ipc-routes commit 4eeabafd4a

Frequently asked questions

npx skillmds@latest add tomevault-io/naporin0624-claude-plugin-hono-electron-hono-ipc-routes