Browse
KitCursor, Claude Code · 5 steps · 5 resources
Backend API Kit
Everything an agent needs to design and ship a typed backend API — contract-first design, a sound database schema, a Postgres MCP for live schema access, a strict TypeScript rule, and a security pass before you merge.
- Skill
Add the API design skill
Start contract-first before writing handlers
npx skills add https://github.com/obra/superpowers --skill api-design - Skill
Add the database schema skill
Model tables, indexes, and migrations
npx skills add https://github.com/obra/superpowers --skill database-schema - MCP
Configure the Postgres MCP
Add your connection string for live schema access
{ "mcpServers": { "postgres": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-postgres"], "env": { "POSTGRES_CONNECTION_STRING": "postgresql://user:pass@localhost:5432/db" } } } } - Rule
Add the TypeScript strict rule
--- description: TypeScript strictness conventions alwaysApply: true --- - Never use `any` — prefer `unknown` and narrow it - Do not use `!` non-null assertions to silence the type checker - Add explicit return types to exported functions - Model invalid states out of existence with discriminated unions - Validate external data at the boundary with a schema (zod) - Skill
Add the security audit skill
Run before opening the PR
npx skills add https://github.com/obra/superpowers --skill security-audit