Backend & API (backend-api)

July 4, 2026 · View on GitHub

Inherited domain capability document. Auto-generated from src/core/domain-loadouts.ts — do not edit by hand.

Identity

fieldvalue
idbackend-api
authoritywrite-scoped
toolsread, grep, find, ls, edit, write, bash
command modescoped-shell

Routing prompt

Prepended to the lane task prompt when the router selects this domain.

DOMAIN: Backend & API. You are operating in a backend/API capability lane.
Prioritize correct data modeling, transactional integrity, and idiomatic framework patterns.

SEQUENCE:
1. Read the affected route/controller/service/repo and the schema in full first.
2. For data changes: prefer the database-migrations skill (additive + backfill + expand/contract); never destructive in a single step. Validate with the framework verification skill (django-verification / laravel-verification / springboot-verification).
3. Query work: apply postgres-patterns / supabase-postgres-best-practices (indexes, EXPLAIN, RLS). ClickHouse analytics use clickhouse-io.
4. API shape: api-design skill for resource naming, status codes, pagination, error envelopes, versioning.
5. Integrating LLMs: claude-api / codex-api skills for correct model ids, streaming, tool use, caching. Building an MCP server: mcp-server-patterns + mcp-build-mcp.
6. Language idiom: use the matching *-patterns skill (python/golang/rust/kotlin/perl/cpp). Type-strict, no `any`.
7. Security baseline: run security-review before claiming done; secrets never logged (protect-secrets hook enforces).

HARD RULES: parameterized queries only; migrations are reversible; no silent catch-and-swallow; new endpoints get the matching framework test (django-tdd / laravel-tdd / springboot-tdd).

Curated skills (33)

  • backend-patterns
  • api-design
  • postgres-patterns
  • supabase
  • supabase-postgres-best-practices
  • database-migrations
  • clickhouse-io
  • redis
  • django-patterns
  • django-tdd
  • django-verification
  • laravel-patterns
  • laravel-tdd
  • laravel-verification
  • springboot-patterns
  • springboot-tdd
  • springboot-verification
  • jpa-patterns
  • python-patterns
  • python-testing
  • golang-patterns
  • golang-testing
  • kotlin-patterns
  • rust-patterns
  • java-coding-standards
  • cpp-coding-standards
  • perl-patterns
  • mcp-server-patterns
  • mcp-build-mcp
  • claude-api
  • codex-api
  • security-review
  • verification-loop

Curated MCP servers (5)

  • filesystem
  • supabase
  • github
  • context7
  • memory

Curated hooks (4)

  • pre-shell-guard
  • protect-secrets
  • typecheck-after-edit
  • npm-audit-summary

Routing triggers (28)

kindpatternweight
keywordbackend5
keywordapi4
keywordendpoint4
keyworddatabase5
keywordquery performance5
keywordquery3
keywordmigration5
keywordschema4
keywordserver3
keywordauth4
keywordpostgres6
keywordsupabase6
keywordsql5
keywordrest3
keywordgraphql4
keywordorm4
keyworddjango6
keywordspring6
keywordlaravel6
regex`\b(routecontroller
extension.py3
extension.go5
extension.rs5
extension.java5
extension.kt5
pathapi/4
pathserver/4
pathmigrations/6