simplify
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
More from aaddrick/claude-desktop-debian
lint
Run shellcheck and actionlint on shell scripts and GitHub Actions workflows. Use before pushing or when fixing lint issues.
44setup-build-tools
Install build and extraction tools needed for building Claude Desktop Debian packages
44writing-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
21improvement-loop
Use after resolving a bug, failed task, or unexpected agent behavior to improve the pipeline skills, agents, hooks, or scripts that contributed to the problem. Also proactively suggest improvements when recurring patterns or inefficiencies are observed.
18implement-issue
Use when given a GitHub issue number and base branch to implement end-to-end
18writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
17