- How you use it
- You ask for it
- What it can do
- writes files · network · runs shell
- What's inside
The options
Same job, different trade-offs. Pick one in Try it.
| Option | ASkill · v1.3.1+49dd158.wwfix.2+wwfix.1diagnosing-bugs (Matt Pocock) | BSkill · v3.30.5+wwfix.2ce-debug (Compound Engineering) |
|---|---|---|
| How you use it | You ask for it | You ask for it |
| What it can do | writes files · network · runs shell | writes files |
| What's inside |
- How you use it
- You ask for it
- What it can do
- writes files
- What's inside
What this thread does
As of November 2026, build a check that fails on the actual bug before fixing it, and confirm any forced mutation really landed.
Do first: Run the named reproduction command once; if you mutate a fixture to force failure, inspect its diff against a pristine copy.
The idea
The most useful thing in a debugging session is a command that goes red on this exact bug and green once it is fixed. With it, bisection, hypotheses and logging all become mechanical, and the same check proves the fix. Without it, the agent reads code, forms a theory and patches a symptom. An Oct 14 post pointed at skills that enforce this order.
Option 1: diagnosing-bugs (Matt Pocock)
From mattpocock/skills (MIT). Six phases:
1. Build a feedback loop: a failing test, a curl script, a CLI run diffed against a snapshot, a headless browser script, a replayed trace, a bisection harness, and only as a last resort a script that walks a human through steps. It must be red-capable, deterministic, fast and runnable by the agent, and the agent must have run it once. No loop, no hypotheses. 2. Reproduce and minimise until every remaining part is needed. 3. Rank 3–5 falsifiable hypotheses and show them to you before testing. 4. Instrument one variable at a time with tagged debug logs. 5. Fix with a regression test first, at a seam that reproduces the real pattern. If you force the red result by mutating code or a fixture, compare it with a pristine copy using diff to confirm that the mutation landed before trusting the failure. 6. Clean up tagged logs and throwaway code; record the cause in the commit.
It also tells the agent to redact secrets from anything it shows.
Option 2: ce-debug (Compound Engineering)
From EveryInc/compound-engineering-plugin (MIT). It refuses to propose a fix until it can explain the chain from trigger to symptom, asks for a prediction elsewhere in the code for each uncertain link, and has a fast path for trivial bugs. It can start from a failing test, an issue reference (GitHub, Linear, Jira, Sentry) or a description.
Which one
diagnosing-bugsis a single self-contained file set: easy to read and adapt.ce-debugfits best inside the full Compound Engineering plugin: after a fix it hands off to the plugin's simplify and review skills and, when the pre-fix tree was clean, the branch contains only work you have offered andoriginsupports PRs, commits and opens or updates a PR without asking. Copied alone (below) it still runs the diagnosis.- For writing features test-first, see the Superpowers TDD thread; this one is about bugs.
Caveats (as of October 2026)
- Building a good loop can take longer than the fix for simple bugs; both skills allow a short path, but you may need to say "this one is trivial".
- ce-debug's references include macOS keychain inspection commands for signing problems.
Sources
Matt Pocock’s v1.3.2 release notes (29 October 2026) add the forced-mutation check to Phase 5; the diagnosing-bugs skill (accessed 3 November 2026) includes it. Independent reproduction: AnobleSCM, issue #955 (25 August 2026) shows a BSD sed mutation exiting successfully without changing a file. Separate scope warning: bash99, issue #578 (15 July 2026) reports overly eager triggering on quick questions.
Not for: test-first feature development; see the Superpowers TDD thread, or trivial questions that need a direct answer.
checked 2026-11-03
Started from a post by @RoundtableSpace, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.