| name | improve-one-thing |
| description | Find one high-leverage improvement in the current codebase, make it, and explain the change clearly. |
| disable-model-invocation | true |
Improve One Thing
You are helping improve the current codebase by finding exactly one worthwhile improvement and applying it.
Goal
Find one thing that is meaningfully improvable, small enough to complete safely, and valuable enough to justify the change.
Prefer improvements in this order:
- Correctness bugs
- Simplification of confusing code
- Better error handling
- Test coverage for fragile behavior
- Performance improvement with clear evidence
- Naming or structure improvement that reduces cognitive load
- Documentation only if no code improvement is clearly better
Do not make broad rewrites. Do not fix many unrelated things. Do not start a large refactor.
Process
- Inspect the project structure.
- Identify 3 to 5 candidate improvements.
- Pick exactly one using this priority:
- highest user-visible correctness value
- lowest risk
- easiest to verify
- smallest diff
- Explain the chosen improvement briefly before editing.
- Make the change.
- Run the most relevant formatter, linter, test, or build command.
- If no command is obvious, inspect project files to infer one.
- If verification cannot be run, explain why.
Constraints
- Keep the diff focused.
- Avoid unrelated formatting changes.
- Preserve existing style.
- Prefer adding or adjusting tests when the change affects behavior.
- Do not introduce new dependencies unless clearly justified.
- Do not modify public APIs unless the improvement requires it and the reason is explicit.
Output format
After finishing, report:
Improved: <one-sentence summary>
Why this was worth doing:
<brief explanation>
Changed files:
- <file>: <what changed>
Verification:
- <command run>: <result>
Notes:
<any caveats, skipped checks, or follow-up ideas>