simplicity-first
Skill1 starsChanged 14 days agoMITView on GitHub
Use during any implementation task to write the minimum code that solves the actual problem and nothing speculative — no features beyond the ask, no abstraction for single-use code, no configurability/flexibility that wasn't requested, no error handling for impossible states. If you wrote 200 lines where 50 would do, rewrite it. Do NOT use for limiting the size of an edit to existing code (that is small-diff-surgical-change) or for reusing an existing implementation instead of building one (that is reuse-before-create).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- DevelopersGlobal/ai-agent-skillstheir own version, first seen Oct 25, 2026
- OpenRLHF/OpenRLHFtheir own version, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- OpenRLHF/OpenRLHF★ 10ksame name
- DevelopersGlobal/ai-agent-skills★ 216same name
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 repository15 other files it gives its agents.
- codebase-mapping-forgeSkill
- conformance-lintSkill
- skill-editorSkill
- spec-style-forgeSkill
- honesty-vocabularySkill
- karpathy-guidelinesSkill
- reuse-before-createSkill
- small-diff-surgical-changeSkill
- surface-assumptionsSkill
- trace-to-consumerSkill
- verification-before-advanceSkill
- adversarial-review-loopSkill
- blind-evalSkill
- sandbox-isolationSkill
- skill-improvement-loopSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 23
When you've written a lot of code for a small requirement — stop and re-read it.
- Distinctive: line 24
When a spec over-asks (requests flexibility the real use has no consumer for) — push back.
- Distinctive: line 37
The rewrite test: If you wrote 200 lines and it could be 50, rewrite it.
- Distinctive: line 61
When a *second* kind of preference actually appears with a real second consumer, introduce the abstraction then — it will be …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Simplicity First
Models default to over-engineering: a speculative interface for one implementation, config for one caller, a "flexible" framework for a one-off, error handling for states that cannot occur. Every one of those is a cost you pay forever — more to read, more to test, more to break. The rule: write the minimum code that solves the stated problem, and nothing speculative.
When it triggers
- Any implementation task.
- The moment you feel the pull to add an interface / factory / strategy / config flag / generic layer "in case we need it later."
- When you've written a lot of code for a small requirement — stop and re-read it.
- When a spec over-asks (requests flexibility the real use has no consumer for) — push back.
The rule
- Minimum code that solves the problem. Solve the case in front of you, not an imagined family of cases.
- No features beyond what was asked. No "while we're at it."
- No abstraction for single-use code. One caller → inline it. Add the interface when the second real caller arrives (YAGNI), not in anticipation of it.
- No configurability / flexibility that wasn't requested. A config flag with one value is a liability, not an option.
- No error handling for impossible scenarios. Handle the inputs that can actually occur; don't guard against states the type system or upstream already rule out.
- The rewrite test. If you wrote 200 lines and it could be 50, rewrite it. Ask: "Would a senior engineer call this overcomplicated?" If yes, simplify before you ship.
Key points — what this is NOT
- Not minimal diff (→
small-diff-surgical-change): that governs how much existing code you touch. This governs how much new complexity you invent. You can add clean minimal code via a sprawling diff, or a small diff that introduces a needless abstraction — the two disciplines catch different failures. - Not reuse (→
reuse-before-create): reusing what exists is usually the simplest design, so run that search first — but "simple" can also mean writing three obvious lines rather than wiring up a heavy existing framework you don't need. - Simplicity is not terseness or cleverness. Clear, boring, obvious code is the goal; a dense one-liner that hides intent fails this skill too.
Worked example
Task: "Store a user's preferred language."
- Over-engineered. A
PreferenceProviderinterface, aPreferenceProviderFactory, aPreferenceStrategyenum, a caching layer, and a config flag to switch storage backends — for a single string on a single entity. Hundreds of lines, and every future reader must understand the indirection to change one field. - Simple. One column (or field) + its getter/setter, read where the UI needs it. A dozen lines. When a second kind of preference actually appears with a real second consumer, introduce the abstraction then — it will be better-informed by two real cases than by zero.
Second example: "Parse this one fixed internal CSV." Over-engineered: a pluggable format-detecting parser registry with a plugin SPI. Simple: split on the delimiter with the known columns; add a real parser library only if the input format is actually variable.
Anti-patterns
- Adding an interface / factory / strategy for a single implementation.
- Config flags, hooks, or extension points no requirement asked for.
- Handling inputs that cannot occur (defensive code against impossible states).
- Building a generic "framework" for a one-off task.
- 200 lines where 50 would do.
- Premature performance optimization with no measured problem.
- A dense, clever one-liner that hides intent (simple ≠ terse).
Related skills
small-diff-surgical-change— minimal diff to existing code; this is minimal new complexity.reuse-before-create— the simplest code is often code you don't write because it already exists; run that search first.surface-assumptions— when a simpler approach exists, say so and push back on an over-asking spec.karpathy-guidelines— bias 2 (simplicity first), in context.
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.

