/sdlc:bandsfrom sdlc
Wires production metrics into a closed-loop feedback system with deterministic control bands. Detects breaches via arithmetic thresholds, invokes Claude at escalating tiers (log, diagnose, act), and routes output as structured intents.
Ships in sdlc. Installing the plugin adds it to Claude Code.
Production signal becomes a new intent instead of a ticket someone notices on Monday. Detection stays deterministic; the model is only invoked once a band is breached.
Start with a single metric that already exists and already matters: CI failure rate, crash-free sessions, p95 latency, error rate. One metric wired end to end beats five half-wired.
Ask where it can be read from without new infrastructure — CI API, Crashlytics, an existing dashboard's API, a log query.
Write sdlc/bands.yaml from ${CLAUDE_PLUGIN_ROOT}/templates/bands.yaml:
1σ → log only2σ → invoke Claude read-only to diagnose (Read, Grep, and specific read-only Bash queries)3σ → Claude may act, and only through pre-approved routes: open a pull request, or run a named runbookDetection is arithmetic — mean and standard deviation, or Western Electric rules. Keep it in the watcher script, out of the model.
A small script that reads the metric, compares against the baseline, and on breach invokes claude -p with the tier's tool restrictions. It runs on a schedule (cron, or a CI schedule). No production credentials; read-only tokens only.
At tier 2 the diagnosis is written as sdlc/intent/<slug>.md in the stage 1 format — that is the loop closing. The user triages it like any other intent: small fixes go straight to /sdlc:plan, larger ones get a spec first.
At tier 3, action is bounded to a PR or a named runbook. Nothing merges or deploys without a human. Rehearse the rollback path before it is needed.
When a fix ships, add an eval case for that incident class (/sdlc:evals). Repeat incidents of the same class are the metric that says whether this stage is working.
What the command file sets; muted values are Claude Code's defaults
production-monitoring, incident-response, observability, runbooks, sdlc
7-day visitors to each command page
8 commands in this plugin
/evalsStage 4B — Continuous evals for agent configurationBuild a regression suite for the repo's agent configuration - CLAUDE.md, skills, and hooks - and run it in CI./initInitialize the SDLC loopScaffold the SDLC artifact chain in this repo - sdlc/ directories, REVIEW.md, and CLAUDE.md sections./intentStage 1 — Capture as intentCapture an idea, feature, or bug as sdlc/intent/<slug>.md - the proto-spec that starts the loop./planStage 3 — Nothing implemented without an accepted planProduce sdlc/plan/<slug>.md from an accepted spec - nothing gets implemented without an accepted plan./reviewStage 5 — Review the same way every timeDefine review policy in REVIEW.md and run it against the current change - stage 5 of the SDLC loop./specStage 2 — Requirements and design collapse into one sessionTurn an accepted intent into sdlc/spec/<slug>.md - requirements and design in one pass, with concerns flagged.npx claudepluginhub artemnovichkov/skills --plugin sdlcOther plugins' commands for the same job