/enterprise-software-playbook:debugfrom enterprise-software-playbook
Triages production/local issues by following logs → traces → metrics. Use when investigating errors, latency spikes, 5xx responses, or regressions in instrumented apps. Does not add instrumentation.
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.
This skill is for debugging with existing telemetry. It does not focus on adding instrumentation (use observability when telemetry gaps block triage).
Goal: turn “something is broken/slow” into:
Inputs: Symptom description (what's failing/slow); access to logs, traces, and metrics; environment and time window.
Outputs: Root cause diagnosis with evidence, mitigation action, fix plan, learning capture. Feeds follow-ups to observability, resilience, platform, or architecture.
Capture:
local/dev/staging/prod) and time window (start/end).traceId, requestId, spanIdop (route template / RPC method / job name / message type)Copy/paste helpers live in references/commands.md.
If you have a traceId, use it.
op).service A is timing out calling service B method X”Y is slow / missing index / deadlocked”T (poison message)”If you cannot find/interpret traces, fall back to logs + metrics and consider adding missing telemetry via observability.
Use metrics to answer:
Start with RED for the boundary (HTTP route / gRPC method / consumer group).
GATE: Failure propagation (step 4) must be mapped before deciding mitigate vs investigate. If you don't know what breaks next, you can't assess the urgency of mitigation.
If impact is high and evidence points to a recent change:
If impact is moderate or unclear:
If you found a systemic gap, capture it:
observabilityresilienceplatformarchitectureWhen context or time is constrained, these are the load-bearing steps:
Steps that can be cut under pressure: detailed metric blast-radius analysis (step 3 depth), organizational cascade mapping (step 4 breadth).
references/commands.mdreferences/scenarios.md../references/structured-thinking-templates.mdobservabilityWhen using this skill, return:
../references/structured-thinking-templates.md — Retrospective / Postmortem).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
incident-response, triage, logs, tracing, metrics, production-debugging
Other plugins' skills for the same job
npx claudepluginhub bricerising/enterprise-software-playbook --plugin enterprise-software-playbook17 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)./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)./intelGather and shape intelligence signals from collected feeds (RSS, HackerNews, EDGAR) into audience-aware output. Use when you need current context on a technology, industry trend, or domain — or when you need to present signals to a specific audience. NOT for forward-looking predictions (use forecast); NOT for architecture analysis (use archobs); NOT for writing specs (use spec).