/engineering-advanced-skills:senior-backendfrom engineering-advanced-skills
Scaffolds and reviews Node.js REST APIs on PostgreSQL: generates route handlers, Zod validators, TypeScript types from OpenAPI specs, analyzes schemas with migration generation, and runs HTTP load tests with CI gates.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Scaffold and review backend services: API design and OpenAPI-driven code generation for Express/Fastify/Koa, PostgreSQL schema analysis and migration generation, HTTP load testing, and production security hardening. Outputs ready-to-run route handlers, Zod validators, TypeScript types, migrations with rollbacks, and load-test reports.
data/error/meta response envelope and HTTP status conventions.Before scaffolding, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--framework; changes the generated route handlers, validators, and types).database_migration_tool.py).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | Purpose | Command |
|---|---|---|
api_scaffolder.py | Route handlers, Zod validators and TS types from an OpenAPI spec (JSON, or block-style YAML; flow-style YAML needs PyYAML) | python3 scripts/api_scaffolder.py openapi.json --framework express --output src/routes/ |
database_migration_tool.py | PostgreSQL schema analysis, index suggestions, migrations with rollbacks | python3 scripts/database_migration_tool.py schema.sql --analyze |
api_load_tester.py | HTTP load test with latency percentiles, throughput and comparison; --min-success turns it into a CI gate | python3 scripts/api_load_tester.py https://staging.example.com/health --concurrency 20 --duration 30 --min-success 99 |
Exit codes: 0 done; 1 api_load_tester.py success rate below --min-success; 2 unusable input (unreadable spec, unsupported YAML, bad arguments). Without --min-success the load tester reports failures but exits 0, so set it in CI.
# from engineering/senior-backend/; write generated code outside the repo
python3 scripts/database_migration_tool.py assets/sample_schema.sql --analyze # flags the unindexed orders.user_id
python3 scripts/api_scaffolder.py assets/sample_openapi.json --framework express --output "$(mktemp -d)"
Run load tests only against systems you own or are allowed to test, and never against production without agreement: the tester sends real traffic.
Load the reference that matches the task — keep this file lean and pull detail on demand:
Mistake: Adding an index for every slow query.
Why it matters: Each index slows writes and costs memory; overlapping indexes are common after a few rounds.
Instead: Read the query plan (EXPLAIN ANALYZE), add the index that the plan needs, and drop ones that are never used.
Mistake: Shipping a migration without a tested rollback. Why it matters: A failed deploy then needs a manual fix under pressure, and data changes may not reverse cleanly. Instead: Generate the rollback with the migration, run both on a copy of production data, and use expand-then-contract for breaking changes.
Mistake: Reading a load test that "finished" as a pass.
Why it matters: A run where most requests failed still prints latency numbers.
Instead: Check the success rate first, and gate CI with --min-success.
| File | Purpose |
|---|---|
scripts/api_scaffolder.py, scripts/database_migration_tool.py, scripts/api_load_tester.py | CLIs (stdlib; PyYAML optional for flow-style YAML) |
assets/sample_openapi.json | Orders API with list and create operations |
assets/sample_schema.sql | Two tables with an unindexed foreign key |
What this skill covers:
What this skill does NOT cover:
senior-frontendsenior-devopssenior-fullstacksenior-secopsassets/sample_openapi.json (opens in a new tab)assets/sample_schema.sql (opens in a new tab)references/api_design_patterns.md (opens in a new tab)references/backend_security_practices.md (opens in a new tab)references/database_optimization_guide.md (opens in a new tab)references/tools-reference.md (opens in a new tab)references/workflows-and-patterns.md (opens in a new tab)scripts/api_load_tester.py (opens in a new tab)scripts/api_scaffolder.py (opens in a new tab)scripts/database_migration_tool.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job