yagni
Skill5 starsChanged 47 days agoMITView on GitHub
use this when scoping a change, adding a helper, or expanding a skill or AGENTS.md — ship the smallest thing that satisfies the current ask; defer speculative generality.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- LeonardiFranco/skillstheir own version, first seen Nov 8, 2026
- spizganed/skillstheir own version, first seen Oct 25, 2026
- microsoft/agentic-loopstheir own version, first seen Oct 12, 2026
- augments-labs/sdlc-skillstheir own version, first seen Aug 8, 2026
- Akindu23/my-agent-skillstheir own version, first seen Jun 3, 2026
- JordanCoin/codingskillstheir own version, first seen Feb 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- JordanCoin/codingskills★ 10same name
- microsoft/agentic-loops★ 5same name
- Akindu23/my-agent-skills★ 4same name
- augments-labs/sdlc-skills★ 1same name
- LeonardiFranco/skills★ 1same name
- spizganed/skills★ 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 repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- maintainers/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- buying-researcherSkill
- cursor-cloud-agents-whenSkill
- debug-anthropicSkill
- debug-pocockSkill
- debugSkill
- discover-the-ideaSkill
- docs-google-styleSkill
- golang-safetySkill
- golang-securitySkill
- golang-testingSkill
- grok-acpSkill
- host-config-pyinfraSkill
- lang-cppSkill
- lang-csharpSkill
- lang-cSkill
- lang-dartSkill
- lang-dockerSkill
- lang-goSkill
- lang-javaSkill
- lang-js-tsSkill
- lang-kotlinSkill
- lang-luaSkill
- lang-makefileSkill
- lang-phpSkill
- lang-powershellSkill
- lang-protobufSkill
- lang-pythonSkill
- lang-rubySkill
- lang-rustSkill
- lang-shellSkill
- lang-sqlSkill
- lang-swiftSkill
- lang-terraformSkill
- language-routerSkill
- lang-web-markupSkill
- modern-pythonSkill
- pr-reviewSkill
- sdlc-artifactsSkill
- sdlc-onboardingSkill
- security-hardeningSkill
- shell-safetySkill
- tddSkill
- tracker-sdlcSkill
- ui-craftSkill
- ux-designSkill
- verify-before-doneSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
9
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 12
Do not ship speculative generality: If the ask does not need it, leave it out.
- Distinctive: line 16
Prefer one focused PR: one idea, ~≤300–400 lines.
- Distinctive: line 17
Delete or skip each dead code path you replace.
- Distinctive: line 19
Keep AGENTS.md thin: ids and repo rules only.
- Distinctive: line 23
Before you do any of these, ask the operator per Asking the operator:
- Distinctive: line 32
Never remint a MERGED skill body without a new security cut.
- Distinctive: line 33
Never add marketplace installers or auto-update upstream into skills.
- Distinctive: line 34
Never add “just in case” helpers for personal finance, mail, password stores, or extra hosts.
- Distinctive: line 36
Red flags: If your plan says one of these, stop.
“Common” is measured: kept by at least 6 in 10 of the 6 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
YAGNI
The ask is what the current task asks for. Speculative generality is anything built for a need the ask does not have (a future need). Use restraint. Prefer the smallest change that meets this ask. Do not build for a need the ask does not have. This skill is compatible with tdd and verify-before-done. This skill has no scripts/.
Iron law
Do not ship speculative generality. If the ask does not need it, leave it out.
Always
- Prefer one focused PR: one idea, ~≤300–400 lines.
- Delete or skip each dead code path you replace. Never leave dual routers; keep one path.
- Reuse an existing skill id before you write a parallel procedure.
- Keep
AGENTS.mdthin: ids and repo rules only. Put procedures in skills.
Ask first
Before you do any of these, ask the operator per Asking the operator:
- New abstraction “for later reuse” with no second caller yet.
- New config flag or feature toggle with no current consumer.
- Expanding a skill past ~250 lines or adding
scripts/to a skill dir. - Second toolkit that overlaps an installed skill id: a dual-router risk.
Never
- Never remint a MERGED skill body without a new security cut; get the cut first.
- Never add marketplace installers or auto-update upstream into skills; take third-party content through INTAKE.md.
- Never add “just in case” helpers for personal finance, mail, password stores, or extra hosts; leave them out.
Red flags. If your plan says one of these, stop. Shrink the change. Ship the ask.
- “We will need this eventually”
- “Keep both routers until we migrate”
- “Add a flag so we can turn it on later”
- “Copy the full vendor skill and trim later”
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.

