simplify

Reviews changed code with three parallel read-only agents for reuse, quality, and efficiency issues.

Updated Jan 5, 2025
One-click install
npx skills add https://github.com/ValorVie/settingZsh --skill simplify-valorvie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: simplify
Source: https://github.com/ValorVie/settingZsh/tree/main/.codex/skills/simplify
Command: npx skills add https://github.com/ValorVie/settingZsh --skill simplify-valorvie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Before formal code review, diffs often contain duplication, rough edges, and avoidable inefficiency that generate unnecessary reviewer comments. This Skill runs a pre-review cleanup pass that finds and fixes worthwhile issues without changing behavior. ## Core Features & Use Cases - Three Parallel Review Agents: Spawns read-only subagents covering code reuse, code quality, and efficiency, each guided by a dedicated prompt template in the references directory. - Behavior-Preserving Fixes: The main agent aggregates findings, deduplicates them, applies only safe cleanups, and skips false positives. - Explicit Verification: Runs the narrowest meaningful tests or lint/build checks after edits and reports residual risk when no verification exists. - Use Case: After implementing a feature spanning several files, run this cleanup pass before sending the diff to a formal code-reviewer to reduce avoidable review comments. ## Quick Start Ask the assistant to run the simplify cleanup pass on the current git diff before formal code review.

Frequently Asked Questions about simplify

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

FAQPage Schema
How do I clean up a code diff before code review?▼

Run a simplify pass that inspects the git diff with three parallel read-only reviewers covering reuse, quality, and efficiency. The main agent then applies only behavior-preserving fixes and verifies the result with targeted tests or lint checks.

What does the simplify skill check in changed code?▼

It checks three domains: missed reuse of existing utilities, code quality problems like redundant state or copy-paste, and efficiency issues such as repeated computations or N+1 patterns. Findings are ordered by severity and payoff.

When should I not use a simplify cleanup pass?▼

Skip it for tiny diffs of one or two trivial lines, behavior changes or bug fixes that alter requirements, large architectural redesigns, and formal spec or security validation. Those cases need direct review instead.

Does the simplify pass change code behavior?▼

No. The workflow explicitly forbids behavior changes. Review agents are read-only and only report findings, while the main agent applies only safe cleanups and runs targeted verification afterward.

Why run three review agents instead of one?▼

Parallel agents with separate reuse, quality, and efficiency checklists cover more issue types in a single round than one general pass. The main agent aggregates and deduplicates their findings before editing.