/enterprise-software-playbook:specfrom enterprise-software-playbook
Write and maintain spec-first artifacts including service specs, API contracts (OpenAPI/protobuf/WebSocket), ADRs, task lists, and quickstarts. Use for spec-driven development before major changes or multi-agent collaboration.
Ships in enterprise-software-playbook. 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.
Read when SKILL.md points to them.
Create a stable “source of truth” for agents and humans: write specs with testable acceptance criteria and keep them aligned with implementation.
This skill treats specs as operational tooling: they prevent scope drift, enforce invariants, and make AI iteration converge.
Use one (or both) of these:
specs/*.md for cross-service rules and shared constraints (auth, observability, eventing, product scope).specs/decisions/*.md for significant choices (trade-offs, migrations, taxonomy, compatibility).apps/<service>/spec/ for service-local truth:
spec.md: requirements and acceptance scenarioscontracts/: OpenAPI/proto/WS message contractsdata-model.md: domain entities + storage boundariesplan.md: phases and wiring/structuretasks.md: checklist-style backlog with acceptance criteriaquickstart.md: how to run/verify the service in devspecs/NNN-<topic>.md).specs/decisions/NNN-<topic>.md).apps/<service>/spec/).contracts/: OpenAPI/proto/WS docs) in the spec bundle.tasks.md in the spec bundle (or specs/tasks.md for repo-level backlog).Inputs: Plan output — objective function, scope (optional); archobs JSON — cluster boundaries, risk scores; forecast lifecycle data (if pinning external dependency contract).
Outputs: Spec artifacts (service spec, API contracts, ADRs, task lists). Consumed by testing (acceptance scenarios as test sources), plan (task breakdown), finish (intent artifact check).
Load archobs data (before spec writing begins):
archobs show clusters --format json
archobs show risks --format json
Use in spec writing:
cohesion > 0.60, flag the conflict — the spec is fighting natural structure.risk > 0.5 in the spec's scope warrant stricter acceptance criteria and testing requirements.leakage > 0.20 that the spec touches may need explicit boundary contracts (interface types, Facade).If archobs artifacts are missing: run archobs report or note as a gap. Do not block spec writing on archobs — the spec can be amended when data becomes available.
0b. Versioning guidance from forecast (conditional — run when the spec pins an external dependency contract such as an API version, SDK, or protocol):
intel forecast # lifecycle phase for the dependency
Decision mapping: See Lifecycle Decision Mapping — Spec: Versioning Strategy for lifecycle phase → versioning strategy table.
workflow orchestration), refine it instead of re-running.When context or time is constrained, these are the load-bearing steps:
Steps that can be cut under pressure: system sketch (step 3), NFRs (step 6), decision table (step 7), measurement ladder (step 9).
spec.md where agents can find them.references/templates.mdreferences/checklists.md../references/ (checklists for inline probes, templates for escalation)architecturedesigntypescripttestingWhen using this skill, return:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spec-first, contracts, acceptance-criteria, decision-records, openapi, adr
17 skills in this plugin
/architectureDesign or refactor multi-service system architecture (domain boundaries, service decomposition, event-driven vs request/response, CQRS, sagas, API gateways, data ownership). Use when work spans multiple processes/services, needs eventual consistency, or requires clearer integration seams. NOT for in-process code structure like GoF patterns (use design); NOT for applying timeouts/retries/breakers to a single call (use resilience)./archobsRun architecture observability analysis on a git repository to measure coupling, boundary health, risk hotspots, and temporal drift. Use when you need empirical data about code structure before making architecture or refactoring decisions, or to validate that changes improved boundary discipline. NOT for choosing architecture patterns (use architecture); NOT for choosing code patterns (use design); NOT for adversarial code review (use review); NOT for trajectory prediction or trend forecasting from cluster activity (use forecast)./debugTriage and diagnose production or local issues by following logs → traces → metrics (HTTP/gRPC/async). Use when investigating errors, latency spikes, 5xx responses, SLO violations, or regressions in an instrumented app. NOT for adding new instrumentation (use observability); NOT for applying resilience patterns (use resilience)./designPick the right in-process code pattern for a refactoring or extensibility need (GoF creational/structural/behavioral), and access implementation guides for specific patterns. Use as a decision workflow when unsure which pattern family fits, or go directly to pattern references when you already know. NOT for multi-service/distributed architecture (use architecture)./finishRun a final "definition of done" check before shipping: verify correctness, tighten contracts/docs, and produce a change summary. Use at the end of non-trivial work to confirm nothing was missed before merge/release. NOT for writing tests (use testing); NOT for adversarial code review (use review); NOT for initial planning (use plan)./forecastPredict likely next developments from internal development patterns (git history, archobs clusters) and external signals (intel feeds). Use when you need forward-looking intelligence — what's GOING to happen, not what already happened. NOT for gathering raw signals (use intel); NOT for static code-structure analysis (coupling, boundary health, risk scores — use archobs); NOT for implementation planning (use plan).npx claudepluginhub bricerising/enterprise-software-playbook --plugin enterprise-software-playbook