fix
БесплатноБез исполняемых скриптовНе проверенFix actionable in-scope findings in the current Incan worktree, usually after /review. Use when the user asks to fix review findings, clean up reported…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
Fix — Incan Compiler
Purpose
/fix is the repair half of the review workflow. It consumes concrete findings from /review or obvious unresolved worktree issues and fixes them directly when they are in scope and safe.
The primary source of truth is the persistent report in the current worktree:
.agents/state/review-report.md
Use /fix when:
/reviewalready identified blockers or warnings,- the user says "fix the findings",
- the user wants review cleanup without a fresh diagnostic pass.
Do not use /fix as a substitute for first-pass diagnosis when the problem is still unclear. Use /review first.
/fix is different from /review: it should consume the current report, not wipe it. If the report is stale or obviously belongs to a previous run, rerun /review instead of trying to repair against bad state.
Workflow
- Start from the current dirty worktree and the concrete findings already on record from
/review, inline review comments, or the user's instructions. - Read
.agents/state/review-report.mdfirst when it exists. - For orchestrated reviews, treat
## Findingsas the default task list. - For generic single-review reports, fall back to
## Filesonly if there is no top-level## Findingslist. - Fix only findings that are:
- in scope,
- safe without extra user confirmation,
- concrete enough to act on.
- Do not widen scope. Avoid opportunistic refactors beyond what is needed to resolve the findings cleanly.
- Update
.agents/state/review-report.mdas findings move betweenopen,fixed, andblocked. - Append short timestamped entries to
## Activityas you work. Log each major action instead of relying on a final prose recap. - After edits, run
make fmt. - Run the smallest relevant contract selector (one case or area) from
workspaces/contracts/README.md; run the affected whole families at commit points. - Run
make pre-commit(formatting, spelling, rustdoc, and skill-table checks). - If
make pre-commitfails for reasons unrelated to your fixes, keep the local fixes and report the failure as residual risk in the report file. - If findings remain unresolved, classify each as one of:
- out of scope,
- risky without user confirmation,
- external blocker,
- separate compiler bug.
- Preserve findings even when they are non-blocking or design-oriented.
design-tension,maintainability, and docs drift are still findings; they may simply move to a lower-priority fix queue instead of being dropped.
Fixing rules
- Preserve the user's worktree. Never revert unrelated changes.
- Prefer small direct edits over broad rewrites.
- Use
incan inspect codegraph PATH --query defs TERMor--query callers TERMfor declaration and call relationships before grep. - Extend an existing case before adding one; add a case only when no case in the same area can carry the behavior. The whole suite stays under about 3,000 tests. Never add a case per bug: name it in
# behavior:. Each library case has one producer Loaf carrying all its declarations. - Change design records only when a decision changes, in a sentence or two. Keep decisions, boundaries, consequences, and non-goals under about 1,000 words; mechanisms belong in commit messages and rustdoc, never a paragraph per commit.
- Run
incan run scripts/check_us_english.incnbefore every commit. - Keep docs and code aligned. If you fix behavior, update user-facing docs that claim the old behavior. If behavior is out of scope, correct the docs instead of inventing implementation.
- For Rust prose comments, write natural paragraphs and let
make fmtwrap them. Do not manually chop prose into short lines. - For Markdown, keep prose as natural paragraphs. Do not introduce short-prosed or mechanically chopped text.
- Do not fix boundary bugs with local-only coverage. If a finding involves import, reexport/facade, package consumer, dependency-owned type, test batch, vocab/desugarer, formatter, Rust metadata, or downstream behavior, add the relevant boundary coverage or document why that boundary is impossible for this fix.
- Do not add a new split-brain workaround while fixing a split-brain bug. Prefer moving the decision into the canonical planner, metadata surface, registry, or shared helper that all relevant paths already consume.
Verification
/fix should usually run:
make fmt- the smallest relevant contract selector during development, then affected whole families at commit points
make pre-commit(make pre-commit,incan run scripts/check_us_english.incn,incan run scripts/check_changed_rustdocs.incn, andincan run scripts/check_agents_doc_sync.incn)
Use incan run workspaces/contracts/src/main.incn -- INCAN workspaces/contracts/fixtures SELECTOR, substituting the compiler under test and selector. Oven owns builds and execution; never run Cargo. Verify command names against the Makefile and workspaces/oven/src/main.incn.
If make pre-commit fails be
Установить fix в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл fix?
Fix actionable in-scope findings in the current Incan worktree, usually after /review. Use when the user asks to fix review findings, clean up reported issues, apply in-scope review feedback, or says /fix.
Как установить скилл fix?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fix запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic