Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
borghei avatar

Senior Backend

  • 248 installs
  • 451 repo stars
  • Updated July 21, 2026
  • borghei/claude-skills

senior-backend is an agent skill that designs, scaffolds, hardens, and load-tests Node-style backends with PostgreSQL-aware patterns for developers building or reviewing production APIs and services.

About

senior-backend is a borghei claude-skills module (version 1.0.0, updated 2026-03-31) for Node.js backend engineering with PostgreSQL. The skill activates for REST API design, query optimization, authentication, microservices, GraphQL setup, database migrations, load testing, and backend code review across Express and Fastify stacks. Manifest tags span api-design, microservices, databases, caching, and queues, signaling coverage from schema tuning through distributed service boundaries. Developers reach for senior-backend when scaffolding a new API, hardening auth and data access, optimizing slow PostgreSQL queries, or reviewing backend architecture before production traffic. The skill supports both greenfield service design and review passes on existing Node backends where security, performance, and migration safety need senior-level scrutiny.

  • Covers API design, database optimization, and security hardening workflows with reference tables
  • Three bundled tools: API Scaffolder, Database Migration Tool, and API Load Tester
  • OpenAPI-driven route generation for Express-style frameworks via api_scaffolder.py
  • Triggers on REST design, query tuning, auth, migrations, GraphQL setup, and backend code review
  • Documents microservices, caching, and queue patterns for production-shaped APIs

Senior Backend by the numbers

  • 248 all-time installs (skills.sh)
  • Ranked #1,549 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/borghei/claude-skills --skill senior-backend

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs248
repo stars451
Security audit2 / 3 scanners passed
Last updatedJuly 21, 2026
Repositoryborghei/claude-skills

How do you design and harden Node PostgreSQL APIs?

Design, scaffold, harden, and load-test Node-style backends with PostgreSQL-aware patterns when you are building or reviewing APIs solo.

Who is it for?

Backend developers building or reviewing Node.js Express or Fastify APIs backed by PostgreSQL who need architecture, security, and performance patterns.

Skip if: Developers working only in frontend UI, non-Node languages without a Node migration, or tasks limited to a single trivial endpoint change.

When should I use this skill?

The user asks to design REST APIs, optimize PostgreSQL queries, implement authentication, set up GraphQL, run migrations, load test APIs, or review backend code.

What you get

Scaffolded or reviewed Node backend with API design, PostgreSQL tuning, auth, migrations, caching, and load-test guidance.

  • API architecture
  • optimized queries
  • auth and migration plan

By the numbers

  • Skill version 1.0.0 updated 2026-03-31
  • Manifest lists 5 domain tags: api-design, microservices, databases, caching, queues

Files

SKILL.mdMarkdownGitHub ↗

Senior Backend Engineer

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:

  • [references/tools-reference.md](references/tools-reference.md) — full usage examples, flag tables, and sample output for the scaffolder, migration tool, and load tester, plus quick-start and common commands. Read when running any tool.
  • [references/workflows-and-patterns.md](references/workflows-and-patterns.md) — the API-design, database-optimization, and security-hardening workflows, common response/index patterns, the troubleshooting table, and the success-criteria bar. Read when designing or hardening a service.
  • [references/api_design_patterns.md](references/api_design_patterns.md) — REST vs GraphQL, versioning, error handling, pagination. Read when designing new APIs.
  • [references/database_optimization_guide.md](references/database_optimization_guide.md) — indexing strategies, query optimization, N+1 solutions. Read when fixing slow queries.
  • [references/backend_security_practices.md](references/backend_security_practices.md) — OWASP Top 10, auth patterns, input validation. Read when hardening security.

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

Related skills

FAQ

Which stacks does senior-backend support?

senior-backend targets Node.js development with Express or Fastify and PostgreSQL-backed APIs. The skill covers REST and GraphQL design, query optimization, authentication, migrations, microservices, caching, queues, and load testing at version 1.0.0.

When should senior-backend run during a project?

senior-backend fits designing new APIs, optimizing database access, implementing auth, planning migrations, load testing services, and reviewing backend pull requests. Trigger phrases include REST API design, PostgreSQL optimization, GraphQL setup, and microservices architecture.

Is Senior Backend safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Backend & APIsbackendintegrationstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.