repair-in-place
Skill0 starsChanged 59 days agoMITView on GitHub
Fixes a named defect in the lane's own worktree from its findings, with no new plan. Use at REPAIR after verify or validate failed.
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
- best-practices-auditSkill
- catalog-authoringSkill
- cli-toolsSkill
- conventional-commitsSkill
- decompose-planSkill
- falsify-firstSkill
- find-skillsSkill
- harness-clientSkill
- harness-loopSkill
- interface-factsSkill
- no-commentsSkill
- nodeSkill
- plain-englishSkill
- pythonSkill
- release-processSkill
- repair-in-placeSkill
- retention-probeSkill
- root-causeSkill
- session-finishSkill
- skill-creatorSkill
- test-disciplineSkill
- tier-injectionSkill
- validate-as-consumerSkill
- work-trackerSkill
- worktree-isolationSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Reproduce before you fix: Run the failing check and read its actual output.
- Distinctive: line 24
Read the findings in the brief.
- Distinctive: line 25
Run the failing check in the worktree and read its output.
- Distinctive: line 28
Write a regression test that fails.
- Distinctive: line 30
Run the check again and read the summary line.
- Distinctive: line 31
Commit on the harness branch.
- Distinctive: line 33
Do not pass a size gate by deleting comments or other text, and do not pass a test by loosening its assertion.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->Repair in place
Repair is a mode of the implementer, not a new start. It uses the same worktree, the same scope and the same artifact. The brief is the findings, not the requirement.
Rules
- Do not re-plan. The plan passed its gate, and the rework allowance is per gate.
- Escalate when the finding shows the plan was wrong. A plan defect is not a code defect. Say so and stop.
- Fix in the lane's worktree, never by re-dispatch. A re-dispatch pays the scope-reading cost again with less budget.
- Reproduce before you fix. Run the failing check and read its actual output.
- Check the gate's premise before you obey its remedy. The repair advice of a gate can be wrong.
- Fix the cause at every call site. A defect that came through a shared helper reached the other callers too.
- Never weaken the gate that failed. See the confirmation list in the always-on rules.
Procedure
- Read the findings in the brief.
- Run the failing check in the worktree and read its output.
- Build any test fixture from the observed error, never from a suspected message. A fixture built from a guess tests a failure that never occurs.
- Write a regression test that fails.
- Fix the cause, then check every other call site of the same code.
- Run the check again and read the summary line.
- Commit on the harness branch. The loop lands it again.
Do not pass a size gate by deleting comments or other text, and do not pass a test by loosening its assertion. Both make the gate green over the defect it exists to catch.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

