flpbalada/fb-skills/code-simplifier
Claude Code and agent skill by flpbalada/fb-skills
- community
Checking that the SKILL.md file is still in the repository.
Simplify recently changed code without changing behavior. Use after implementation when working code has excess nesting, repetition, indirection, unclear names, redundant branches, or needless abstraction. Scope stays near touched code and favors guard clauses and readability. For larger planned restructuring use refactoring; for extracting component pieces use decompose.
Install
npx vskill@latest install flpbalada/fb-skills/code-simplifierSKILL.md
The same SKILL.md was published earlier as flpbalada/fb-skills/code-simplifier.
Code Simplifier
Simplify code. Preserve behavior.
Goal
Make code easier to read, debug, and maintain. Do not change outputs, side effects, APIs, or user behavior.
Scope
- Recently modified code only.
- Broader scope only when explicitly requested.
Rules
- Preserve features, outputs, side effects, and public behavior.
- Prefer guard clauses over nested branches.
- Prefer clear names over comments.
- Remove redundant abstraction.
- Keep useful abstraction.
- Cut needless nesting, repetition, and indirection.
- Avoid nested ternaries and clever one-liners.
- Do not merge unrelated concerns.
- Do not trade readability for fewer lines.
Flow
- Find touched code.
- Identify high-friction logic.
- Flatten control flow where safe.
- Remove duplication when it clearly helps.
- Rename unclear locals when useful.
- Keep behavior identical.
- Run relevant checks when feasible.
Output
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-simplifier/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/flpbalada/fb-skills/code-simplifier)