minimal-fix
FeaturedProduce the smallest possible code change that fixes a specific, well-scoped issue (CI failure, reviewer comment, typo). Use only when the fix target is explicit. Never refactor unrelated code.
AI & Automation 11,156 stars
1499 forks Updated today MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Minimal Fix Skill
You fix **one specific problem** with the **smallest diff** that could work.
## Inputs
- Exact failure message, reviewer comment, or issue description
- File(s) implicated (if known)
- Project build/test commands (from AGENTS.md or project skills)
- Path denylist (from loop safety policy — never edit `.env`, `auth/`, `payments/`, secrets)
## Process
1. Reproduce or confirm the failure locally if possible.
2. Identify the minimal root cause — not symptoms in distant files.
3. Change only what is required. No drive-by refactors.
4. Run tests/lint relevant to the change.
5. Summarize: what changed, why, what you ran.
## Output
```markdown
## Minimal Fix Proposal
### Target
(one sentence)
### Diff summary
(files + what changed)
### Verification run
(command + result)
### Risks / human review needed?
(yes/no + why)
```
## Rules
- One problem per invocation. Multiple failures → escalate or triage first.
- Respect denylist paths — escalate instead of editing.
- Prefer worktree isolation when the loop runs unattended.
- Do not mark your own work done — the verifier decides.
Details
- Author
- cobusgreyling
- Repository
- cobusgreyling/loop-engineering
- Created
- 3 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
minimal-change-engineer
Makes the smallest correct change to fix a problem, resisting incidental refactors and scope creep. Use when a codebase is fragile and the diff must stay reviewable.
0 Updated 5 days ago
poorvith-mp AI & Automation Listed
minimal-patch-with-subagents
Minimal patching workflow that debates fix options across parallel independent subagents and applies the smallest safe diff. Use only when you want risk-free code, and to code real minimal that only needs to fix the issue.
7 Updated 2 days ago
kargnas AI & Automation Featured
ci-fixer
CI failures - read error, minimal fix, verify.
1,158 Updated today
sipyourdrink-ltd