simplify
Automates code simplification and cleanup for recently modified files using a dedicated agent.
Install
mkdir -p .claude/skills/simplify && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3475" && unzip -o skill.zip -d .claude/skills/simplify && rm skill.zipInstalls to .claude/skills/simplify
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Manually trigger the cdd-code-simplifier agent to review and simplify codeKey capabilities
- →Review code quality
- →Identify areas for simplification
- →Target specific git diffs
- →Apply consistency standards
How it works
Triggers a specialized code-simplifier agent to perform static analysis and suggest structural improvements.
Inputs & outputs
When to use simplify
- →Simplify recently modified code
- →Improve readability of specific functions
- →Ensure consistent coding standards
About this skill
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
When not to use it
- →On legacy code requiring preservation
- →When specific refactoring constraints are tight
Prerequisites
Limitations
- →Requires user verification of changes
- →Limited by the agent's simplification model
How it compares
It provides targeted, agentic refactoring suggestions rather than generic code review prompts.
Compared to similar skills
simplify side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| simplify (this skill) | 2 | 6mo | No flags | Intermediate |
| tdd-workflows-tdd-refactor | 1 | 4mo | No flags | Intermediate |
| effective-go | 323 | 9mo | No flags | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by aaddrick
View all by aaddrick →You might also like
tdd-workflows-tdd-refactor
sickn33
Use when working with tdd workflows tdd refactor
effective-go
openshift
Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
solid-principles
SmidigStorm
Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.
typescript-review
metabase
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
claude-automation-recommender
anthropics
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what Claude Code features they should use.