/open-skills:debug-taskfrom open-skills
Reproduces and diagnoses a specific software defect, then applies and verifies a repair only when authorized. Use for executable debugging rather than analysis-only explanations.
Ships in open-skills. 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.
Produce evidence about one reported symptom and, when requested, its repair. Diagnosis permits only its actual probe scope; an authorized fix needs no second generic approval. Resolve ambiguity that changes effects, intended behavior or acceptance.
Establish the symptom, expected behavior and basis, environment, evidence, work area and effort bound. Inspect callers and instructions before asking for discoverable facts. Separate allegations from observed failures.
Inspect the actual working candidate, including selected staged and uncommitted edits. Record relevant pre-existing changes and preserve concurrent user work. Before any file write, inspect the leaf and every existing ancestor without following links; refuse redirected or ambiguous targets. Reread current content before applying scoped changes, retaining recoverable preimages.
Inspect commands and effects before running them. Use available runtimes and safe fixtures; stop dependent execution if a prerequisite is absent. A debugging request does not implicitly authorize package installation, live-service changes, production instrumentation, external requests, deployment or destructive cleanup. Keep probes and child processes bounded, observable and cancellable.
Find evidence from an already-run path that distinguishes the exact symptom from expected behavior. Reuse a prior observation only when its candidate, input and environment still match the relevant current state; otherwise rerun a suitable discriminator within scope. If none exists, run the smallest suitable existing test, local fixture command, isolated harness or observed manual path within scope. Record inputs, environment, expected result and actual result. Explain how a substitute scenario relates to the original symptom.
For intermittent behavior, state actual attempts, failures and conditions. No observed failure means reproduction is unresolved; it does not establish a cause or a successful repair. Do not invent reproduction percentages or demand every defect reproduce quickly. For performance, measure a baseline and compare it with the candidate under comparable input, load and environment; distinguish noise from an established change.
Redact secrets and unnecessary personal data from traces, fixtures and reports. Preserve only evidence appropriate to the destination.
Reduce the scenario only while the discriminator still fails. Preserve the original scenario for the final check. Trace relevant producers, consumers and shared state rather than stopping at the first failing caller.
Keep plausible explanations separate from observations. For each useful hypothesis, state what result would support it, what would contradict it and the next discriminating probe. Change one relevant variable at a time when practical; otherwise explain the confounding changes. Instrument only within authorized effects, using the minimum necessary data and a clear disposition for run-owned instrumentation.
Revise hypotheses when observations disagree. Hiding the symptom, a narrow passing test or agreeing explanations is not causal proof.
Diagnosis-only work returns supported findings and proposed next steps without applying a repair. When a fix is authorized, change the supported mechanism within scope. Do not combine unrelated refactors or broaden public behavior to make a test pass. Preserve useful existing coverage.
Verify a regression at an appropriate observable seam using expectations derived independently of the new implementation. Check other affected callers, rerun the original unminimized scenario and run sanctioned project checks. If a missing seam or unavailable environment prevents a check, name precisely what remains untested. A local simulation is not production evidence.
Remove temporary instrumentation only when that disposition is authorized and its current bytes still belong to this run. Preserve changed, uncertain or user-owned artifacts; destructive cleanup follows its own applicable rules.
Stop at the effort bound, unavailable capability, conflicting requirements, or an effect outside scope. Preserve partial work and recovery evidence rather than improvising broader access.
Return the symptom and reproduction status; observations and strongest supported explanation; alternatives still open; actual probes and checks with results; repair status; unrun original/project checks; and exact file/effect inventory, including temporary artifacts left behind. Distinguish confirmed observations, inference and unknowns. Do not claim repaired-and-verified when the decisive scenario remains untested.
This workflow never automatically commits, deploys or publishes. Keep analysis-only investigation and read-only discovery separate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
debugging, bug-reproduction, defect-diagnosis, software-repair
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
/ask-meConstructively interview someone about an idea, task, project or decision so useful work can start. Use when explicitly asked to be interviewed, including “ask me”; ordinary task requests do not start this interview./audit-code-commentsInventory the code comments in a repository, classify each one against the code it sits beside (tautology, stale, excuse, decision, keep, uncertain), then report, prune or strictly migrate them: delete noise, turn excuse comments into issue drafts, move decisions into ADRs, and optionally lock the result with a per-file comment ratchet. Edits go through a real parser with a token guard. Scales from a small module to a large repo with a pilot batch, path stages and budget gates. Trigger on /audit-code-comments, "audit the comments in this repo", "clean up code comments", "move comments to ADRs", "turn TODO comments into issues", "add a comment ratchet". Not for reviewing a diff for bugs (use /cold-review), not for prose in docs (use /prose-audit), not for duplicated constants (use /audit-coupled-constant).
/audit-coupled-constantAudit every site of a constant whose value is duplicated across multiple call sites (retry budgets, timeouts, page sizes, magic numbers, feature flags). The author-maintained `SEE ALSO` trail is documentation, not enforcement — one missed site means the trail lies. Trigger on /audit-coupled-constant, "audit budget consistency", "find all sites of this value", "check coupled invariant", "before raising this constant", or after any edit to a constant that has SEE ALSO cross-references in its comments. Pairs naturally before /cold-review on a "raise the budget" PR. Not for extract-constant refactors that consolidate scattered values into a single named import — use /improve-codebase-architecture. Not for constants enforced by the type system (TypeScript `as const` literal imported everywhere) where the compiler is the audit — skip.Other plugins' skills for the same job