backend-standards

Hono/Bun patterns and backend best practices for this project. Use when implementing API endpoints, WebSocket handlers, services, or server-side logic in packages/server.

$ Instalar

git clone https://github.com/ms2sato/agent-console /tmp/agent-console && cp -r /tmp/agent-console/.claude/skills/backend-standards ~/.claude/skills/agent-console

// tip: Run this command in your terminal to install the skill


name: backend-standards description: Hono/Bun patterns and backend best practices for this project. Use when implementing API endpoints, WebSocket handlers, services, or server-side logic in packages/server.

Backend Standards

Key Principles

  • Server is the source of truth - Backend manages all session/worker state
  • Structured logging - Use Pino with context objects
  • Resource cleanup - Always clean up PTY processes and connections
  • Type safety - Define types in shared package, validate at boundaries

Tech Stack

  • Bun, Hono, bun-pty, Pino, Valibot

Detailed Documentation