ada-simplify-code

Reviews recent git diffs with three parallel subagents and applies risk-tiered code simplifications.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/wubing7755/Ada --skill ada-simplify-code-wubing7755
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ada-simplify-code
Source: https://github.com/wubing7755/Ada/tree/main/skills/software-development/ada-simplify-code
Command: npx skills add https://github.com/wubing7755/Ada --skill ada-simplify-code-wubing7755

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Cleaning up recent code changes by hand is slow and error-prone: duplicated utilities, redundant state, and inefficiencies slip through, and broad single-pass reviews miss cross-file issues. This Skill runs three focused reviewers in parallel over your git diff and applies only the fixes that are safe to apply. ## Core Features & Use Cases - Parallel Three-Agent Review: Launches reuse, quality, and efficiency reviewers concurrently via delegate_task, each receiving the complete diff plus repo access for evidence-based findings. - Risk-Tiered Application: Auto-applies SAFE fixes (unused imports, dead code), verifies CAREFUL fixes per file with tests, and flags RISKY changes (API renames, N+1 restructuring) for human review only. - Chesterton's Fence Protection: Runs git blame before removing any existing code, and supports focus, dry-run, and scope modifiers like "simplify the last commit" or "just report". - Use Case: After finishing a feature branch, say "simplify my changes" to get duplication, quality, and efficiency findings aggregated, deduped, and applied with test verification before you commit. ## Quick Start Ask the agent to simplify my recent uncommitted changes and report anything it considers too risky to apply automatically.

Frequently Asked Questions about ada-simplify-code

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

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

Say "simplify my changes" or "review my recent changes" to trigger a three-agent parallel review of your git diff. Findings are merged, deduplicated, and applied by risk tier: SAFE fixes auto-apply, CAREFUL fixes apply with per-file test verification, and RISKY items are only flagged.

How to run a code review on just the last commit or staged changes?

Add a scope modifier such as "simplify the last commit", "simplify staged", or "simplify src/foo.py". The skill maps these to git diff HEAD~1, git diff --staged, or a path-scoped diff before delegating to reviewers.

Can I get a code review report without changing any files?

Yes, use a dry-run phrasing like "simplify but don't change anything" or "just report". The three reviewers still run and present findings across all risk tiers, but nothing is applied until you confirm.

When should I not use parallel diff-based code cleanup?

Avoid it for single-file cleanup, where a direct patch is cheaper, and for architecture-level refactoring or bug fixes, which need structured phased refactoring or root-cause analysis. Very large diffs should also be scoped down first to control token cost.

Why does the skill check git blame before removing code?

It applies Chesterton's Fence: a line that looks useless may exist for a reason. Reviewers run git blame to confirm original purpose, and anything whose purpose cannot be determined is marked low confidence instead of being removed.