/agentic:agentic-debug <bug report | file | ticket key | URL | slug>from agentic
Fix a bug end to end (diagnose the root cause, regression test first, implement, review, babysit PR, cleanup).
Ships in agentic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Playbook. Diagnose first, then fix through the regular flow with a failing regression test as the first task.
Call the Skill tool with "agentic-use-workflow" (no Skill tool → open its SKILL.md and follow it), then run Start from its references/playbook.md, workflow debug.
No workspace yet → ask where to build, per agentic-use-workflow (worktree recommended, branch fix/{slug}), and set the workspace up now, untracked-file question included. Done when workspace is in state.json; log step start completed.
Call the Skill tool with "diagnosing-bugs", working in workspace.path. Run Phases 1–4. From Phase 5 (Fix + regression test) apply only the correct-seam judgement; from Phase 6 (Cleanup) only removing the [DEBUG-…] instrumentation (grep the prefix). The regression test and the fix run through the plan below.
Loop scripts, harnesses, fixtures and captured artifacts go in {work}/debug/. A loop file that must sit in the tree (a test) → copy it to {work}/debug/, then remove it from workspace.path: T1 rebuilds it.
Write diagnosis.md in the work item: symptom, the red loop (command, with its {work}/debug/ paths), minimal repro, root cause with file:line evidence, hypotheses ruled out, the seam for the regression test (or the finding that no correct seam exists). Done when the user confirms the root cause, git status --porcelain in workspace.path lists no file the diagnosis added or changed, and diagnosis.md is logged as an artifact event.
No correct seam in diagnosis.md → judge it again on the current code first (a resume may follow a deepening). Still none → ask: test at the closest seam with the gap noted in plan.md, or stop with the resume command and deepen the module first (codebase-design). Log the answer as choice seam.{run}. Closest → write that seam and its gap into diagnosis.md.
Call the Skill tool with "agentic-to-plan" and take its light branch, bug rules, passing the gap when there is one. Done when plan.md is approved. That was the last gate.
Run the autonomous tail (agentic-use-workflow references/playbook.md); merge-ready extras: the root cause from diagnosis.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
40 skills in this plugin
/agentic-babysit-prGet a work item's PR merge-ready and watch it until it merges: push, open or reuse the PR, fix CI and comments in a loop. Use to open a PR, get it green, handle feedback, or watch it to merge./agentic-change-featureChange an existing feature's behaviour, from request to merged PR; `light` for a small change./agentic-clean-architectureUse when writing or modifying backend code that has business logic — services, domain models, use cases, APIs with validation/calculations/state transitions. Default for any non-trivial backend work./agentic-cleanupClean up after a merged PR. Removes the work item's worktree and branches, updates the default branch, archives the work-item folder. Use when a PR has merged, or with --all to sweep stale worktrees and branches./agentic-code-testingTesting rules (layers, test doubles, flakiness, naming, coverage). Use when writing or reviewing tests, or fixing a flaky one./agentic-configureSet up agentic: write the config (models per step, reviewers, folders, profiles, limits).npx claudepluginhub johannwilfridcalixte/agent-skills --plugin agentic