Skip to content
Development
Skill

/yolo-debug

Use when a reported problem, failure, or bug needs a systematic root-cause investigation — reproduce → isolate → fix → verify — recorded as one durable artifact. Triggers on "fix the 500 on login", "X is broken", "why is Y failing?", "debug this", "track down this bug".

From plugin
yolo
911 skills1 command
Install
$ npx -y skills add CoriChui/yolo --skill yolo-debug --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/yolo-debug

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a reported problem, failure, or bug needs a systematic root-cause investigation — reproduce → isolate → fix → verify — recorded as one durable artifact. Triggers on "fix the 500 on login", "X is broken", "why is Y failing?", "debug this", "track down this bug".

SKILL.md

yolo-debug.SKILL.md
name: yolo-debug
description: Use when a reported problem, failure, or bug needs a systematic root-cause investigation — reproduce → isolate → fix → verify — recorded as one durable artifact. Triggers on "fix the 500 on login", "X is broken", "why is Y failing?", "debug this", "track down this bug".

yolo-debug

Find the *true cause* of a failure and fix it with evidence — not by guessing. A stateless investigation act: it produces ONE debug record plus the fix, and stores no session state.

Inputs

A bug report or failing behaviour. Derive a kebab-case `slug` for the record filename — there is **no brief** (a debug is not a feature). Run on the **current branch** (see `.claude/yolo/conventions.md` — a debug record never touches status derivation). If the work turns out to add new capability rather than restore intended behaviour, **hand off to `yolo-feature`**.

Procedure

Work the arc in order; each step's output feeds the record. 1. **Reproduce** — get a deterministic repro (a failing test, a command, exact steps). No repro → no confirmed bug yet; say so rather than guessing. 2. **Hypothesize** — list candidate causes; rank by likelihood and cost-to-check. 3. **Isolate** — trace to the true cause with a concrete **evidence chain** (`file:line` → observed value → why it's wrong). Bisect or instrument as needed. 4. **Fix** — make the **minimal** change that addresses the root cause, not the symptom. Note the over-scope traps you avoided. 5. **Verify** — the failing reproducer now passes, the symptom is gone, and the wider suite stays green.

**The Iron Law:** no root-cause claim without a `file:line` evidence chain; no fix without a failing reproducer that the fix flips to green; never patch the symptom while the cause stands. Failing-test-first is the default — if a bug is genuinely not unit-testable (config, perf, flake, environment), record *why* in the artifact and substitute the strongest available evidence (a before/after command, a metric, a log excerpt).

Discipline (the traps that end investigations early)

  • "It's probably X" without checking is a guess, not a cause — confirm before you fix.
  • The first plausible cause is not always the cause — confirm it explains the symptom *fully*.
  • A green fix with no reproducer proves nothing — you may have moved the bug, not killed it.
  • Red flags to stop and re-examine: the fix touches unrelated files; the bug "can't be reproduced but is fixed"; the explanation needs a "this should never happen".

Output

Write exactly ONE artifact — `workspace/debug/<YYYY-MM-DD>-<slug>.md` (`mkdir -p` its dir) — with: symptom + reproducer, the evidence chain (`file:line`), a one-sentence root cause + confidence, the fix (files, the minimal change, over-scope avoided), and verification evidence. Commit the record `yolo: debug <slug>`; the fix lands as ordinary descriptive commit(s) on the current branch.

Constraints

  • Cite `.claude/yolo/conventions.md` for the commit form and the standalone-record rules; do

not restate trailer strings. A debug record carries no trailer, no brief, no tracked state.

  • Stateless: no persistent session or run-state files — the committed record plus the fix

commit are the entire trail.

  • Hand off to `yolo-feature` the moment the work becomes new capability rather than a fix.
Read more
Ships withyolo

Reasoning-first development for Claude Code. Git is the source of truth; status is derived, never stored. YOLO turns "I want X" into a planned, executed, verified, and landed change, driven by conversation and git rather than tracked status files.

Get the whole plugin
Stats
9
Stars
0
Forks
Maintained
Maintenance
MIT
License
2mo ago
Last commit
7mo ago
Created

Repo: CoriChui/yolo

Other skills on yolo.

yolo-feature
Skill

yolo-feature

Use when the user wants to build, add, or implement a feature. Captures intent, drafts a brief, confirms, then composes research → plan → execute → verify →…

@corichui@corichuiView Skill
yolo-finish
Skill

yolo-finish

Use when a feature is implemented and verified, to land it. Default path is PR + CI check, with the ship gate confirming before the irreversible merge;…

@corichui@corichuiView Skill
yolo-init
Skill

yolo-init

Use when setting up YOLO in a project for the first time, or repairing the setup. Scaffolds workspace/config.yaml and the features/, decisions/, and debug/…

@corichui@corichuiView Skill
yolo-intake
Skill

yolo-intake

Use when a feature should draw on the project's reference material for context. yolo-intake does NOT fetch, import, or copy anything — it points YOLO at a…

@corichui@corichuiView Skill
yolo-plan
Skill

yolo-plan

Use when you have a goal or brief and need to break it into executable, testable tasks. Produces a committed plan.md. Triggers on "make a plan", "break this…

@corichui@corichuiView Skill