
Code Simplifier
A comprehensive refactoring rulebook packaged as a Claude skill. It walks through 47 specific rules across 8 categories, from critical stuff like reading CLAUDE.md and preserving behavior to lower priority items like language-specific idioms. The priority system is sensible: context discovery and behavior preservation come first, then scope management and control flow, finally naming and dead code cleanup. Each rule links to detailed examples with before/after code. The approach is pragmatic, emphasizing small diffs, existing project conventions over generic best practices, and explicit code over clever one-liners. Worth noting the rule of three forduplication and the emphasis on recently modified code only. Good for teams wanting consistent refactoring standards without the usual hand-waving about clean code.
- skills.sh installs
- 1.6K
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill code-simplifier --agent claude-codeInstalls into .claude/skills of the current project.
Files
Community Code Simplification Best Practices
Comprehensive code simplification guide for AI agents and LLMs. Contains 47 rules across 8 categories, prioritized by impact from critical (context discovery, behavior preservation) to incremental (language idioms). Each rule includes detailed explanations, real-world examples comparing incorrect vs. correct implementations, and specific impact metrics.
Core Principles
- Context First: Understand project conventions before making any changes
- Behavior Preservation: Change how code is written, never what it does
- Scope Discipline: Focus on recently modified code, keep diffs small
- Clarity Over Brevity: Explicit, readable code beats clever one-liners
When to Apply
Reference these guidelines when:
- Simplifying or cleaning up recently modified code
- Reducing nesting, complexity, or duplication
- Improving naming and readability
- Applying language-specific idiomatic patterns
- Reviewing code for maintainability issues
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Category
- Code Review & Quality
- First seen
- May 16, 2026
More from pproenca/dot-skills
All 100- Expo React Native Performance1.5K
- Nextjs1.2K
- Playwright1.2K
- Framer Motion1.2K
- Wxt Browser Extensions1.1K
- Msw897
- Tanstack Query858
- Clean Code857
- Terminal Ui853
- Ui Design827
- Typescript Refactor799
- React Refactor791
- Chrome Extension Ui732
- Shadcn732
- Chrome Extension729
- Shell704
- Tailwind657
- Refactor651
- Expo561
- React496
- Tailwind Responsive Ui470
- Tailwind Ui Refactor467
- Zustand453
- Debug444