/codex-next:dev-bugfixfrom codex-next
Guides structured bugfix workflow for concrete defects and regressions: reproduce failure, diagnose root cause, fix, and validate regression tests.
Ships in codex-next. 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.
Read when SKILL.md points to them; scripts run unread.
Use this for defects where guessing is likely to waste time. Move through the phases in order unless you can state why a phase is already satisfied.
Before editing, read nearby repo instructions and any relevant local/sdlc
architecture or domain notes if they exist.
First pin the observed failure:
Then map likely code paths, nearby tests, and the smallest command that could prove the failure.
The first job is a tight pass/fail loop that can go red for this exact bug.
Without that signal, code reading turns into speculation. Spend more effort
building the loop than feels comfortable.
Use references/feedback-loop-menu.md to choose the smallest loop that reaches
the symptom: test, HTTP check, CLI fixture, browser assertion, replayed payload,
temporary harness, property/fuzz run, bisect, differential comparison, or HITL
script.
Improve the loop before relying on it. Narrow setup, assert the exact symptom, cache slow prerequisites, pin time/randomness, and isolate filesystem or network state. For flaky failures, the target is a high reproduction rate, not a perfect single repro. Raise the rate until it is debuggable: repeat the trigger in bulk, run copies in parallel, add load or stress, shrink timing windows, and inject delays at suspected races. A failure on half the runs is workable; one in a hundred is not yet a loop.
Name one command you have already run and show its decisive output. It must be:
If you are forming a root-cause theory before this command exists, stop and build the loop first.
Say so directly, list the attempts, and ask for one missing input: access to a reproducing environment, a captured artifact such as logs/HAR/video/core dump, or permission for temporary instrumentation. Do not present a speculative fix as diagnosis.
Run the loop and confirm:
Then reduce the scenario. Remove inputs, callers, config, and data one at a time, re-running after each cut. Minimisation is done when every remaining piece is load-bearing: removing any one of them turns the loop green. The minimised scenario shrinks the Phase 3 hypothesis space and becomes the Phase 5 regression test.
List 3-5 ranked hypotheses before probing. Each must predict what evidence or change would confirm or falsify it. Share the ranking before testing when the user can cheaply re-rank it; continue with your ranking if they are unavailable.
Each probe must test one prediction. Change one variable per run. Prefer a debugger or REPL when available; otherwise add targeted logs at the boundary that separates hypotheses. Tag temporary logs with a unique prefix for cleanup.
For slowdowns, spikes, latency regressions, or memory growth, use
dev-performance-diagnosis for baseline-first measurement and bisection.
Add the regression test before the fix whenever there is a valid seam: a test
point that exercises the real failure pattern through the relevant call path.
Only write it alongside the fix when the first safe step is creating or exposing
that seam; record the constraint as a testability finding.
With a valid seam: watch the regression fail, apply the fix, watch it pass, then rerun the original loop.
[DEBUG-...] instrumentation is removed by grepAfter the fix, name the prevention lesson. If the lesson is architectural, such
as hidden coupling or no valid seam, record a follow-up and hand off to
dev-refactor-plan.
[DEBUG-...] tags or throwaway harnesses behind.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
bugfix, debugging, reproduction, root-cause, regression-validation
npx claudepluginhub blueskyxn/codex-is-all-you-need --plugin codex-next59 skills in this plugin
/core-explore-unknownsUse only when the user explicitly invokes this skill to map unresolved product, domain, repository, or delivery unknowns before choosing a path./core-goal-runUse only when the user explicitly invokes this skill to create or resume a persistent file-based goal tracker across sessions./core-grillingUse only when the user explicitly invokes this skill to stress-test an existing plan or design through one load-bearing question at a time./core-routerUse when the user asks how to use Codex Next, which bundled skill fits, or whether a workflow is needed. Do not trigger for a clear task that can be completed directly./core-skill-evalUse only when the user explicitly invokes this skill to evaluate a skill with representative cases, isolated runs, independent judging, and evidence-driven edits./data-analysis-reportUse when converting data analysis results into a clear report with assumptions, findings, validation, limitations, and next steps.Other plugins' skills for the same job