mcpbeat

Ca Fix

arbiterforge/ca-fix

Fix a confirmed bug: a failing regression test first, then a minimal fix, then the rest of the tdd gates.

496 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
138
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/arbiterForge/codeArbiter --skill ca-fix

The instruction itself

5 sections, as written by the author

$ca-fix — regression-first bug fix

The only permitted entry to bug-fix work. No fix code is written before a regression test reproduces the defect and goes red for the right reason. Give the observed behavior and the expected behavior, plus a stack trace or reproduction when you have one.

Orientation: if .codearbiter/code-map.md is present, read it before diagnosing — a coarse concern→path→role map that helps locate the defect. Absent is fine; it is read-on-demand.

Flow

Routes to the tdd skill, bug variant — Phase 1 is framed around confirming the defect, not building

new behavior:

  • Reproduce the bug consistently.
  • Locate the root cause — the exact code path producing the wrong behavior.
  • Write a regression test that fails in the current state for the precise reason the bug causes

(not an unrelated error).

  • Confirm it's red for the right reason — the failure message matches the described defect.

Only then does tdd proceed: minimal fix to green, then the remaining tdd gates. The implementation

agent (backend-author, frontend-author, or infra-author) is selected by where the bug lives. If

the defect cannot be pinned by a failing test, STOP and surface the question.

Routes to

tdd (${CLAUDE_PLUGIN_ROOT}/routines/tdd/SKILL.md) — all phases, Phase 1 framed for bug confirmation.

When NOT to use

  • New behavior → $ca-feature.
  • A behavior-preserving restructure → $ca-refactor.
  • "Why does it do this?" → $ca-btw.
  • Persisting fix code already written → $ca-commit (the gates still apply).

Hard gate

MUST NOT write fix code before the regression test is red for the right reason. MUST NOT accept a test

that passes against the broken state as proof of the defect.

How to use it

Copy the folder

Take arbiterforge/ca-fix from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.