simplify-code

Reviews recent code changes with four parallel reviewers and applies safe cleanup fixes.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/swcstudiospace/aimeecodes --skill simplify-code-swcstudiospace
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: simplify-code
Source: https://github.com/swcstudiospace/aimeecodes/tree/main/.aimee/skills/simplify-code
Command: npx skills add https://github.com/swcstudiospace/aimeecodes --skill simplify-code-swcstudiospace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recent code changes often accumulate duplication, needless complexity, wasted work, and shallow band-aid fixes. Manually reviewing a diff across all these dimensions is slow and easy to do inconsistently, especially when cross-file issues only appear with the full picture. ## Core Features & Use Cases - Parallel Four-Angle Review: Launches four concurrent reviewers covering code reuse, code quality, efficiency, and altitude (fix depth), each searching the wider codebase for evidence rather than reasoning from the diff alone. - Risk-Tiered Application: Classifies findings as SAFE (auto-apply), CAREFUL (apply with test verification), or RISKY (flag for human review), then applies fixes in that order with targeted test runs. - Flexible Scoping and Modes: Supports focus filters (reuse, quality, efficiency, altitude), dry-run report-only mode, and scoped diffs such as staged changes, the last commit, a branch, or specific files. - Use Case: After finishing a feature branch, ask for a simplify pass on your uncommitted changes; the skill deduplicates overlapping findings, applies safe cleanups like unused imports and flattened conditionals, verifies tests still pass, and presents deeper refactors for your decision. ## Quick Start Ask the agent to simplify my recent uncommitted changes and apply only the safe fixes.

Frequently Asked Questions about simplify-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up my recent code changes automatically?▼

Run the simplify pass on your git diff: it launches four parallel reviewers covering reuse, quality, efficiency, and altitude, then applies safe fixes automatically and verifies with targeted tests. You can scope it to staged changes, the last commit, or specific files.

How to review a git diff with multiple parallel agents?▼

The skill uses delegate_task batch mode to run four reviewers concurrently, each receiving the complete diff plus repo access. Findings are merged, deduplicated, and applied in risk-tier order: SAFE first, CAREFUL with tests, RISKY flagged for review.

Can I run a code cleanup review without changing any files?▼

Yes, request a dry run by saying simplify but do not change anything. The four reviewers still run and present all findings across the three risk tiers, but nothing is applied until you approve.

What happens if parallel subagent delegation is not available?▼

The skill falls back to a single-pass inline review, working through all four reviewer angles sequentially in the current context with the same standards. The final summary clearly states it was an inline review rather than the parallel fan-out.

When should I not use an automated code simplification pass?▼

Avoid it for hunting correctness bugs, which belongs in a dedicated code review pass, and for very large diffs over roughly 2000 lines without scoping down first. It is a cleanup of working code, not a license to refactor whole modules.