simplicity-first
Skill69 starsChanged 7 months agoMITView on GitHub
Prevents overengineering by enforcing minimum viable code. No speculative features, no premature abstractions, no unnecessary complexity.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fbsmna-coder/karpathy-pro-maxtheir own version, first seen Apr 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- fbsmna-coder/karpathy-pro-max★ 0same 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 repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-output-validationSkill
- api-designSkill
- ci-cd-pipelinesSkill
- code-explanationSkill
- code-reviewSkill
- context-loadingSkill
- debugging-methodologySkill
- documentationSkill
- error-handlingSkill
- frontend-engineeringSkill
- git-workflowSkill
- goal-driven-executionSkill
- hallucination-preventionSkill
- idea-to-specSkill
- incremental-codingSkill
- integration-testingSkill
- meeting-notes-to-tasksSkill
- multi-agent-orchestrationSkill
- observabilitySkill
- performance-optimizationSkill
- production-deploymentSkill
- prompt-injection-defenseSkill
- rag-and-memorySkill
- refactoringSkill
- research-and-summarizeSkill
- security-hardeningSkill
- surgical-changesSkill
- task-decompositionSkill
- test-driven-developmentSkill
- think-before-codingSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
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 20
When you feel the urge to add "just one more abstraction"
- Distinctive: line 21
When reviewing your own generated code
- Distinctive: line 22
When a simple task balloons into a complex solution
- Distinctive: line 30
If no → do not add it.
- Distinctive: line 31
Write the simplest possible implementation that satisfies each requirement.
- Distinctive: line 37
After writing, read through the code and flag:
- Distinctive: line 44
Ask: *"Would a senior engineer call this overcomplicated?"* If yes, simplify.
- Distinctive: line 50
If your solution is more than 3× the length you'd expect for the task, something is wrong.
- Distinctive: line 59
Run the tests. All pass?
- Distinctive: line 61
Check that no pre-existing tests regressed.
- Distinctive: line 63
Verify: All tests pass. No regressions.
≈ “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
Overview
AI agents trend toward complexity. They add abstractions "for flexibility," error handling for impossible cases, and configuration for things that will never change. Left unchecked, they turn 50-line solutions into 500-line systems.
This skill enforces a hard constraint: write the minimum code that solves the stated problem and nothing more.
Andrej Karpathy's observation: "They really like to overcomplicate code and APIs, bloat abstractions, don't clean up dead code... implement a bloated construction over 1000 lines when 100 would do."
When to Use
- Starting any new implementation
- When you feel the urge to add "just one more abstraction"
- When reviewing your own generated code
- When a simple task balloons into a complex solution
Process
Step 1: Define the Minimum Viable Solution
- State what the code must do — write it as a list of requirements.
- For each potential addition, ask: "Was this explicitly requested?"
- If no → do not add it.
- Write the simplest possible implementation that satisfies each requirement.
Verify: You can trace every line of code back to a stated requirement.
Step 2: Apply the Simplicity Test
- After writing, read through the code and flag:
- Abstractions used only once → inline them
- Parameters never customized → hardcode them
- Error handling for impossible scenarios → remove it
- "Future-proofing" that wasn't asked for → delete it
- Configuration flags for things that won't vary → remove them
- Ask: "Would a senior engineer call this overcomplicated?" If yes, simplify.
Verify: Each abstraction is used in at least 2 places; each parameter is actually varied.
Step 3: Count the Lines
- If your solution is more than 3× the length you'd expect for the task, something is wrong.
- Actively look for ways to reduce line count without sacrificing readability.
Rule of thumb: If 200 lines could be 50, rewrite it.
Verify: You've made at least one active attempt to reduce complexity.
Step 4: Verify Functional Correctness
- Run the tests. All pass?
- Manually check the primary use case.
- Check that no pre-existing tests regressed.
Verify: All tests pass. No regressions.
Common Rationalizations (and Rebuttals)
| Excuse | Rebuttal |
| "We might need this later" | YAGNI. Add it when you need it. Unused code is a liability. |
| "The abstraction makes it more flexible" | Flexibility you don't need adds complexity you always pay for. |
| "I'm following the existing patterns" | Don't cargo-cult complex patterns into simple contexts. |
| "It's only a few more lines" | Every extra line is a line to maintain, debug, and understand. |
| "This is more robust" | Robust against what? Name the failure mode you're defending against. |
Red Flags
- You added a factory for a class that's instantiated once
- You added configuration for values that never change
- You wrote error handling for an operation that cannot fail
- The abstraction layer is larger than the code it abstracts
- You added a parameter "just in case"
- Your PR adds 400 lines but the feature is 40 lines of actual logic
Verification
- Every line traces back to a stated requirement
- No speculative features added
- All abstractions used in 2+ places
- No error handling for impossible scenarios
- Line count is proportional to task complexity
- All tests pass
References
- surgical-changes skill
- refactoring skill
- YAGNI principle — Martin Fowler
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.

