/hyperflow:tracefrom hyperflow
Performs systematic root-cause analysis for bugs, test failures, runtime errors, unexpected behavior, and broken builds. Guides step-by-step from reproduction to verified fix with thinking-tier review.
Ships in hyperflow. 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.
Root cause, not symptom. Never patch over a bug without understanding why it happened.
Dispatcher and reviewer — Opus 4.7 (thinking-tier). Implementer/Searcher/Writer — Sonnet 4.6.
Every substantive step dispatches at least one Agent.
| Step | Worker tier | Thinking tier | Notes |
|---|---|---|---|
| 1 — Reproduce | Searcher (Sonnet) if repro missing | Reviewer (Opus) confirms repro is valid | Both tiers if dispatched |
| 2 — Gather evidence | Searcher × 3 (Sonnet) parallel | Reviewer (Opus) verifies evidence coverage | Both tiers |
| 3 — Hypothesize | — | Debugger (Opus) produces ranked hypotheses | Pure thinking |
| 4 — Verify | Implementer (Sonnet) minimal change | Debugger (Opus) re-evaluates against evidence | Both tiers · loop |
| 5 — Fix at root | Implementer (Sonnet) | Reviewer (Opus) checks no error-swallow / no symptom-patch | Both tiers |
| 6 — Regression test | Writer (Sonnet) | Reviewer (Opus) confirms test fails-without / passes-with | Both tiers |
| 7 — Memory + final | Writer (Sonnet) appends pitfall | Reviewer (Opus) final validation | Both tiers |
Agents — Searcher (Sonnet, if needed) ⇒ Reviewer (Opus).
Searcher — locating bug reproduction in recent changes/tests.**Reviewer** — confirming reproduction is valid to validate the repro actually fails for the stated reason (not a flake).Agents — Searcher × 3 (Sonnet) parallel ⇒ Reviewer (Opus).
Searcher — reading error stack traces and logsSearcher — mapping the code paths involvedSearcher — finding related tests (passing and failing)**Reviewer** — verifying evidence coverage to confirm the three Searchers actually triangulate the failure surface. If gaps remain, redispatch.Agents — Debugger (Opus, thinking-tier).
Dispatch **Debugger** — root cause analysis: <bug-summary> — model: opus.
Apply 5 Whys + hypothesis testing + bisect mindset:
Agents — Implementer (Sonnet) ⇒ Debugger (Opus).
Implementer — verifying hypothesis: <hypothesis> — make the minimal change needed to confirm/falsify.**Debugger** — re-evaluating hypothesis against test result to re-check against the evidence from Step 2.Agents — Implementer (Sonnet) ⇒ Reviewer (Opus).
Implementer — fixing root cause: <root-cause> with full context: the bug, the verified root cause, the minimal fix.**Reviewer** — checking fix is at root to verify the fix actually addresses the cause and doesn't patch the symptom.Constraints (non-negotiable):
Agents — Writer (Sonnet) ⇒ Reviewer (Opus).
Writer — adding regression test for <bug>.**Reviewer** — confirming regression test fails-without and passes-with the fix..hyperflow/memory/pitfalls.md.Agents — Writer (Sonnet) ⇒ Reviewer (Opus).
Writer — appending pitfall to .hyperflow/memory/pitfalls.md per memory-system.md: the bug pattern, why tests missed it, prevention strategy. Tags — pitfall plus domain tags.**Reviewer** — final validation of fix + test + memory entry. This is the integration review for the trace flow.| Symptom patch | Why it's wrong |
|---|---|
| "Just catch the exception" | Find why it threw |
| "Add a null check" | Find why it was null |
| "Increase the timeout" | Find why it's slow |
| "Retry on failure" | Understand the failure mode first |
── Debug Result ─────────────────────
Bug: <one-line>
Reproducible: yes / no / intermittent
Root cause: <one-line>
Fix: <one-line summary>
Files changed: <list>
Regression test: <path>
─────────────────────────────────────
End with usage summary (model names, agent count, token totals) per output-style.md.
Debug is off the auto-chain — it's standalone. After Step 7 reviewer passes, stop and suggest /hyperflow:deploy to run pre-push gates and commit the fix + regression test together. Do not auto-invoke ship — push requires explicit user opt-in.
Full rules in DOCTRINE.md. See also worker-prompt.md and reviewer-prompt.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin hyperflow8 skills in this plugin
/auditUse when the user asks for a code review, "review this change", "review my PR", "review the diff", or wants quality/spec/security/perf feedback on recent changes. Triggers a multi-level review with a thinking-tier reviewer agent. Standalone — does not auto-chain./cacheUse when the user wants to view, search, add, edit, prune, archive, or clear hyperflow memory entries — phrases like "show memory", "search memory for X", "clear memory", "what does hyperflow remember about Y", or any `hyperflow: memory *` invocation./deployUse when the user says "ship it", "ready to push", "release", "deploy", or wants pre-push gates (lint, typecheck, build, tests) plus commit/release/push in one flow. Standalone — never auto-invoked; push always requires explicit confirmation.Other plugins' skills for the same job