fix
Use when a bug ticket or GitHub issue should go from report to an approved fix plan — "plan a fix", "fix this issue". Root-causes it via rca, then plans in…
от ocx-sh★ 20 звёзд на GitHub
Установить fix в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Fix — RCA, then a regression-test-first plan
1. Root cause
Read ../rca/SKILL.md and follow it in full against $ARGUMENTS. Do not shortcut its gates — a fix plan built on an unverified cause is the failure this skill exists to prevent.
2. Verdict gate
Verdict ≠ bug → output the RCA report and stop. No plan.
3. Escalation gate
Stop and do not enter plan mode when any holds:
- size L or XL (
../rca/references/sizing.md) - any interface surface is touched (same file, list)
- confidence low, or repro not reproduced with no observed causal chain
Output the RCA header, the one-line reason, and:
## Actions
- Run `/hex-plan <issue>` with this RCA as input (XL → `/hex-architect` first)
4. Plan
Call EnterPlanMode (load it via ToolSearch select:EnterPlanMode if deferred). The plan file holds, in order:
- RCA header — the five-line block from the report, plus the causal chain's key
file:line. - Regression test — first. Level per
workflow-bugfix.mdPhase 3: acceptance bug → pytest intest/tests/; unit bug → inline#[cfg(test)]in the faulty module. Name the test, what it asserts (the root cause, not the symptom), and the command that shows it red on current HEAD (task test:parallel --force -- <file>or the Bazel/cargo unit target). One per blast-radius site when the sites differ in behaviour. - Fix — at the root-cause layer; every site from the blast radius covered or explicitly excluded with reason. No drive-by refactor.
- Verify — regression test green,
task verify:scoped --force. No local fulltask verify. - Commit —
fix(<scope>): <user-facing sentence>; the subject is the changelog line.Closes #<n>in the body.
Then ExitPlanMode. After approval, implement per workflow-bugfix.md: test red first, then fix, then green. If the fix grows past M mid-implementation, stop and re-enter step 3.
$ARGUMENTS
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fix?
Use when a bug ticket or GitHub issue should go from report to an approved fix plan — "plan a fix", "fix this issue". Root-causes it via rca, then plans in plan mode with the failing regression test first. Routes to hex-plan instead when the fix is large or moves an interface contract.
Как установить скилл fix?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fix запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…