Senior Backend Engineer

SkillDatabases & data

This skill teaches your AI to design and build backend systems such as REST APIs, microservices, and database schemas. Once added, it can also implement authentication flows, optimize database queries, and apply security hardening.

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to design an API, create a database schema, or review your existing backend code.

Then ask your AI: use the Senior Backend Engineer skill

What your AI can do with it

  • Design REST APIs
  • Build microservices
  • Design database schemas
  • Optimize database queries
  • Implement authentication flows
  • Harden backend security

What this skill tells your AI

The instructions your AI receives, as published by borghei/claude-skills in engineering/senior-backend/SKILL.md and read by ahel’s review.

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.

Core Capabilities

  • API scaffolding — generate route handlers, validation middleware, TypeScript types, and OpenAPI specs across Express, Fastify, and Koa.
  • Database optimization — schema analysis, missing-index detection, N+1 risk detection, and migration generation with paired rollback scripts.
  • Load testing — configurable concurrency with latency percentiles (P50/P90/P95/P99), throughput, error rates, and endpoint comparison.
  • Security hardening — JWT config, rate limiting, input validation (Zod), and security headers (helmet) for production readiness.
  • Standardized contracts — consistent data/error/meta response envelope and HTTP status conventions.

When to Use

  • Designing a new API or refactoring existing endpoints.
  • Slow queries or database performance needs improvement.
  • Preparing an API for production or after a security review.
  • Building regression/load-test baselines for backend endpoints.

Clarify First

Before scaffolding, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Framework — Express / Fastify / Koa (--framework; changes the generated route handlers, validators, and types)
  • API contract source — the OpenAPI spec or endpoint list to scaffold from (the input the scaffolder reads)
  • Database intent — the schema file and whether you want analysis vs migration generation (drives database_migration_tool.py)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
api_scaffolder.pyGenerate route handlers, Zod validators, and TS types from an OpenAPI specpython scripts/api_scaffolder.py openapi.yaml --framework express --output src/routes/
database_migration_tool.pyAnalyze schemas, suggest indexes, and generate migrations with rollbackspython scripts/database_migration_tool.py schema.sql --analyze
api_load_tester.pyHTTP load test with latency percentiles, throughput, and comparisonpython scripts/api_load_tester.py https://api.example.com/users --concurrency 50 --duration 30

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Scope & Limitations

What this skill covers:

  • REST API design, scaffolding, and OpenAPI-driven code generation for Express, Fastify, and Koa
  • PostgreSQL schema analysis, index optimization, migration generation with rollback support
  • HTTP load testing with latency percentile analysis, throughput measurement, and endpoint comparison
  • Backend security patterns including JWT configuration, rate limiting, input validation, and security headers

What this skill does NOT cover:

  • Frontend development, UI components, or client-side state management -- see senior-frontend
  • Infrastructure provisioning, container orchestration, or CI/CD pipeline setup -- see senior-devops
  • GraphQL schema design, resolvers, or subscriptions -- see senior-fullstack
  • Application performance monitoring (APM), distributed tracing, or log aggregation -- see senior-secops

Integration Points

SkillIntegrationData Flow
senior-fullstackAPI routes generated here feed into fullstack project scaffoldingOpenAPI spec → fullstack scaffolder consumes as API contract
senior-devopsMigration scripts output here are consumed by CI/CD deployment pipelinesmigrations/ directory → deployment workflow applies and verifies
senior-securityLoad test results and security hardening output feed into security reviewLoad test JSON → security audit validates rate limiting and error handling
senior-qaGenerated route handlers and validators provide test surface for QA automationRoute files + Zod schemas → QA generates integration test suites
senior-frontendTypeScript types generated by the scaffolder are shared with frontend consumerstypes.ts → frontend imports API types for type-safe client code
code-reviewerSchema analysis issues and migration diffs feed into code review checklistsAnalysis report → reviewer validates index coverage and naming conventions

Signals

GitHub stars
752
Forks
137
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
senior-backend
Source
github.com/borghei/claude-skills