Agent skill
simplify
Manually trigger the cdd-code-simplifier agent to review and simplify code
Install this agent skill to your Project
npx add-skill https://github.com/aaddrick/claude-desktop-debian/tree/main/.claude/skills/simplify
SKILL.md
Run 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
triage
implement-issue
Use when given a GitHub issue number and base branch to implement end-to-end
setup-build-tools
Install build and extraction tools needed for building Claude Desktop Debian packages
lint
Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
Didn't find tool you were looking for?