Agent skill

hono-ipc-routes

Implement type-safe IPC routes in Electron using Hono RPC. Use when creating API routes between main and renderer processes.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/hono-ipc-routes-naporin0624-claude-plugin-hono-e-2

SKILL.md

Hono IPC Routes

Resources

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

Quick Reference

typescript
// 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

  • hono-ipc-setup - Initial setup
  • cqrs-pattern - Service layer patterns

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results