.claude/skills/fix-recheck/SKILL.md
fix-recheck
npx skillsauth add Pepe39/chameleon-pr .claude/skills/fix-recheckInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Reads a task's recheck_report.md, classifies each failure as a real problem
or an overflag, applies minimal targeted fixes to the deliverables for the real
problems, and leaves overflags untouched so the next /step-09-recheck run
surfaces them again for human attention.
$ARGUMENTS (positional): {task_id} [auto]. auto is currently the only
supported mode and is treated as the default when omitted.Same rule as /step-09-recheck. If tasks/{date}/{id}/fixed_deliverables/
exists the skill is in review-mode and MUST write fixes only under
fixed_deliverables/. Otherwise it is in run-mode and writes under
deliverables/. Never edit deliverables/ from review-mode.
Glob or find tasks/ -maxdepth 3 -type d -name "{id}".recheck_report.mdtask_info.mddeliverables/labels.json, deliverables/context.jsondeliverables/quality.md, deliverables/severity.md,
deliverables/context_scope.md, deliverables/advanced.mdfixed_deliverables/.work/pr_diff.txt and the head_sha copy of any file named in a failure.recheck_report.md reports 0 failures, emit
FIX_RECHECK_DONE: 0 fixed, 0 overflags and exit without touching anything.The report's ## Failures section contains one bullet per failure in the form
- **{check_id}** {detail}. Build an in-memory list of
{check_id, detail, raw_bullet} entries. Check ids belong to one of:
For every failure, decide: real or overflag.
A failure is real if the underlying file/field does contain the issue the check describes and a minimal edit will make the check pass without inventing facts. Typical real failures:
inputs.md and task_info.md Input Data when the
drift is a typo or a normalization slip in task_info.md. Never change
inputs.md.A failure is an overflag if the check is triggered by something that is not actually wrong in context. Typical overflags:
inputs.md, where task_info.md correctly stores the normalized form.why field references a symbol in prose without backticks and
the check misreads a quoted identifier.When in doubt, err toward real and apply a safe fix. Only leave a failure untouched when fixing it would require guessing or would regress correctness.
Fixes must be minimal and localized. One failure, one edit. Never
rewrite full files. Never touch files that the failure does not reference.
Never change label values (quality, severity, context_scope, advanced)
unless the failure is an L or X check that explicitly flags the label itself.
Every edit that touches labels.json.context[*].why or
context.json.rows[*].dA0ihr MUST also be mirrored in the embedded JSON block
under task_info.md ### Context Scope, and in deliverables/context_scope.md
(the table row and the ## Reasoning section when the change materially
updates the justification).
Every edit that touches reasoning in a deliverable .md MUST also update the
corresponding ## Reasoning section in task_info.md if one exists, to keep
the pair in sync.
All edited text MUST respect the project wording rules in
/Volumes/Sandisk 1T/Work/Microsoft/code-review/CLAUDE.md. No em-dashes, no
en-dashes, no ellipsis character, no smart quotes, no bare semicolons, no bare
colons outside file paths, no parentheses around asides. Scan every edited
string before saving.
Write tasks/{date}/{id}/fix_recheck_log.md with the following structure.
Overwrite if it already exists.
# Fix Recheck Log: {task_id}
**Mode:** run | review
**Timestamp:** {ISO 8601}
**Source report:** recheck_report.md with {F} failures
**Action totals:** {X} fixed, {Y} overflags
## Fixed
- **{check_id}** {short description of the failure}. **Fix:** {one sentence
describing the minimal edit applied, including file and field}.
## Overflags
- **{check_id}** {short description of the failure}. **Why skipped:** {one
sentence explaining why the check is misfiring here}.
## Touched files
- `tasks/{date}/{id}/deliverables/labels.json`
- ...
Use short, direct prose. No em-dashes, no semicolons, no bare colons outside file paths, no parentheses around asides.
After writing the log, print exactly one final line:
FIX_RECHECK_DONE: {X} fixed, {Y} overflags
where X is the number of real failures actually edited and Y is the number
of overflags left alone. This line is parsed by the Flask API worker.
inputs.md. inputs.md is the task input contract.deliverables/ from review-mode.recheck_report.md.work/repo/. Reads only.testing
step-09-recheck
development
# step-08-generate-output ## What it does Compiles all four axis labels into the final JSON output, validates consistency, and generates the deliverable file ready for submission. ## Prerequisites - Steps 04-07 completed (all four axes labeled) ## Context > See `docs/steps/step10.md` for the submission checklist. ## Arguments - `id` (required): Task ID ## Instructions ### 1. Recover context Read `task_info.md` — extract all four labels and their reasoning from the Labels section. Update
testing
# step-07-label-advanced ## What it does Labels Axis 4 — Advanced. Derives the Advanced label from Context Scope using a deterministic mapping. ## Prerequisites - Step 06 completed (Context Scope labeled) ## Context > See `docs/axis-4-advanced.md` for the mapping rule and definitions. > See `DOCUMENTATION.md` section 7 (Axis 4) for the rationale. ## Arguments - `id` (required): Task ID ## Instructions ### 1. Recover context Read `task_info.md` — specifically the Context Scope label from s
documentation
# step-06-label-context-scope ## What it does Labels Axis 3 — Context Scope. Determines what level of context a reviewer would need to confidently make this comment and documents all evidence used. ## Prerequisites - Step 05 completed (Severity labeled) ## Context > See `docs/axis-3-context-scope.md` for definitions, evaluation criteria, and examples. > See `docs/steps/step8.md` for the step-by-step process. > See `DOCUMENTATION.md` sections 8 (FAQ), 9 (Common Mistakes), and 10 (Tips) for edg