review-fix
SkillDev toolsReview uncommitted changes, fix actionable correctness issues, and verify the result.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the review-fix skill
What this skill tells your AI
The instructions your AI receives, as published by nwiizo/ccswarm in .agents/skills/review-fix/SKILL.md and read by ahel’s review.
When subagents are enabled in Codex, prefer delegating this workflow to the review-fix-agent custom agent.
Review uncommitted changes, fix actionable issues, and verify the result.
Workflow
Phase 1: Scope
git status --shortandgit diff --stat HEADto determine what changed.- If no changes exist, abort with "nothing to review".
Phase 2: Baseline
Run build and lint to establish a clean starting point:
cargo clippy --workspace -- -D warnings 2>&1 | tail -20
cargo test --workspace --no-run 2>&1 | tail -5
If the baseline already fails, report the failures and stop. Do not mask pre-existing breakage.
Phase 3: Review
Inspect the diff and new untracked files. Check for:
| Category | What to look for |
|---|---|
| Stale references | Deleted modules, commands, docs, or templates still referenced |
| Code duplication | Identical structs or functions across files worth extracting |
| Provider abstraction gaps | Hard-coded CLI names instead of the AgentProvider trait |
| Dead async | Async work discarded and then repeated synchronously |
| Sort instability | Utc::now() used as a fallback sort key |
| Hardcoded paths | Filesystem paths that should be relative to repo_path |
| Unused params | Accepted CLI arguments silently ignored |
| Security | Path traversal, credential leaks, unchecked user input |
Classify each finding:
- Fix: clear bug or correctness issue. Fix it now.
- Warn: design concern or missing feature. Report it, but do not fix unless trivial.
- Note: style or informational only.
Phase 4: Fix
For each fix-level finding:
- Make the minimal, surgical edit.
- Do not change unrelated code.
- After all fixes, run:
cargo clippy --workspace -- -D warnings
cargo test --workspace --no-run
If clippy or test compilation fails, revert the offending edit and downgrade it to a warning.
Phase 5: Report
Output a structured summary:
## Review + Fix Report
### Fixed
- <file>:<line> - <description>
### Warnings
- <file>:<line> - <description>
### Notes
- <description>
### Verification
- clippy: PASS / FAIL
- test compile: PASS / FAIL
- files modified: N
Signals
- GitHub stars
- 151
- Forks
- 15
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
review-fix- Source
- github.com/nwiizo/ccswarm