Backend
API, data and server engineering: Node, Python, Go, PostgreSQL, Redis, migrations, background jobs and webhooks.
Who it is for
Engineers building APIs and services in Node, Python or Go on top of Postgres and Redis.
What you get
API design, data modelling, query tuning, migrations, caching and observability.
Agents 9
- Backend ArchitectEngineering
Designs backend systems — service boundaries, data ownership, API surface, authentication and authorization model, async processing, consistency and failure handling, scaling and observability. Use for new services, monolith decomposition decisions, or when a backend design needs a defensible plan.
- API EngineerEngineering
Designs and implements HTTP APIs — resource modelling, OpenAPI contracts, validation, error format, pagination, idempotency, versioning, auth, rate limiting and contract tests. Use when adding or changing endpoints, reviewing an API for consistency, or making an API safe to evolve.
- Node.js SpecialistEngineering
Builds and debugs Node.js backends — event-loop health, async patterns, streams, Express/Fastify/NestJS services, ESM/CJS issues, graceful shutdown, memory leaks, worker threads and production hardening. Use for Node service features, performance and reliability problems, or module-system headaches.
- Python SpecialistEngineering
Builds and debugs Python backends — FastAPI, Django and Flask services, async vs sync correctness, SQLAlchemy and Django ORM usage, Pydantic validation, packaging and tooling, typing, pytest suites and performance. Use for Python service features, N+1 and concurrency problems, or modernising a legacy codebase.
- Go SpecialistEngineering
Builds and debugs Go services — idiomatic package design, error handling, context propagation, goroutine and channel correctness, net/http servers, database/sql, testing, race detection and pprof profiling. Use for Go features, concurrency bugs, performance work and code that needs to become more idiomatic.
- PostgreSQL SpecialistEngineering
Designs and fixes PostgreSQL schemas and queries — data types, constraints, indexes, transactions and locking, row-level security, JSONB and full-text search, partitioning, vacuum/bloat, connection pooling and configuration. Use for schema design, Postgres-specific bugs, locking or deadlock issues, and production readiness reviews.
- Database OptimizerEngineering
Finds and fixes slow SQL — reads EXPLAIN plans, identifies N+1 and missing or unused indexes, rewrites queries, tunes pagination and batching, and proves the improvement with before/after measurements. Use when queries, endpoints or reports are slow or the database is the bottleneck.
- Migration SpecialistEngineering
Plans and writes safe database schema and data migrations — expand/contract rollouts, online index and constraint changes, batched backfills, rollback and verification plans, and zero-downtime deploy sequencing. Use before any risky schema change, column rename, type change, large backfill or engine/provider move.
- Redis & Cache SpecialistEngineering
Designs and debugs caching and Redis usage — cache-aside patterns, TTL and invalidation strategy, stampede protection, data-structure choice, rate limiting, locks, queues and streams, eviction and persistence settings, memory and latency troubleshooting. Use when adding a cache, fixing stale or inconsistent data, or when Redis is slow, full or evicting the wrong keys.
Skills 19
- REST API DesignEngineering
Design HTTP/JSON APIs that stay evolvable — resource modelling, method and status semantics, RFC 9457 errors, cursor pagination, idempotency, conditional requests, versioning and OpenAPI contracts.
- Node.js BackendEngineering
Production Node.js/TypeScript services — framework choice, request validation, config, async error handling, event-loop hygiene, graceful shutdown, logging, outbound HTTP timeouts and testing.
- Python BackendEngineering
Production Python web services with FastAPI, Django or Flask — async vs sync decisions, Pydantic v2 validation, SQLAlchemy 2.0 sessions, N+1 control, settings, typing, workers and testing.
- Go BackendEngineering
Production Go services — net/http routing, context propagation, error wrapping, slog logging, server timeouts, graceful shutdown, pgx pooling, concurrency safety with errgroup, and table-driven testing.
- AuthenticationEngineering
Implement and review authentication safely — argon2id/scrypt password hashing, sessions vs tokens, OAuth 2.0/OIDC with PKCE, device-code flow, MFA and passkeys, refresh-token rotation, reset flows and account-enumeration defence.
- AuthorizationEngineering
Design and audit access control — deny-by-default, RBAC vs ABAC vs relationship-based models, object-level checks against IDOR/BOLA, tenant isolation, Postgres row-level security, policy engines and permission testing.
- Rate LimitingEngineering
Design and implement API throttling — algorithm choice (token bucket, GCRA, sliding window), Redis atomic implementations, limit keys and tiers, 429 semantics, proxy-aware client IPs, abuse endpoints and client backoff.
- Background JobsEngineering
Reliable asynchronous work — queue selection, idempotent handlers, retries with backoff and jitter, dead-letter queues, the transactional outbox, scheduled jobs, concurrency control, graceful shutdown and monitoring.
- WebhooksEngineering
Build and consume webhooks safely — HMAC signature verification on raw bodies, replay protection, idempotent receivers, fast-ack processing, signed sending with retry/backoff, secret rotation, ordering, SSRF defence and delivery observability.
- File StorageEngineering
Handle user uploads and object storage safely — direct-to-bucket presigned uploads, multipart, validation and malware scanning, private-by-default access, key design, CDN delivery, lifecycle rules and orphan cleanup.
- Email DeliveryEngineering
Send transactional email reliably — SPF/DKIM/DMARC setup, provider integration, queued sending, bounce and complaint handling, suppression lists, one-click unsubscribe, templates and safe local testing.
- PostgreSQLEngineering
Practical PostgreSQL engineering — data types, constraints, transactions and locking, connection pooling, JSONB, upserts and queue patterns, vacuum and bloat, key settings, observability and safe operations.
- SQL Schema DesignEngineering
Relational schema modelling — normalization, keys, naming, relationship patterns, multi-tenancy, soft delete and history, hierarchies, money and time, JSON trade-offs and a review checklist for new tables.
- SQL Query OptimizationEngineering
Diagnose and speed up slow SQL — measuring with EXPLAIN (ANALYZE, BUFFERS), reading plans, fixing sargability, N+1 and pagination, join and CTE behaviour, statistics, batching and safe verification of improvements.
- Schema MigrationsEngineering
Ship database schema changes with zero downtime — expand/contract, lock-aware PostgreSQL DDL, batched backfills, concurrent index builds, rollout ordering with application deploys, rollback and roll-forward plans, and migration tooling.
- Database IndexingEngineering
Choose, design and maintain indexes — B-tree column order, covering and partial indexes, expression indexes, GIN/GiST/BRIN use cases, foreign-key indexing, write-cost trade-offs, finding unused or missing indexes and safe creation.
- RedisEngineering
Use Redis correctly for caching, sessions, queues, locks and counters — data-structure selection, TTL and eviction policy, cache-aside with stampede protection, atomic operations, persistence, clustering gotchas and security.
- Database BackupsEngineering
Plan and verify database backup and recovery — RPO/RTO targets, logical vs physical vs PITR backups, PostgreSQL and MySQL tooling, encryption, retention, immutability, restore drills and runbooks.
- Data IntegrityEngineering
Keep data correct under concurrency and failure — database constraints, transactions and isolation, optimistic and pessimistic locking, idempotent writes, ledgers, outbox consistency across systems, and detection of drift with reconciliation queries.
Commands 9
- /create-apiEngineering
Add a well-designed API endpoint or resource in the project's own framework: contract first, validated input, authorization, consistent errors, pagination, rate limiting, OpenAPI updates and tests for success, validation and permission failures.
- /create-databaseEngineering
Design and implement a database schema change with the project's own migration tool: constraints, types, indexes for real access paths, safe forward and rollback migrations, data-access code and tests, verified on a disposable database only.
- /create-authEngineering
Add or extend authentication and authorization using the project's existing library or an established provider: secure sessions or tokens, OAuth with PKCE, password reset, rate limiting, deny-by-default access checks and negative-path tests.
- /db-reviewEngineering
Review schema design and data access: keys, constraints, types, normalisation, N+1 and race conditions, transaction boundaries, SQL injection and operations readiness, with severity-ranked findings. Read-only.
- /db-migrateEngineering
Write a safe, reviewable database migration using the project's own migration tool: classify risk, apply expand/contract and online-DDL practices, verify on a disposable local database, and document rollout and rollback.
- /db-optimizeEngineering
Diagnose slow queries or data-access code with real execution plans, find root causes (N+1, unusable indexes, offset pagination, over-fetching), and propose ranked fixes with measurement plans. Does not apply schema changes.
- /db-indexEngineering
Inventory existing indexes, match them to code access patterns, and recommend additions, removals and composite-order fixes with exact DDL, expected plan changes and write-cost tradeoffs. Recommends only; does not apply.
- /db-backup-planEngineering
Design a backup, point-in-time recovery and disaster-recovery plan for the project's databases: requirements, strategy per store, retention, encryption, restore runbook, drills and monitoring. Read-only; plan only.
- /api-securityEngineering
Audit an HTTP, GraphQL or RPC API against the OWASP API Security Top 10 (2023): endpoint inventory, object and function-level authorization, mass assignment, resource limits, SSRF, misconfiguration and webhook handling, with evidence and fixes. Read-only.