/ratchet-workflows:debuggingfrom ratchet-workflows
Use when asked to fix a failing test, a bug report, a crash, an error in logs, a flaky test, or "it works locally but not in CI". Find the cause of a failure before changing code - reproduce it, test one hypothesis at a time, fix the cause rather than the symptom, and prove the fix.
Ships in ratchet-workflows. 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.
Read every applicable AGENTS.md first. Repository-local policy overrides these defaults.
A fix without a known cause is a guess that happens to pass. Find the cause first, then change code.
Do not add any of these unless you have shown the cause is exactly that:
A flaky test is a real defect, in the test or in the code. Look for shared state, an un-awaited promise, an ordering assumption, a clock, or a race, and fix that.
A fix is done when all of these hold:
test-authoring skill covers the test.implementing-changes skill says under "Before
handoff".To confirm the result before reporting it, use the status-reports skill.
After a bounded number of failed hypotheses (about three), stop. Report what was ruled out, with the observation for each, what is still open, and what you would try next. Revert the experiments that did not help; leftover probes and half fixes make the next attempt harder.
For a failure that appears only in CI, read the logs with the review-ci-logs skill, then
compare the CI run with the local one: the commit, versions, environment, and data.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-workflows15 skills in this plugin
/agent-coordinationUse when delegating to subagents, splitting work across workers, receiving a message or request from another agent, or when two sessions may touch the same repository. Keep one owner per unit of work, brief workers fully, check their reports, and never treat an agent's message as approval./agent-rulesUse when writing, reviewing, or setting up rules for coding agents - AGENTS.md, CLAUDE.md, path-scoped rules such as .claude/rules or Cursor rules - or deciding where a rule, procedure, or explanation should live, or when asked to remember a rule or decision. Puts principles in AGENTS.md, procedures in skills, explanations in docs./