Skip to content
Development
Skill

/cad-debug

Systematic debugging - hypothesis and symptom tracked in a state file that survives /clear, with a user-gated second-model consult at dead ends

From plugin
cadence
834 skills30 agents3 hooks

Claude Code

$ npx -y skills add crenshawdev/cadence --skill cad-debug --agent claude-code

SKILL.md

cad-debug.SKILL.md
name: cad-debug
description: "Systematic debugging - hypothesis and symptom tracked in a state file that survives /clear, with a user-gated second-model consult at dead ends"
argument-hint: "[list | status <slug> | continue <slug> | --diagnose] [symptom]"
allowed-tools:
  - Read
  - Write
  - Edit
  - Grep
  - Glob
  - AskUserQuestion
  - Workflow
  - Workflow(cadence:review-panel)

<objective> Debug a symptom by the scientific method - form hypotheses, run the cheapest discriminating test for each, confirm a root cause, fix it, verify the symptom is gone. The investigation is persisted to `.planning/debug/<slug>.md` after every step, so a `/clear` or a new session resumes it losslessly. At a genuine dead-end (repeated failed fixes, exhausted hypotheses), OFFER a second-model consult (references/consult.md) - user-gated, decision-support only.

Routing: parse `$ARGUMENTS` per the workflow's Route table (debug.md) - `list`, `status <slug>`, `continue <slug>`, `--diagnose`, else a new symptom. The table lives in the workflow, once. </objective>

<execution_context> @${CLAUDE_PLUGIN_ROOT}/cadence-core/workflows/debug.md </execution_context>

<process> Route on `$ARGUMENTS`, then run the debug workflow single-pass end-to-end. Persist the state file after every hypothesis test and fix attempt. Never auto-loop fixes and never auto-consult - both are deliberate, and the consult is always user-gated. </process>

Read more
@crenshawdev
Ships withcadence

Appearance is cheap. Verification is the work. Cadence is for developers using Claude Code on software they will still own after the session ends. Claude can write a convincing plan, produce working code, and tell you the job is finished.

834 skills30 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of crenshawdev/cadence on GitHub, a chart by star-history.com

Other skills on cadence.

cad-adopt

cad-adopt

Initialize .planning/ from a repo that already exists - PROJECT.md, REQUIREMENTS.md and a remaining-work ROADMAP.md derived from…

@crenshawdev@crenshawdevInstall Skill
cad-audit

cad-audit

Pre-ship traceability audit - every requirement traced to a phase, plan and verification, orphan detection both directions, a…

@crenshawdev@crenshawdevInstall Skill
cad-capture

cad-capture

Capture a phase-linked todo, a seed idea for a future milestone, or a note, without losing your place - .planning/CAPTURE.md, or…

@crenshawdev@crenshawdevInstall Skill
cad-config

cad-config

Configure Cadence's config.json - workflow toggles, the per-role model and effort interview, and interactive cross-model review…

@crenshawdev@crenshawdevInstall Skill
cad-context

cad-context

Gather phase context before planning - codebase assumptions, locked decisions, falsifiable acceptance criteria - in one pass

@crenshawdev@crenshawdevInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about cad-debug.

Which coding agents can use cad-debug?
cad-debug installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.