
Senior Backend
Design, scaffold, harden, and load-test Node-style backends with PostgreSQL-aware patterns when you are building or reviewing APIs solo.
Install
npx skills add https://github.com/borghei/claude-skills --skill senior-backendWhat is this skill?
- 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
Adoption & trust: 1 installs on skills.sh; 230 GitHub stars; 2/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Build/backend is the canonical shelf because the skill centers on API scaffolds, migrations, and service patterns—not distribution or analytics dashboards. Backend matches REST/GraphQL design, database optimization, auth, microservices, and the bundled scaffolder, migration, and load-test scripts.
Common Questions / FAQ
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.
SKILL.md
READMESKILL.md - Senior Backend
# Senior Backend Engineer Backend development patterns, API design, database optimization, and security practices. ## Table of Contents - [Quick Start](#quick-start) - [Tools Overview](#tools-overview) - [API Scaffolder](#1-api-scaffolder) - [Database Migration Tool](#2-database-migration-tool) - [API Load Tester](#3-api-load-tester) - [Backend Development Workflows](#backend-development-workflows) - [API Design Workflow](#api-design-workflow) - [Database Optimization Workflow](#database-optimization-workflow) - [Security Hardening Workflow](#security-hardening-workflow) - [Reference Documentation](#reference-documentation) - [Common Patterns Quick Reference](#common-patterns-quick-reference) --- ## Quick Start ```bash # Generate API routes from OpenAPI spec python scripts/api_scaffolder.py openapi.yaml --framework express --output src/routes/ # Analyze database schema and generate migrations python scripts/database_migration_tool.py --connection postgres://localhost/mydb --analyze # Load test an API endpoint python scripts/api_load_tester.py https://api.example.com/users --concurrency 50 --duration 30 ``` --- ## Tools Overview ### 1. API Scaffolder Generates API route handlers, middleware, and OpenAPI specifications from schema definitions. **Input:** OpenAPI spec (YAML/JSON) or database schema **Output:** Route handlers, validation middleware, TypeScript types **Usage:** ```bash # Generate Express routes from OpenAPI spec python scripts/api_scaffolder.py openapi.yaml --framework express --output src/routes/ # Output: # Generated 12 route handlers in src/routes/ # - GET /users (listUsers) # - POST /users (createUser) # - GET /users/{id} (getUser) # - PUT /users/{id} (updateUser) # - DELETE /users/{id} (deleteUser) # ... # Created validation middleware: src/middleware/validators.ts # Created TypeScript types: src/types/api.ts # Generate from database schema python scripts/api_scaffolder.py --from-db postgres://localhost/mydb --output src/routes/ # Generate OpenAPI spec from existing routes python scripts/api_scaffolder.py src/routes/ --generate-spec --output openapi.yaml ``` **Supported Frameworks:** - Express.js (`--framework express`) - Fastify (`--framework fastify`) - Koa (`--framework koa`) --- ### 2. Database Migration Tool Analyzes database schemas, detects changes, and generates migration files with rollback support. **Input:** Database connection string or schema files **Output:** Migration files, schema diff report, optimization suggestions **Usage:** ```bash # Analyze current schema and suggest optimizations python scripts/database_migration_tool.py --connection postgres://localhost/mydb --analyze # Output: # === Database Analysis Report === # Tables: 24 # Total rows: 1,247,832 # # MISSING INDEXES (5 found): # orders.user_id - 847ms avg query time, ADD INDEX recommended # products.category_id - 234ms avg query time, ADD INDEX recommended # # N+1 QUERY RISKS (3 found): # users -> orders relationship (no eager loading) # # SUGGESTED MIGRATIONS: # 1. Add index on orders(user_id) # 2. Add index on products(category_id) # 3. Add composite index on order_items(order_id, product_id) # Generate migration from schema diff python scripts/database_migration_tool.py --connection postgres://localhost/mydb \ --compare schema/v2.sql --output migrations/ # Output: # Generated