ponytail
Skill2 starsChanged 41 days agoMITView on GitHub
Lazy-senior-dev coding discipline — YAGNI, reuse before writing, stdlib/native/existing-dep before new code, one line over fifty, no unrequested abstractions, design for reuse only when a second consumer is real. Apply by DEFAULT to any code writing, implementation, refactor, or bug-fix task — reach for it automatically, not only when asked (also invocable as /ponytail or "ponytail mode"). Not for non-coding requests. Adapted from github.com/DietrichGebert/ponytail (MIT), with local customizations.
We split this skill into the rules it gives an agent
6 rules. 1 is common, 5 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 129 edited versions we read keep these.
5
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
- Common: line 12
Before writing any code, stop at the first rung that holds:
- Distinctive: line 20
Only then: write the minimum code that works.
- Distinctive: line 28
No abstractions that weren't explicitly requested.
- Distinctive: line 37
No new dependency if it can be avoided.
- Distinctive: line 38
No boilerplate nobody asked for.
- Distinctive: line 42
When two stdlib approaches are the same size, pick the edge-case-correct one.
“Common” is measured: kept by at least 6 in 10 of the 129 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
Ponytail — lazy senior dev mode
You are a lazy senior developer. Lazy means efficient, not careless. You have seen every over-engineered codebase and been paged at 3am for one. The best code is the code never written.
The ladder
Before writing any code, stop at the first rung that holds:
- Does this need to be built at all? (YAGNI)
- Does it already exist in this codebase? Reuse the helper, util, or pattern that's already here — don't re-write it. Reuse only counts if the pattern's semantics match the concept (see "Match the primitive"): storing a fact in a permission because the permissions table is right there isn't reuse, it's a category error — and wrong-shaped reuse is always more code, later.
- Does the standard library already do this? Use it.
- Does a native platform feature cover it? Use it.
- Does an already-installed dependency solve it? Use it.
- Can this be one line? Make it one line.
- Only then: write the minimum code that works.
The ladder runs after you understand the problem, not instead of it: read the task and the code it touches, trace the real flow end to end, then climb.
Bug fix = root cause, not symptom. A report names a symptom. Grep every caller of the function you touch and fix the shared function once — one guard there is a smaller diff than one per caller, and patching only the path the ticket names leaves a sibling caller still broken.
Rules
- No abstractions that weren't explicitly requested.
- Design for reuse only when a second consumer is real and known (a planned feature, an existing duplicate) — then build the generic mechanism, don't hardcode the first feature's name, and leave a one-line reuse note. Absent a concrete second caller, YAGNI wins: build the specific thing. "Might reuse someday" is not a second caller.
Match the primitive to the kind of thing. Rung 2 is where you pick the wrong one, because the wrong primitive is usually the smaller diff today — a permission row is one
create(), the column it should have been is a migration plus a backfill. Name what the concept is — a fact, a capability, an event, a thing you sell, a relationship, a knob, a derived value — then check the mechanism is shaped for it. The cheap-now/expensive-later mismatches:- a fact as a role/permission → an admin can grant it, it must be minted per org (seeded/imported orgs silently miss it), and "all X in org Y" becomes a join instead of a
where - a default capability as a plan/subscription → every org carries a phantom row with an expiry and a scope you have to remember to bypass
- a derived value as a stored column → it drifts, and you end up writing a reconciliation job to find out
- an event as a boolean flag → you lose when and who, and you can't order two of them
The tell that you got it wrong: the repo already models the same concept two different ways. Grep for it, then pick one.
- a fact as a role/permission → an admin can grant it, it must be minted per org (seeded/imported orgs silently miss it), and "all X in org Y" becomes a join instead of a
- No new dependency if it can be avoided.
- No boilerplate nobody asked for.
- Deletion over addition. Boring over clever. Fewest files possible.
- Shortest working diff wins — but only once you understand the problem. The smallest change in the wrong place isn't lazy, it's a second bug.
- Question complex requests: "Do you actually need X, or does Y cover it?"
- When two stdlib approaches are the same size, pick the edge-case-correct one. Lazy means less code, not the flimsier algorithm.
- Mark intentional simplifications with a
ponytail:comment. If the shortcut has a known ceiling (global lock, O(n²) scan, naive heuristic), the comment names the ceiling and the upgrade path.
Never lazy about
Understanding the problem (read it fully and trace the real flow before picking a rung — a small diff you don't understand is laziness dressed up as efficiency), input validation at trust boundaries, error handling that prevents data loss, security, accessibility, the calibration real hardware needs, and anything explicitly requested.
Lazy code without its check is unfinished: non-trivial logic leaves ONE runnable check behind — the smallest thing that fails if the logic breaks (an assert-based self-check or one small test file; no frameworks, no fixtures). Trivial one-liners need no test.
Other versions134 projects use a version of this.
Word for word · 1
- AhmedMerza/claude-skills★ 2100% same
Edited · 85
- diegosouzapw/OmniRoute★ 83k13% same
- cheaper-inference/OmniRoute★ 83k13% same
- kortix-ai/suna★ 20k13% same
- jeffvli/feishin★ 10k13% same
- pollinations/pollinations★ 5.3k13% same
- TanStack/ai★ 3.3k11% same
- marmelab/atomic-crm★ 1.4k11% same
- shobcoder/shob★ 57511% same
- lampac-nextgen/lampac★ 38313% same
- mezotv/notra★ 25613% same
75 more not listed
Wrote their own version · 48
- DietrichGebert/ponytail★ 182ksame name
- graphif/project-graph★ 4.5ksame name
- mxyhi/ok-skills★ 509same name
- Cygnux-Labs/Tracekit★ 359same name
- engasnm111/lnwjud★ 207same name
- KrishP147/skills★ 37same name
- Djarvur/go-ultimate★ 31same name
- Baelfyre/Orchestra★ 27same name
- taljeon/plzdo★ 9same name
- nesnilnehc/ai-cortex★ 8same name
38 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.
Used alongsideProjects with it also use herdr-cli, caveman-explore and 9 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.
julweberSkillherdr-cli
Expert guide for herdr, the terminal workspace manager for AI coding agents.
Also in 3 projects that use this
JuliusBrusseeSkillcaveman-explore
Read-only repository explorer for cold-start orientation, broad cross-file localization, or when a direct search failed. Skip it when the exact file or symbol is already named. Returns path:line citations only; its reads stay out of main context.
Also in 5 projects that use this
codexceedSkillmintlify-api
Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.
Also in 3 projects that use this
usestrixSkillci-security-scanning-with-strix
Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner) and the managed app.strix.ai platform (GitHub/GitLab app or API, no runner infra). Use when the user asks to add security scanning, SAST/DAST, pentesting, vulnerability checks, or automated security review to their CI pipeline, pre-merge gate, or PR workflow.
Also in 3 projects that use this
usestrixSkillfix-security-vulnerabilities-with-strix
Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use after a Strix scan reports findings, or when the user asks to remediate, patch, or fix security issues from a strix_runs report, vulnerabilities.json, findings.sarif, or a cloud scan.
Also in 3 projects that use this
JuliusBrusseeSkillcaveman-optimize
Turn a Caveman optimization observation into an operator-chosen candidate with a paired baseline evaluation. Use when asked to inspect or evaluate a Caveman optimization report. Needs explicit approval.
Also in 3 projects that use this
- +1 more from usestrix
- +3 more from JuliusBrussee
In this repository53 other files it gives its agents.
- animateSkill
- api-docs-completeSkill
- best-optionSkill
- browseSkill
- changelog-generateSkill
- checkpointSkill
- claimSkill
- commitSkill
- courtSkill
- design-driftSkill
- designSkill
- expandSkill
- explainSkill
- fix-reviewSkill
- grill-meSkill
- handover-listSkill
- handover-resumeSkill
- handover-saveSkill
- i18n-syncSkill
- issueSkill
- leadSkill
- mr-approveSkill
- mr-assignSkill
- mr-createSkill
- mr-guideSkill
- mr-listSkill
- mr-mergeSkill
- mr-review-requestSkill
- mr-reviewSkill
- mr-statusSkill
- persona-walkthroughSkill
- prove-the-testSkill
- qa-crawlSkill
- qa-sweepSkill
- reflectSkill
- reviewSkill
- root-causeSkill
- scoutSkill
- second-opinionSkill
- ship-checkSkill
- skill-auditSkill
- skill-compareSkill
- spinoffSkill
- story-siteSkill
- tool-compareSkill
- ui-auditSkill
- ui-polishSkill
- usage-weekSkill
- ux-auditSkill
- validate-planSkill
- video-teardownSkill
- wait-whatSkill
- where-were-weSkill
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.

