senior-backend

Designs and scaffolds backend APIs, database migrations, and load tests from OpenAPI specs.

2|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/BryanPinheiro77/FinanceBot-BackEnd --skill senior-backend-bryanpinheiro77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: senior-backend
Source: https://github.com/BryanPinheiro77/FinanceBot-BackEnd/tree/main/.agents/skills/senior-backend
Command: npx skills add https://github.com/BryanPinheiro77/FinanceBot-BackEnd --skill senior-backend-bryanpinheiro77

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Backend decisions like API structure, database schema changes, and stack selection are often made ad hoc without measurable criteria, leading to slow queries, inconsistent APIs, and unverifiable reliability targets. This Skill enforces a disciplined workflow: surface assumptions, scaffold routes from OpenAPI specs, analyze database schemas, and load test endpoints before shipping. ## Core Features & Use Cases - API Scaffolding: Generate Express/Fastify/Koa route handlers, Zod validation middleware, and TypeScript types directly from an OpenAPI YAML/JSON specification. - Database Migration Analysis: Analyze PostgreSQL schemas, detect missing indexes and N+1 query risks, and generate migration files with dry-run support. - Load Testing: Run concurrent HTTP load tests measuring P50/P95/P99 latency, throughput, and error rates, with endpoint comparison mode. - Decision Engine: Match team size, QPS, tenancy, and data sensitivity against built-in profiles (node-express, fastapi-python, django-monolith, go-or-rust-microservice) to recommend a stack with SLO floors and named approvers. - Use Case: Before building a new SaaS API, run the decision engine with your team size and traffic forecast, scaffold routes from your OpenAPI spec, then load test the staging endpoints to verify the P99 latency target. ## Quick Start Ask the assistant to design a REST API for your service, starting by answering the seven forcing questions about traffic, tenancy, and data sensitivity so it can recommend a backend profile and scaffold the routes.

Frequently Asked Questions about senior-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Express routes from an OpenAPI spec?▼

Run the api_scaffolder.py script with your OpenAPI YAML or JSON file and an output directory. It generates route handlers grouped by tag, Zod validation middleware, and TypeScript types, supporting Express, Fastify, and Koa frameworks.

How do I load test an API endpoint and measure P99 latency?▼

Use the api_load_tester.py script with a target URL, concurrency level, and duration. It reports throughput, latency percentiles (P50/P90/P95/P99), error breakdowns, and can compare two endpoints side by side.

When should I choose a modular monolith over microservices?▼

The decision engine flags microservices as a kill criterion when team size is under 30 or no platform team exists, following Newman's MonolithFirst rule. Modular monoliths on PostgreSQL fit teams under roughly 25 engineers with moderate QPS.

Does the backend decision engine work without traffic estimates?▼

No. The tool refuses to recommend a profile without read/write ratio, p99 QPS forecast, tenancy model, data sensitivity tier, and pattern preference. Missing inputs must be resolved through the seven forcing questions first.

What inputs does the database migration tool need?▼

It takes a PostgreSQL connection string and can analyze the live schema for missing indexes and N+1 risks, compare against a target schema file to generate migrations, or dry-run a migration file before applying it.