What problem does it solve? Backend development with Postgres, Drizzle ORM, and Hono on Next.js involves many subtle pitfalls: N+1 query problems, missing row-level security, type inference build errors, and unsafe API designs for AI agents. This Skill provides concrete implementation patterns and best practices so you write correct, secure backend code the first time. ## Core Features & Use Cases - Drizzle ORM & Postgres Best Practices: Type-safe schema definitions, relation-aware queries that avoid N+1 problems, partial column selects, and a safe migration workflow with manual SQL review. - Hono x Next.js Patterns: Standard route handler setup using hono/vercel with Edge Runtime, plus guidance on type inference pitfalls and how to handle build-time type errors. - Agent-Facing API Design: Idempotency-Key handling for mutating requests, async job patterns returning 202 Accepted, and observability logging with traceId, toolName, and agentId metadata. - Use Case: When adding a new API endpoint to a Next.js app backed by Postgres, apply this Skill to define the Drizzle schema with RLS enabled, wire up a Hono route handler, and make the endpoint idempotent for agent-driven clients. ## Quick Start Apply the backend-engineering skill to review my Drizzle schema and Hono API route for best practices and security issues.