simplicity-first
Skill0 starsChanged 8 months agoMITView on GitHub
Write the minimum code that solves the stated problem. Use when implementing features, fixing bugs, or refactoring — to prevent speculative abstractions, configurability nobody asked for, and error handling for impossible scenarios.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- DevelopersGlobal/ai-agent-skillstheir own version, first seen May 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- DevelopersGlobal/ai-agent-skills★ 69same 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 repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- anti-hallucinationSkill
- hostile-self-reviewSkill
- memory-hygieneSkill
- session-closerSkill
- surgical-editsSkill
- think-before-codingSkill
- verifiable-criteriaSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 13
Before submitting a diff, ask: "Would a senior engineer say this is overcomplicated?" If yes, rewrite.
- Distinctive: line 32
If the diff is 200 lines and you can imagine a 50-line version, write the 50-line version.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
LLMs overengineer by default. They add factories, options bags, plugin hooks, and graceful degradation for failure modes that cannot occur in the actual environment. This skill enforces minimum viable code.
The test
Before submitting a diff, ask: "Would a senior engineer say this is overcomplicated?" If yes, rewrite.
What to cut
- Features beyond what was asked. ("While I'm here, I added retry logic.")
- Abstractions for single-use code. (No
BaseHandlerfor one handler.) - Configurability nobody requested. (No env vars, no options dict, no strategy pattern.)
- Error handling for impossible scenarios. (No
try/exceptaround code that cannot raise. No null checks on values guaranteed by the type system.) - Comments that restate the code. (
# increment counterabovecounter += 1.) - Backwards-compatibility shims for code with one caller you control.
What to keep
- Validation at real system boundaries: user input, external APIs, file I/O.
- Comments that explain why something non-obvious is the way it is.
- Abstractions with ≥3 actual current callers (not "future" callers).
Heuristic
If the diff is 200 lines and you can imagine a 50-line version, write the 50-line version. Ship that. The 200-line version is not "more robust" — it is more surface area for bugs.
When NOT to apply
- Production systems with hard reliability requirements (banking, medical, infra) — extra defensive coding is the job.
- Code that is genuinely a framework / library with multiple downstream consumers.
- Performance-critical paths where the "complex" version is measurably faster.
Example
Bad (47 lines):
class UserFetcher:
def __init__(self, db, cache=None, logger=None, retry_count=3):
self.db = db
self.cache = cache or NoOpCache()
self.logger = logger or logging.getLogger(__name__)
self.retry_count = retry_count
def fetch(self, user_id):
if not isinstance(user_id, int):
raise TypeError(...)
# ... 35 more linesGood (3 lines):
def fetch_user(db, user_id):
return db.execute("SELECT * FROM users WHERE id = ?", (user_id,)).fetchone()The first version anticipates needs that do not exist. The second can be expanded when those needs appear.
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.

