
Code Simplifier
Concise guide that simplifies recently modified code while preserving exact behavior across 47 rules.
- skills.sh installs
- 1.6K
- GitHub stars
- 227
- last updated
- Aug 21, 2026
What it does
- Covers context discovery, behavior preservation, scope management, control flow, naming, duplication, dead code, and language idioms
- Lists 47 rules in 8 prioritized categories, from CRITICAL context and behavior checks down to LOW-MEDIUM language idioms
- Enforces reading CLAUDE.md and lint configs first, with project conventions overriding generic best practices
- Designed for AI agents and LLMs performing cleanup, refactoring, or readability work on recent changes
Install
$ npx -y skills add pproenca/dot-skills --skill code-simplifier -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
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
- Tanstack Query983
- Msw910
- Clean Code869
- Terminal Ui866
- Ui Design836
- Typescript Refactor807
- React Refactor800
- Shadcn741
- Chrome Extension Ui739
- Chrome Extension735
- Shell713
- Tailwind665
- Refactor661
- Expo569
- React503
- Tailwind Responsive Ui480
- Tailwind Ui Refactor474
- Zustand462
- Debug452
Similar to Code Simplifier
More Code Review & Quality
adversarial-reviewpoteto/noodle1.6K installsAdversarial code review using cross-model approach. Spawns reviewers on the opposing model (Claude uses Codex, Codex uses Claude) to challenge work from distinc
flows-code-reviewcognitedata/builder-skills1.6K installsRun the technical (code) review step of Flows app certification. Produces three artifacts under reviews/code-review/feedback-round-<N>/: review-files.md (per-fi
code-review-qualityproffesor-for-testing/agentic-qe1.6K installsConduct context-driven code reviews focusing on quality, testability, and maintainability. Use when reviewing code, providing feedback, or establishing review p
swift-stylejohnrogers/claude-swift-engineering1.5K installsSwift code style conventions for clean, readable code. Use when writing Swift code to ensure consistent formatting, naming, organization, and idiomatic patterns
ruff-recursive-fixgithub/awesome-copilot1.5K installsRun Ruff checks with optional scope and rule overrides, apply safe and unsafe autofixes iteratively, review each change, and resolve remaining findings with tar
kaizenneolabhq/context-engineering-kit1.4K installsUse when Code implementation and refactoring, architecturing or designing systems, process and workflow improvements, error handling and validation. Provide teh