simplify-code
Skill1 starsChanged 58 days agoMITView on GitHub
Reduce complexity while preserving behavior. Use when code works but is hard to read, when cleaning a diff, or when the user asks to simplify.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- NousResearch/hermes-agenttheir own version, first seen Nov 13, 2026
- rakaarwaky/agents-arwakytheir own version, first seen Oct 6, 2026
- LuisUrrutia/skillstheir own version, first seen Oct 4, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- wundercorp/lokitheir own version, first seen Sep 11, 2026
- abduznik/abduznik-skillstheir own version, first seen Sep 7, 2026
Used with
Projects with it also use weekly-review-planning, blocked-page-recovery 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.
aivrarSkillweekly-review-planning
Weekly reset: commitments, stalled work, next-week plan.
Also in 7 projects that use this
aivrarSkillblocked-page-recovery
Recover blocked/paywalled/WAF'd pages via fallbacks.
Also in 7 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 8 projects that use this
kevinnftSkillpython-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
Also in 10 projects that use this
kevinnftSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 6 projects that use this
braxtonROSE4Skillp5js
Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems, flow fields, shaders (GLSL), pixel manipulation, kinetic typography, WebGL scenes, audio analysis, mouse/keyboard interaction, and headless high-res export. Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.
Also in 11 projects that use this
- +5 more from aivrar
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- NousResearch/hermes-agent★ 267ksame name
- aivrar/portable-hermes-agent★ 232same name
- nickvasilescu/korgo-bot★ 35same name
- wundercorp/loki★ 24same name
- delorenj/skills★ 15same name
- Samin12/skills★ 9same name
- alwalid-khllo/syriana-agent★ 3same name
- hassan-mohiddin/freeflow★ 3same name
- abduznik/abduznik-skills★ 2same name
- john-data-chen/hermes-agent-backup★ 2same name
9 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 repository49 other files it gives its agents.
- accessibilitySkill
- address-feedbackSkill
- agent-disciplineSkill
- agent-handoffSkill
- api-designSkill
- architecture-decisionSkill
- brainstormSkill
- browser-verifySkill
- code-reviewSkill
- containerizeSkill
- context-efficientSkill
- create-prSkill
- database-changesSkill
- debug-systematicSkill
- dependency-upgradeSkill
- docs-groundedSkill
- error-handlingSkill
- explore-codebaseSkill
- fix-ciSkill
- frontend-designSkill
- git-commitSkill
- git-worktreeSkill
- incident-triageSkill
- incremental-slicesSkill
- legacy-changeSkill
- migrate-codeSkill
- minimal-diffSkill
- observabilitySkill
- parallel-workSkill
- performance-auditSkill
- plan-before-codeSkill
- python-qualitySkill
- react-componentsSkill
- refactor-safeSkill
- release-notesSkill
- security-reviewSkill
- setup-ciSkill
- shell-safetySkill
- ship-checklistSkill
- skill-authoringSkill
- skill-routerSkill
- spec-drivenSkill
- tddSkill
- threat-modelSkill
- triage-issuesSkill
- typescript-strictSkill
- verify-workSkill
- write-docsSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
4
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 11
Prefer deleting code to adding abstractions.
- Distinctive: line 14
Remove dead branches, unused params, and speculative extension points.
- Distinctive: line 15
Do not mix feature work into a simplify pass.
- Distinctive: line 22
Stop when further changes are taste-only.
“Common” is measured: kept by at least 6 in 10 of the 19 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 Code
Rules
- Preserve exact behavior; simplify is not a rewrite.
- Prefer deleting code to adding abstractions.
- Flatten nesting; extract only when it clarifies call sites.
- Rename for intention; keep project naming conventions.
- Remove dead branches, unused params, and speculative extension points.
- Do not mix feature work into a simplify pass.
Process
- Identify the complex region and its tests/callers.
- Establish baseline tests or characterization coverage.
- Apply small clarity edits; verify after each chunk.
- Stop when further changes are taste-only.
Prefer
- Straight-line logic over clever indirection
- Explicit parameters over hidden ambient state
- Stdlib/existing helpers over new utility layers
Exit
- Behavior unchanged
- Diff is smaller in concept count, not just line count
- Tests pass
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.

