Skip to content

Diagnosis-first debugging loop that finds root causes with file evidence before any test-first fix.

CCM score
64 of 100
skills.sh installs
3.8K
GitHub stars
26.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers triage, reproduction, backward tracing, hypothesis testing, root-cause confirmation, fix, and handoff across five ordered phases
  • Includes references/investigate.md, references/fix.md, references/pipeline-mode.md, and references/return-to-caller.md for detailed steps and non-interactive modes
  • Enforces a causal-chain gate, one hypothesis at a time, and escalation after 3 failed fixes rather than repeated attempts
  • Designed for bugs, stack traces, regressions, failed tests, and issue-tracker tickets where the cause is not yet known

Install

$ npx -y skills add everyinc/compound-engineering-plugin --skill ce-debug -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Debug and Fix

Find the root cause of a failure, then — when the user chooses to — fix it with test-first discipline.

Done when: the causal chain from trigger to symptom is stated with no gaps and file:line evidence, and either a verified fix has been handed off (PR, commit, or the user's chosen stop) or a diagnosis-only summary has been delivered. Escalate rather than persist: 2-3 hypotheses exhausted without confirmation, or 3 failed fix attempts, means diagnose why instead of trying again — that is the smart escalation references/investigate.md describes. One hypothesis, one change at a time; changing several to see what helps is shotgun debugging.

<bug_description> is whatever this skill was invoked with — a failure description, a mode: token, or an issue reference (#123, org/repo#123, an issue URL) — from the user or from a calling skill (ce-babysit-pr / lfg in mode:pipeline pass the failing jobs and log tails; lfg's defect route passes mode:return-to-caller and the user's own reference). Blank if nothing was provided.

Mode

Default is interactive: investigate, run the Phase 2 fix-choice gate, then the Phase 4 handoff.

Details

Repository
github.com/everyinc/compound-engineering-plugin
Categories
Debugging, Testing & QA
First seen
Jun 3, 2026

More from everyinc/compound-engineering-plugin

All 32

Similar to Ce Debug

More Debugging