No slash command · from Compound
Build a known behaviour or fix a reproducible bug test-first, red-green-refactor. Use when the expected behaviour is already clear enough to write down as a test.
Ships in Compound. 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.
Red, green, refactor — one vertical slice at a time. A slice is thin end to end: one behaviour, proven by one failing test, made to pass by the smallest change that could work.
Reach for this when the behaviour is already known. When nobody has said what "done"
looks like yet, verify-first establishes that first, then hands over here.
Write one test for one behaviour. Run it. Watch it fail, and read the failure — it must fail because the behaviour is missing, not because the test is broken.
A test that has never been seen failing is not evidence of anything. This is the step that gets skipped, and skipping it is how suites full of tests that assert nothing get built.
Completion criterion: the test ran, failed, and the message names the missing behaviour.
Write the smallest change that makes it pass. Not the general solution — the specific one. Generality earned across three slices is better designed than generality guessed at during the first.
Run the whole suite, not just the new test. A green new test beside a red old one is a regression, not progress.
Completion criterion: the full suite passes.
Now that the tests hold the behaviour still, improve the shape — naming, duplication, the seam the code sits behind. Run the suite after each change.
Refactor only what this slice touched. Improving code the slice never went near is scope creep with a respectable name.
Completion criterion: the suite still passes, and the diff is confined to this slice's surface.
Then take the next slice.
rejects an expired refresh token, not test auth 3.A bug fix is the same loop with the red step handed to you:
diagnosing first and come back with a mechanism.Once the root cause is understood, it is worth filing — the capture skill puts it in
the wiki so the next person meets the explanation instead of the bug.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mthanhlm/compound --plugin compound12 skills in this plugin
/captureFile a decision, root cause, or discovery into the repo wiki. Use once something has been settled, diagnosed, or learned that the next session would want./diagnosingFind the cause of a bug that resists — intermittent, mysterious, or a regression between two known-good states. Use when it is not yet clear why something breaks; once the cause is known and reproducible, tdd writes the test./goStart a piece of work properly — interview the user one question at a time until its shape is settled, before anything gets built. Use when a request could reasonably be built several different ways, or when asked to clarify, pin down, or grill out what is actually wanted.Other plugins' skills for the same job