/everything-backend:backend-opsfrom everything-backend
Audits and adds production operability to backends: observability (structured logs, metrics, OpenTelemetry tracing, health endpoints, SLOs, alerting, runbooks), resilience (timeouts, retries, circuit breakers, bulkheads, idempotency keys, outbox), caching, queues, config/secrets handling, and backup/disaster recovery.
Ships in everything-backend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make the service observable, resilient and recoverable. This skill audits what exists, recommends patterns that fit the stack, implements the agreed changes, verifies them, and records the decisions.
backend-deploy).Not for:
backend-deploy.backend-security.backend-debug.backend-migrate.backend-implement (this skill adds cross-cutting ops code such as middleware, clients and config modules)._shared/ inside this skill's folder (bundled installs), then ../_shared/ next to it; other fallbacks are in <shared>/context-loading.md -> Resolving _shared/ Files. A missing shared doc is a warning, not a stop.<shared>/tool-rules.md (mode=auto contract, Production Targets, checkpoints) and <shared>/host-tools.md if the action names below don't match your host's tools. Read <shared>/principles.md -> System and Security, and <shared>/secure-coding.md -> S6, S12, S13, S15, S16 and S17 (outbound calls, TLS, secrets, limits and timeouts, webhooks, logging without secrets). Read <shared>/memory-schema.md -> decisions.md, issues.md and tech-stack.md before writing memory.<shared>/context-loading.md: decisions.md (prior ops choices), tech-stack.md (language, framework, infra), api-patterns.md (hot paths to instrument and cache), project-overview.md (services and source roots), and deployment.md if present (health paths, platform). Load issues.md for audits. If memory is empty or stale, suggest backend-scan; if the user declines, continue from what the codebase shows. For a greenfield design request, work from the user's requirements.<shared>/stacks/, read it.Map the request to one or more areas: observability, resilience, caching, messaging, config/secrets, backup/DR. "Production-ready" means all six.
For each area, learn the constraints that change the answer. Ask once, in one message, only for what memory and code do not show:
Output: the list of areas, the services in scope, and a feature slug for the checkpoint (for example ops-observability). Done when the scope is confirmed or, in mode=auto, stated.
Run the probes for each in-scope area from references/audit-probes.md. Search the source roots from project-overview.md and use per-language patterns for the detected stack only.
references/audit-probes.md.references/observability.md -> Health Endpoints).Output: a findings table. Done when every in-scope area has findings or an explicit "no gaps found" with the probes that ran.
Pick the smallest set of patterns that closes the gaps. Use the decision tables below and the references. Prefer libraries already in the lockfile.
For each choice, note the alternative rejected and why; these become decisions.md entries in Step 6.
Output: a change plan listing files to create or edit, packages to add, and config or runbooks to write. If the user asked for a design only, skip to Step 6 and write the plan as the deliverable.
Follow the mode=auto contract in <shared>/tool-rules.md; do not redefine it here. In practice for this skill:
mode=auto. In mode=interactive, show the plan and diffs first..env* files, secret rotation, IaC apply, changing backup settings on a real account, restores, and anything that touches a non-local target.mode=auto.Start a checkpoint before the first edit: node <shared>/scripts/checkpoint.js start --skill backend-ops --feature <slug>. Record each file you create or edit (checkpoint.js record), snapshot after each step, and close it when done. If Node is unavailable, follow <shared>/tool-rules.md -> Concurrent & Partial Work by hand. If start exits 3, offer resume or restart.
Implement in this order when several areas are in scope: config validation, logging and correlation IDs, health endpoints, timeouts and resilience, metrics and tracing, caching and messaging changes, runbooks. Per-stack code is in references/scaffolding.md.
Output: the edited and created files, recorded in the checkpoint.
Run the checks in references/scaffolding.md -> Verify After Generating, plus the area-specific checks in each reference (resilience fault tests, cache and queue checks, restore drill for backup/DR).
<shared>/tool-rules.md -> Production Targets). Otherwise give the user the exact commands.Done when every change has a passing check or is listed as "not verified" with the reason.
decisions.md one entry per choice (log format, health paths, metrics port, sampling ratio, cache strategy, queue technology, retry policy, RPO/RTO, backup mechanism), using the schema in memory-schema.md.tech-stack.md optional sections ## Observability, ## Caching and ## Messaging with tools now in use. If deployment.md exists, append its optional ## Runbooks and ## Backup and DR sections (links, backup schedule, last tested restore, RPO/RTO); do not create it, backend-deploy owns it.issues.md (secrets masked), with the owner skill in ### Recommendation.docs/runbooks/<topic>.md (alert runbooks, incident-response.md, disaster-recovery.md). Edit existing runbooks in place; keep their drill logs and history.checkpoint.js close --skill backend-ops --feature <slug> --status completed).references/audit-probes.md -> Ops Report Template.Done when memory is updated, the checkpoint is closed and the report lists findings, changes, verification results and open items.
Retry-After.docs/runbooks/disaster-recovery.md exists.Unchecked items go into the report and issues.md.
| Situation | Pattern | Notes |
|---|---|---|
| Any remote call (HTTP, gRPC, DB, cache, broker, SDK) | Timeout plus deadline propagation | callee timeout shorter than caller's; fail fast when the budget is spent |
| Transient failure on an idempotent or safe operation | Retry with exponential backoff and full jitter | 2 to 3 attempts, honor Retry-After, retry budget, one retry layer only |
| Non-idempotent write that clients or workers retry | Idempotency key | unique per caller and key; store response; 409 while in progress |
| Dependency failing or slow repeatedly | Circuit breaker plus fallback | one breaker per dependency; fail closed on auth, payments, inventory |
| One slow dependency starves the rest | Bulkhead (per-dependency pool or semaphore) | size DB pools from server max_connections |
| Traffic above capacity | Load shedding | concurrency limit, drop requests past their deadline, 503/429 with Retry-After |
| DB write and event publish must both happen | Transactional outbox | relay with FOR UPDATE SKIP LOCKED or CDC |
| Messages may arrive twice | Inbox / dedup table or idempotent upsert | at-least-once is the default |
Details, client defaults and libraries: references/resilience.md.
Cache-Control: private or no-store. Hot expensive keys -> single-flight plus TTL jitter.pg_dump against a remote database, and backup-setting changes on a real account are Always Ask First. Never restore over the source.references/config-secrets.md -> Leak response), and rotation asks first.backend-deploy (share the health paths and metrics port from decisions.md).backend-security.backend-debug. Feature code changes (for example idempotency keys inside a handler's business logic) -> backend-implement.backend-migrate writes the migration; this skill specifies the table.backend-doctor.references/audit-probes.md: read in Step 2 for search patterns per area and language, the severity rubric, the finding format and the Ops Report template.references/observability.md: read when the scope includes logging, correlation IDs, metrics, tracing, health endpoints, SLOs, alerting or incident runbooks.references/scaffolding.md: read when generating observability code (Express, NestJS, FastAPI, Django, Go net/http and Gin, Spring Boot, OpenTelemetry bootstrap) and for the post-generation verification steps.references/resilience.md: read when the scope includes outbound calls, timeouts, retries, circuit breakers, bulkheads, load shedding, fallbacks or idempotency keys.references/caching.md: read when adding or reviewing a cache, cache keys, invalidation, stampede protection or HTTP cache headers.references/messaging.md: read when the scope includes queues, background jobs, brokers, streams, DLQs, the outbox or consumer deduplication.references/config-secrets.md: read when the scope includes config loading, environment variables, feature flags, secret managers, rotation or a leaked secret.references/backup-dr.md: read when the scope includes backups, PITR, RPO/RTO, restore drills or the disaster recovery runbook.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codeworksid/everything-backend --plugin everything-backend16 skills in this plugin
/backend-api-designDesigns API contracts before code is written: resources, endpoints, request and response schemas, error format, pagination, versioning and per-endpoint authorization rules. Writes the contract to an OpenAPI spec (docs/api/openapi.yaml by default, or the existing spec) and records conventions in api-patterns.md memory. REST is fully covered; GraphQL schemas and gRPC .proto contracts get basic guidance. Use when the user says 'design the API', 'what endpoints do I need', 'plan routes', 'write an OpenAPI spec', 'Swagger', 'define the API contract', 'design a GraphQL schema', 'write a proto file', 'add an endpoint to the spec', or 'version or deprecate an endpoint'. Not for writing handler code (backend-implement), choosing the login mechanism or auth endpoints (backend-auth), or reviewing API security (backend-security)./backend-architectDesigns backend architecture for new and existing systems, including architecture pattern (monolith, modular monolith, microservices, serverless), tech stack, module boundaries, consistency rules and non-functional targets, then records the result as docs/architecture/overview.md, numbered ADR files in docs/adr/ and project memory. Use when the user says "design the architecture", "plan the backend", "how should I structure this", "what tech stack should I use", "should we split into microservices", "write an ADR", "redesign this system", or is starting a new project or a major feature. Hands diagrams to backend-visualize and detailed schema and API work to backend-db-design and backend-api-design.Other plugins' skills for the same job