simplify-code

Reviews recent code changes with three parallel subagents and applies risk-tiered cleanup fixes.

5|2|Updated May 26, 2026
One-click install
npx skills add https://github.com/perasyudha/Nyxora --skill simplify-code-perasyudha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simplify-code
Source: https://github.com/perasyudha/Nyxora/tree/main/packages/core/playbooks/software-development/simplify-code
Command: npx skills add https://github.com/perasyudha/Nyxora --skill simplify-code-perasyudha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Cleaning up freshly written code is tedious and easy to skip, and a single broad review pass often misses duplication, quality issues, or inefficiencies hiding across files. This Skill runs three focused reviewers in parallel over your recent diff and applies the safe fixes for you. ## Core Features & Use Cases - Parallel Three-Agent Review: Launches reuse, quality, and efficiency reviewers concurrently via batch delegation, each searching the full codebase for evidence rather than guessing from the diff alone. - Risk-Tiered Fix Application: Classifies findings as SAFE (auto-apply), CAREFUL (apply with test verification), or RISKY (flag for human review), so behavior-changing edits are never applied silently. - Flexible Scoping and Dry Run: Supports focusing on one review category, scoping to a commit, branch, staged changes, or specific files, and running in report-only mode. - Use Case: After finishing a feature branch, ask to simplify your changes; the Skill reviews the diff, removes unused imports and duplicated logic, verifies tests still pass, and presents risky restructuring suggestions for your approval. ## Quick Start Ask the agent to simplify my recent code changes and report anything risky before applying it.

Frequently Asked Questions about 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?

Invoke the simplify-code skill after making changes. It captures your git diff, runs three parallel reviewers for reuse, quality, and efficiency, then applies safe fixes automatically while flagging risky changes for your approval.

How does parallel multi-agent code review work?

Three reviewers receive the complete diff plus repo access and run concurrently via batch delegation. Each focuses on one problem class, searches the codebase for evidence with file:line references, and returns structured findings with confidence and risk ratings.

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 skill runs all three reviewers, presents the merged findings across all risk tiers, and applies nothing until you approve.

Can I scope the review to a specific commit or file?

Yes, you can target staged changes, the last commit, a branch diff against main, or specific file paths. The skill selects the matching git diff command and passes that scoped diff to each reviewer.

What types of fixes are never applied automatically?

RISKY findings such as N+1 restructuring, public API renames, concurrency changes, and error-handling modifications are flagged for human review only. SAFE fixes like unused imports and CAREFUL refactors are applied with test verification.