Senior Backend

VerifiedCaution

Guides backend development with Node.js, Go, Python, PostgreSQL, GraphQL, REST APIs. Covers API scaffolding, database optimization, security, and performance tuning.

Sby Skills Guide Bot
DevelopmentIntermediate
7/23/2026
Claude CodeCursorWindsurfCopilotCodex
#backend#api-design#database#security#performance

Recommended for

Automated summary

This skill guides backend development around API design, database optimization, and security implementation.

Strengths

  • Provides concrete checklists for API design and query optimization
  • Ships scripts to scaffold an API, run migrations, and load test endpoints
  • Covers security practices such as parameterized queries, Zod validation, and authorization checks
  • Includes reference docs on REST/GraphQL patterns, indexing, and backend security

Limitations

  • Assumes a specific stack (Node.js, Express, Go, Python, PostgreSQL, GraphQL) and is less relevant outside it
  • The referenced Python scripts must exist in the skill's repository to work
  • Does not cover automated testing or frontend work, which are delegated to other skills
When to use it

Use it when designing an endpoint, fixing an N+1 query, adding authentication, or reviewing backend code.

When not to use it

Avoid it for UI/frontend work, test writing, or changelog generation.

Security analysis

Caution
Quality score85/100

The skill is not malicious and contains no obvious exfiltration, obfuscation, or destructive commands. However, it relies on executing bundled scripts and database migrations through Bash, which carries legitimate but meaningful operational risk and warrants a caution rating.

Findings
  • •Instructs running bundled Python scripts via Bash (`api_scaffolder.py`, `database_migration_tool.py`, `api_load_tester.py`) without showing their contents or safety behavior.
  • •Database migration tool can make state-changing/destructive schema changes if pointed at the wrong database.
  • •Load tester may generate network traffic against APIs; users should confirm target authorization.
  • •Uses Bash, Write, and WebSearch, which are powerful but appropriate for backend development workflows.
How this analysis is made

Examples

Design a REST endpoint
Design a REST endpoint for creating orders in my Express API, with Zod validation, auth middleware, and an ownership check.
Fix a slow query
My PostgreSQL endpoint is slow and I suspect an N+1 query in the ORM include — help me fix it and add the right indexes.
Add rate limiting and auth
Add rate limiting and JWT authentication to my Go backend service and review the security of my existing routes.

name: senior-backend description: "Guides backend system development with Node.js, Express, Go, Python, PostgreSQL, GraphQL, and REST APIs. Use when the user says: 'design an API', 'optimize database queries', 'implement authentication', 'set up backend', 'create API endpoint', 'database migration', 'fix N+1 query', 'add rate limiting', 'backend code review'. Covers API scaffolding, database optimization, security implementation, and performance tuning. Do NOT use for frontend/UI work (use senior-fullstack), test writing (use tdd-workflow), or changelog generation." allowed-tools: [Read, Edit, Write, Bash, Grep, Glob, WebSearch]

Senior Backend

Guide backend development with focus on API design, database optimization, and security.

Core Workflow

1. Scaffold an API

Generate API boilerplate with best practices:

python scripts/api_scaffolder.py <project-path> [options]

2. Manage Database Migrations

Run the migration tool for schema changes:

python scripts/database_migration_tool.py <target-path> [--verbose]

3. Load Test APIs

Verify performance under load:

python scripts/api_load_tester.py [--analyze]

Reference Documentation

Consult before implementing:

  • references/api_design_patterns.md -- REST/GraphQL patterns, versioning, error responses
  • references/database_optimization_guide.md -- indexing, N+1 prevention, query tuning
  • references/backend_security_practices.md -- auth, CORS, rate limiting, injection prevention

Key Principles

  • Parameterized queries: Never concatenate user input into SQL
  • Input validation: Use Zod schemas for all API request bodies
  • Error responses: Return consistent error format with status code, message, and error code
  • Auth checks: Verify user ownership on every data access (WHERE userId = ?)
  • Idempotency: Design mutations to be safely retryable (especially webhooks)

API Design Checklist

  1. Define Zod schema for request/response
  2. Implement route handler with proper HTTP methods
  3. Add authentication middleware
  4. Add authorization check (ownership/role)
  5. Validate input, execute logic, return typed response
  6. Add error handling with appropriate status codes
  7. Write integration test

Database Optimization Checklist

  • Add indexes for frequently queried columns
  • Use SELECT only needed columns (avoid SELECT *)
  • Prevent N+1 with eager loading (include/join)
  • Use connection pooling in production
  • Add EXPLAIN ANALYZE for slow queries

Error Handling

  • If migration fails: check database connection string and run npx prisma migrate status
  • If load test shows high latency: check references/database_optimization_guide.md for indexing strategies
  • If API scaffolder errors: verify Python 3.8+ and required templates exist in scripts/
  • If auth fails: verify JWT_SECRET is set and token expiry is configured
  • Always validate webhook signatures before processing payloads

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/senior-backend-mrx3xxm2/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/senior-backend-mrx3xxm2' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/senior-backend-mrx3xxm2/download' --output '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md.part' && mv '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md.part' '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && test -s '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/senior-backend' && cp -R '.skill-downloads/senior-backend-mrx3xxm2' '.claude/skills/senior-backend'

Cursor
test -f '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && test -s '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/senior-backend' && cp -R '.skill-downloads/senior-backend-mrx3xxm2' '.cursor/skills/senior-backend'

Codex
test -f '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && test -s '.skill-downloads/senior-backend-mrx3xxm2/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/senior-backend' && cp -R '.skill-downloads/senior-backend-mrx3xxm2' '.agents/skills/senior-backend'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/senior-backend-mrx3xxm2'

openskills read 'senior-backend-mrx3xxm2'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/senior-backend-mrx3xxm2/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills