/dev-team:apply-fixes <corrections-dir> [--dry] [--skip-tests] [--skip-build] [--skip-lint]from dev-team
Applies correction prompts generated by /code-review to fix code issues. Reads JSON correction files, applies minimal fixes, validates with lint/build/tests, and reports results.
Ships in dev-team. 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.
Role: implementation. This skill modifies code — it receives correction prompts and applies minimal fixes.
You have been invoked with the /apply-fixes skill. Load correction prompt JSON files and apply each fix.
Arguments: $ARGUMENTS
Required: path to directory containing correction prompt JSON files ($0)
Optional:
--repo <path>: Target repository path (default: current working directory)--skip-tests: Skip running tests after each fix--skip-build: Skip running build after each fix--skip-lint: Skip running lint after each fix--dry: Preview what would be applied without making changes--verbose: Show detailed outputDetect and read rules from the target repository:
CLAUDE.md.clinerules.claude/rules/index.mdCONTRIBUTING.mdThese rules inform how fixes should be applied.
Read all .json files from the specified directory, sorted
alphabetically. Each file contains:
{
"priority": "high|medium|low",
"confidence": "high|medium",
"category": "<agent-name>",
"instruction": "<what to fix>",
"context": "<where>",
"affectedFiles": ["<path>"]
}
Note: correction prompts are only generated for issues with
confidence: high or confidence: medium. Issues with
confidence: none are surfaced in the review report only and
do not produce correction prompt files.
Copy this checklist and track progress:
- [ ] Correction prompts loaded
- [ ] Fixes sorted by priority then confidence
- [ ] High-confidence fixes applied automatically
- [ ] Medium-confidence fixes confirmed and applied
- [ ] Validation complete
- [ ] Summary generated
- [ ] Applied prompts moved to completed/
For each prompt, sorted by priority (high first), then by confidence (high before medium):
Check blast radius before editing. Prefer CodeGraph/Repowise over raw
Grep on the affected symbol/file before applying the fix, to see what else
depends on it. See
knowledge/codegraph-vs-graphify.md
for tool selection and the fallback contract.
confidence: high — auto-apply:
confidence: medium — confirm before applying:
[medium confidence] <category>: <instruction>
File: <context>
Suggested fix: <suggestedFix>
Apply? (y/n/skip)
If running non-interactively (e.g., in CI), treat medium
confidence the same as high (auto-apply).
Unless skipped, run after each fix:
If validation fails, read ${CLAUDE_PLUGIN_ROOT}/knowledge/failure-routing.md and classify the failing output/exit code by its regex table — deterministic pattern match only, no LLM call. This skill has neither Agent nor Skill in allowed-tools, so a non-inline route (test-generation, security-engineer, human arbitration) is never dispatched — annotate only: report the failure's class and recommended route in the Fix Summary (e.g. "security-finding — route to security-engineer via orchestrator") and continue to the next fix. unclassified failures report exactly as before, with no added text.
After completing all fixes, display a summary:
Fix Summary
===========
Total: N | Applied: N | Skipped: N | Failed: N | Validation Failed: N
--- APPLIED (high confidence) ---
[category] instruction (files)
--- APPLIED (medium confidence, confirmed) ---
[category] instruction (files)
--- SKIPPED (medium confidence, declined) ---
[category] instruction (reason)
--- FAILED ---
[category] instruction (reason) [class: <failure-class>, route: <recommended route>]
The [class: ..., route: ...] tag is present only when validation failed and the failure matched a signature in failure-routing.md; an unclassified failure omits the tag, matching prior output exactly.
Move successfully applied prompt files to a completed/ subdirectory.
For structural issues (long functions, duplication, deep nesting,
unclear names), the
refactoring plugin provides
incremental, verified refactorings one at a time — better suited for
complex structural changes than batch correction prompts.
Install it with claude plugin install refactoring@refactoring (or the
marketplace-dev plugin's /add-plugin refactoring@refactoring --repo elifiner/refactoring).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-team103 skills in this plugin
/adr-toolsCreate and manage Architecture Decision Records using the npryce adr-tools CLI. Use when the user asks to "add an ADR", "record this decision", "create an ADR", "supersede ADR N", "link ADRs", "generate the ADR table of contents", or any request involving the `adr` command. Pairs with the adr-author agent — this skill is the mechanics (commands, files, links); adr-author is the decision framework (when an ADR is warranted) and the prose authoring./agent-auditAudit code-review agents, skills, and hooks for structural compliance. Use this when adding or modifying any agent, skill, or hook file, or for a periodic health check of the toolkit. Trigger phrases: "audit the agents", "check compliance", "validate the skills", "are the agents correct", or any time agent/skill files change./agent-evalRun eval fixtures against review agents and grade results. Use this after adding or modifying a review agent, to validate detection accuracy, or when the user says "run the evals", "test the agents", "check for regressions", or "how accurate is the agent"./agent-readinessScore how ready the current repository is for AI-assisted development against the Agent-Readiness Scorecard. Use when the user asks "how agent-ready is this repo", "score this repo for agents", "agent readiness", or wants a tiered readiness report. Scores YOUR project repo's readiness — not the dev-team plugin's own review agents and routing (for that, use /harness-audit)./api-designContract-first API design for stable, evolvable interfaces. Use whenever defining a new API endpoint, inter-service boundary, or modifying an existing contract. Includes backward compatibility checklist and error contract specification./apply-test-doublesApply `/cd-test-architecture`'s Step 4b build-vs-document decision logic against an existing, saved assessment report — or, when no valid report path is given, against a target to assess first — without re-running the full Steps 0-6 assessment each time. Use when the user wants to revisit or change a component's Build/Document choice from a saved cd-test-architecture report, says "apply the test doubles", "re-run Step 4b", "change the build-vs-document decision", or cites the `/apply-test-doubles <path>` command from a test-double setup guide.Other plugins' skills for the same job