Simplify and refine code for clarity, consistency, and maintainability using the pr-review-toolkit:code-simplifier agent.
- Automatic dependency management: Guides installation of required
pr-review-toolkitplugin - Session continuity: Handles restart requirements with session resumption guidance
- Flexible targeting: Simplify recent changes, specific files, or described modules
- /simplify command: User-invoked command for on-demand code simplification
- Skill documentation: Comprehensive guide for manual usage
This plugin requires the pr-review-toolkit plugin from the official Claude plugins repository.
# Install to user settings (available in all projects)
claude plugin install pr-review-toolkit@claude-plugins-official
# OR install to project settings (shared with team)
claude plugin install pr-review-toolkit@claude-plugins-official --scope projectPlugins load at session start. After installing, restart Claude Code:
claude --continueclaude plugin install code-simplifier@nsheaps-claude-pluginsclaude --plugin-dir /path/to/code-simplifier/simplify # Simplify recently modified code
/simplify src/utils/parser.ts # Simplify a specific file
/simplify the authentication module # Simplify code matching descriptionThe skill triggers when asking about:
- "simplify code"
- "clean up code"
- "refactor for clarity"
- "reduce complexity"
- "make code more readable"
Example:
"Can you simplify the parser module? It's gotten too complex."
code-simplifier/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── commands/
│ └── simplify.md # /simplify command
├── skills/
│ └── code-simplifier/
│ └── SKILL.md # Usage documentation
└── README.md
- Dependency Check: Verifies
pr-review-toolkitis installed - Installation Guide: If missing, guides through CLI installation
- Restart Handling: Explains session resumption after plugin install
- Agent Delegation: Uses Task tool to launch
pr-review-toolkit:code-simplifier
See SKILL.md Quick Reference for the full CLI command reference table.
MIT