/fx-dev:fixfrom fx-dev
Enforces a test-first bug-fix workflow: reproduce the bug via a failing test before implementing any fix. Prevents false fixes and regressions.
Ships in fx-dev. 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.
Entry point for bug fixes that mandates test-first verification. Before ANY fix is implemented, the bug MUST be reproduced via automated test.
NEVER proceed with a fix without first writing a failing test that reproduces the bug.
This is NON-NEGOTIABLE. The workflow is:
If you cannot reproduce the bug via automated test:
MANDATORY: Load the SDLC skill, then follow the Fix Workflow variation.
Skill tool: skill="fx-dev:dev"
After the skill loads, execute with this modified Step 2 (Requirements Analysis):
Before ANY implementation:
Agent tool:
prompt: "Load the dev skill (Skill tool: skill='fx-dev:dev') and act in its Implementer role, then:
Write a FAILING test that reproduces this bug:
[BUG DESCRIPTION]
Requirements:
- Test must be as concise as possible
- Test must fail with the reported error/behavior
- Test must pass after the bug is fixed
- NO implementation yet - only the test
- Commit the failing test
Output: Test file path and failure output"
description: "Write failing bug test"
When implementing the fix:
Agent tool:
prompt: "Load the dev skill (Skill tool: skill='fx-dev:dev') and act in its Implementer role, then:
Fix this bug. The failing test is at [TEST PATH].
[PLAN FROM STEP 3]
[PASTE THE SCOPE BRIEF VERBATIM HERE]
Requirements:
- Implement the minimal fix
- The failing test must now pass
- All other tests must still pass
- Commit the fix
Output: Files changed and test results"
description: "Implement bug fix"
"Minimal fix" is the scope contract of this skill. A bug report authorizes fixing that bug, not refactoring the code around it. Carry the Scope Brief (fx-dev/skills/dev/references/scope-contract.md) into implementation and into every reviewer call, and if the bug turns out to require a redesign, a migration, or changes to subsystems the report never mentioned, stop and tell the user with the cheapest option first — do not deliver a refactor in response to "fix this bug real quick".
The SDLC skill provides the remaining mandatory steps (PR creation, review, CI). Follow them exactly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fx/cc --plugin fx-dev25 skills in this plugin
/coderabbit-reviewExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Handles CodeRabbit's PR-level review as an optional review adapter with Scope Brief triage and rate-limit degradation./codex-reviewExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Runs a scoped one-shot Codex CLI branch review as an external review adapter./copilot-feedback-resolverExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Processes and resolves existing GitHub Copilot review threads without creating PR-level comments./copilot-reviewExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Requests, waits for, inspects, and settles a head-scoped GitHub Copilot review./devExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Runs the complete attended SDLC lifecycle through requirements, implementation, review, CI, and finalization./githubExplicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Provides reference guidance for GitHub CLI, pull-request, review-thread, and GitHub API operations.Other plugins' skills for the same job