Skip to content
Development
Skill

/minimal-fix

Produce 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.

From plugin
loop-engineering
11k14 skills2 agents
Install
$ npx -y skills add cobusgreyling/loop-engineering --skill minimal-fix --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/minimal-fix

Context preview

The summary Claude sees to decide when to auto-load this skill.

Produce 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.

SKILL.md

minimal-fix.SKILL.md
name: minimal-fix
description: >
  Produce 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.
user_invocable: true

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

## 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.
Ships withloop-engineering

Stop prompting. Design the loop. Get a score. Start in 5 minutes · Quickstart · What do you want to do? · Refactor path · 中文 · Pattern picker --tool defaults to claude if you omit it. Swap for grok, codex, or opencode. Week one is report-only.

Get the whole plugin
Stats
11,248
Stars
1,510
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1d ago
Last commit
3mo ago
Created

Repo: cobusgreyling/loop-engineering

Other skills on loop-engineering.