About simplify
simplify is a skill that invokes the cdd-code-simplifier agent to review code for clarity, consistency, and maintainability. It focuses on recently modified files by default and asks whether to commit if changes are made.
Key features
- 01Invoke cdd-code-simplifier agent
- 02Focus on recent changes by default
- 03Accept guidance to narrow scope
- 04Review agent changes
- 05Ask about committing modifications
Use cases
- 01Simplify recently changed files
- 02Review selected functions for clarity
- 03Focus review on a named file or concern
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aaddrick/ claude-desktop-debian --skill simplifyAfter installing, type/simplifyin Claude Code to confirm it loaded.
Details
From the project READMERun the cdd-code-simplifier agent to review and simplify code for clarity, consistency, and maintainability.
Your Task
Use the Task tool with subagent_type: "cdd-code-simplifier" to run the code simplifier.
Scope determination:
- If guidance was provided after
/simplify, pass it to the agent as part of the prompt - If no guidance provided, have the agent focus on recently modified files (use
git diff --name-only main...HEADorgit statusto identify them)
User guidance: $ARGUMENTS
After the agent completes:
- Review the changes made
- If changes were made, ask if the user wants to commit them
- Provide a brief summary of what was simplified
Examples
/simplify- Simplify recently modified files/simplify focus on build.sh error handling- Simplify with specific guidance/simplify only look at the new functions I added- Narrow the scope
Comments
Markdown supported