simplify
Skill9 starsChanged 4 months agoMITView on GitHub
Simplify and refine recently modified code for clarity and consistency. Use after writing or modifying code, during cleanup passes, or when asked to simplify/refactor without changing behavior.
73 other projects use a version of this.
Adopted by
Most recently taken up by
- Sayhi-bzb/CharDesktheir own version, first seen Oct 6, 2026
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- duncanmorris/agent-skillstheir own version, first seen Oct 5, 2026
- HMBSbige/skillstheir own version, first seen Oct 3, 2026
- LegendApp/legend-skillstheir own version, first seen Oct 2, 2026
- bex-co/bextheir own version, first seen Sep 29, 2026
Used with
Projects with it also use clonedeps, deepwork and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hbollonSkillclonedeps
Clone important project dependency source code into an ignored local workspace so OpenCode can inspect library internals. Use when the user asks to clone dependencies, inspect dependency/source internals, understand SDK/framework behavior from source, debug library implementation details, or make core dependency repos locally readable. Do not use for ordinary API/docs questions where @librarian is enough.
Also in 3 projects that use this
hbollonSkilldeepwork
Orchestrator-only workflow for heavy coding sessions, multi-phase implementation, and risky refactors. Use for complex work that needs planning, review gates, and persistent progress tracking.
Also in 3 projects that use this
JordanCoinSkillcodemap
Analyze codebase structure, dependencies, changes, cross-agent handoffs, and get code-aware intelligence. Use when user asks about project structure, where code is located, how files connect, what changed, how to resume work, before starting any coding task, when you need risk analysis and skill guidance, or when Codemap should tune project config before analysis.
Also in 4 projects that use this
llama-farmSkillcommit-push-pr
Commit changes, push to GitHub, and open a PR. Includes quality checks (security, patterns, simplification). Use --quick to skip checks.
Also in 3 projects that use this
nicolasestremSkillfinalize
Complete project finalization with quality gates and git workflow automation.
Also in 3 projects that use this
PostHogSkillreact-doctor
Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.
Also in 3 projects that use this
Other versions73 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 73
- huggingface/OpenEnv★ 2.6ksame name
- kdlbs/kandev★ 899same name
- Archive228/loopkit★ 756same name
- truffle-ai/dexto★ 650same name
- bex-co/bex★ 569same name
- Sayhi-bzb/CharDesk★ 547same name
- brianlovin/agent-config★ 375same name
- akitaonrails/my-skills★ 205same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- sd0xdev/sd0x-harness★ 191same name
63 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- adversarial-reviewSkill
- agent-first-repoSkill
- agents-mdSkill
- architecture-mdSkill
- behavioral-testingSkill
- cleanup-swiftSkill
- cleanup-webSkill
- clear-communicationSkill
- code-commentsSkill
- design-patterns-gofSkill
- design-systemSkill
- distill-to-skillSkill
- git-safe-pr-workflowSkill
- git-worktreeSkill
- karpathy-guidelinesSkill
- lean-ts-patternsSkill
- macos-swift-desktopSkill
- modern-cssSkill
- no-use-effectSkill
- parse-dont-validateSkill
- pr-review-triageSkill
- technical-writingSkill
- typescript-refactoringSkill
- typescriptSkill
- update-readmeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 71 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Prefer clear flow over clever expressions.
- Distinctive: line 14
Prefer names that explain intent over comments that explain mechanics.
- Distinctive: line 15
Remove code that no longer earns its place: dead branches, unused parameters, duplicate logic, speculative options, and redundant wrappers.
- Distinctive: line 16
Keep related logic together.
- Distinctive: line 21
Look for changes that make the next reader do less work:
- Distinctive: line 24
delete obsolete checks or branches
- Distinctive: line 32
Do not make code shorter if it becomes harder to read, debug, test, or change.
- Distinctive: line 39
remove names that encode domain meaning
- Distinctive: line 41
create broad abstractions for one local problem
- Distinctive: line 49
Keep a helper when it:
- Distinctive: line 82
Check each candidate against the call site: is the code easier to understand after the change?
- Distinctive: line 84
If no change improves clarity, say so.
- Distinctive: line 88
When proposing changes, explain:
- Distinctive: line 94
If a possible simplification is not worth doing, mention it only when the rejection teaches something useful.
“Common” is measured: kept by at least 6 in 10 of the 71 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Simplify
Simplify code by making intent easier to see without changing behavior.
Rules
- Preserve behavior. Do not change outputs, side effects, timing assumptions, public APIs, or error behavior unless asked.
- Prefer clear flow over clever expressions.
- Prefer names that explain intent over comments that explain mechanics.
- Remove code that no longer earns its place: dead branches, unused parameters, duplicate logic, speculative options, and redundant wrappers.
- Keep related logic together. Split code only when the new boundary has a clear name and purpose.
- Match the surrounding style. Do not reformat or modernize unrelated code.
What to simplify
Look for changes that make the next reader do less work:
- flatten unnecessary nesting
- delete obsolete checks or branches
- replace vague names with specific names
- collapse duplicate code
- remove speculative abstraction
- move low-level detail out of high-level flow when it hides intent
What not to simplify
Do not make code shorter if it becomes harder to read, debug, test, or change.
Avoid changes that:
- combine unrelated concerns
- expose low-level mechanics at an important call site
- replace clear control flow with dense expressions
- remove names that encode domain meaning
- introduce new patterns not already present
- create broad abstractions for one local problem
Single-use helpers
Single-use is evidence, not a verdict.
Inline a helper when its body is clearer than its name and the call site becomes easier to read.
Keep a helper when it:
- names a domain concept or business rule
- makes a predicate, comparator, transformation, or callback read naturally
- hides multiple checks, branches, or boolean operators behind one intent-revealing name
- separates high-level flow from low-level mechanics
Reject an inline suggestion when the result exposes more boolean logic, nesting, or implementation detail at the call site.
Good simplification test
A simplification is good when:
- the next reader can understand the code faster
- the changed code has fewer concepts, not only fewer lines
- behavior and boundaries stay the same
- the diff is smaller than the problem it solves
Reject a simplification when the main benefit is aesthetic, theoretical, or based only on line count.
Stop conditions
Stop when:
- remaining changes are taste preferences
- a refactor needs broader context than the modified code provides
- the code is already clear enough
- the simplification would require new tests, migration work, or API changes
Review process
- Identify the modified code.
- Find concrete simplifications, not theoretical improvements.
- Check each candidate against the call site: is the code easier to understand after the change?
- Preserve behavior exactly.
- If no change improves clarity, say so.
Output
When proposing changes, explain:
- what gets simpler
- why behavior stays the same
- what trade-off, if any, the change makes
If a possible simplification is not worth doing, mention it only when the rejection teaches something useful.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

