ponytail-audit
Skill4 starsChanged 9 months agoUnlicenseView on GitHub
Use when the user wants the codebase swept for over-engineering and bloat and a ranked list of what to cut — dead code, reinvented stdlib, single-implementation abstractions, pass-through wrappers, dead flags. Read-only, one-shot report; applies nothing. Triggers on: "audit this codebase", "find bloat", "what can I cut", "trim this down", "YAGNI check", "over-engineering check", "reduce code surface".
24 other projects use a version of this, 22 of them edited.
Adopted by
Most recently taken up by
- rakaarwaky/agents-arwakyedited, first seen Oct 6, 2026
- kortix-ai/sunaedited, first seen Oct 5, 2026
- Wenaixi/dsh-ponytailtheir own version, first seen Oct 4, 2026
- engasnm111/lnwjudedited, first seen Sep 29, 2026
- jd-solanki/krutrimboxedited, first seen Sep 27, 2026
- YogirajA/Claude-Skillsedited, first seen Sep 17, 2026
Used with
Projects with it also use ponytail-gain, ponytail-help and 5 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.
NzettodessSkillponytail-gain
Show ponytail's measured impact as a compact scoreboard: less code, less cost, more speed, from the benchmark medians. One-shot display, not a persistent mode, and not a per-repo number. Trigger: /ponytail-gain, "ponytail gain", "what does ponytail save", "show ponytail impact", "ponytail scoreboard".
Also in 13 projects that use this
jorgeasaurusSkillponytail-help
Quick-reference card for all ponytail modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /ponytail-help, "ponytail help", "what ponytail commands", "how do I use ponytail".
Also in 13 projects that use this
jorgeasaurusSkillponytail-review
Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.
Also in 18 projects that use this
KubementatSkillponytail
Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).
Also in 18 projects that use this
MicrosoftSkillcaveman
Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules
Also in 5 projects that use this
OpenAISkillwriting-plans
Use when you have a spec or requirements for a multi-step task, before touching code
Also in 3 projects that use this
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 22
- kortix-ai/suna★ 20k50% same
- engasnm111/lnwjud★ 19850% same
- sampleXbro/agentsmesh★ 2550% same
- gongyijie85/dsh-ponytail★ 1650% same
- jorgeasaurus/agent-skills★ 1346% same
- PanPanFR/oh-my-kilo★ 1250% same
- tylerbutler/repoverlay★ 950% same
- MH221B/skills★ 249% same
- saqie803/ponytail★ 250% same
- agrivisionai/claude-skills★ 150% same
12 more not listed
Wrote their own version · 2
- DietrichGebert/ponytail★ 197ksame name
- Wenaixi/dsh-ponytail★ 14same 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 repository70 other files it gives its agents.
- agent/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-guardrails-claude-codeSkill
- setup-project-skillsSkill
- skill-creatorSkill
- websearchSkill
- writing-great-skillsSkill
- codebase-designSkill
- construction-craftSkill
- critical-partnerSkill
- data-intensiveSkill
- diagnosing-bugsSkill
- django-disciplineSkill
- docker-disciplineSkill
- documentation-lifecycleSkill
- domain-driven-designSkill
- enterprise-patternsSkill
- git-disciplineSkill
- legacy-codeSkill
- production-readinessSkill
- refactoring-passSkill
- resolving-merge-conflictsSkill
- tddSkill
- testing-workflowSkill
- ui-design-directionSkill
- webapp-testingSkill
- django-allauthSkill
- djangoSkill
- dockerSkill
- drfSkill
- full-calendarSkill
- giteaSkill
- htmxSkill
- http-status-codesSkill
- hyperscriptSkill
- langchainSkill
- litestarSkill
- prestashopSkill
- pykeSkill
- python-asyncSkill
- tablerSkill
- cleanroom-rewriteSkill
- councilSkill
- court-jesterSkill
- domain-modelingSkill
- fix-prSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- humanifySkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- ponytail-debtSkill
- prototypeSkill
- qaSkill
- researchSkill
- restore-test-pyramidSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Read the tree and look for: dependencies the stdlib or platform already ships.
- Distinctive: line 55
If the module is being consolidated in recent commits, the "simplify" signal is residual from a pre-consolidation state.
- Very specific: line 58
Before flagging anything delete or yagni, confirm the cross-file usage yourself — grep the repo and read the callers.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Ponytail Audit
A whole-repo audit for over-engineering. Read the codebase, then produce a ranked list of what to cut. Read-only — no files are modified, no fixes applied.
This audit is model-driven, not heuristic. Over-engineering detection is a cross-file, intent-laden judgment: a function is only dead once you've confirmed nothing references it across the whole repo; an abstraction is only speculative once you've counted its implementations everywhere; a wrapper is only pass-through once you've read what it actually does. Name patterns and per-file occurrence counts cannot make those calls — they produce near-universal false positives. So read the code, reason about usage and intent, and only flag what you can justify against the actual code.
Tags
delete:dead code, unused flexibility, speculative feature. Replacement: nothing.stdlib:hand-rolled thing the standard library ships. Name the function.native:dependency or code doing what the platform already does. Name the feature.yagni:abstraction with one implementation, config nobody sets, layer with one caller.shrink:same logic, fewer lines. Show the shorter form.
Hunt
Read the tree and look for: dependencies the stdlib or platform already ships; single-implementation interfaces; factories with one product; wrappers that only delegate; files exporting one thing; dead flags and config; hand-rolled stdlib.
For a broader set of smells to detect (long methods, duplicated code, feature envy,
shotgun surgery, primitive obsession, etc.), see Smell Catalog.
The existing tags (delete, stdlib, native, yagni, shrink) still apply — the
catalog adds what to look for, not new output format.
Accidental coupling — unrelated concerns sharing one file because they share
a category name, not a domain concept. Example: three middlewares in
middleware.py that have no behavioral relationship. This is not deepening —
it's a file organization mistake. Flag as shrink: with recommendation to split
into focused modules.
Lagging indicators — before flagging a module as both "too shallow" (deepen)
and "too bloated" (simplify), check git log --oneline -10 for recent refactors.
If the module is being consolidated in recent commits, the "simplify" signal is
residual from a pre-consolidation state. Skip it.
Before flagging anything delete or yagni, confirm the cross-file usage
yourself — grep the repo and read the callers. A Django view referenced by
string in urls.py is not dead; a Protocol implemented in another module
has more than one implementation; a settings flag is config, not a dead
feature flag. A finding you cannot justify against the actual code is a false
positive; drop it rather than pad the report.
Output
One line per finding, ranked biggest cut first:
<tag> <what to cut>. <replacement>. [path]End with:
net: -<N> lines, -<M> deps possible.Nothing to cut: Lean already. Ship.
Boundaries
Scope: over-engineering and complexity only. Correctness bugs, security holes, and performance are out of scope — route them to a normal review, not this one. Lists findings, applies nothing. One-shot.
Stop after presenting. Present the ranked findings, then ask the user
which to act on — and stop. Do not start fixing, do not re-explore the
codebase to "build confidence," and do not drift into a general architecture
tour ("let me look at key modules, URL patterns, the overall architecture…").
That broader tour is a different activity; if the user wants it, that's what
improve-codebase-architecture is for. The findings are cheap for the user
to triage; they don't need you to pre-validate the whole codebase first.
Pair with
- codebase-design — the "before you build" ladder that prevents bloat in the first place
- ponytail-debt — tracking shortcuts deliberately left behind
- court-jester — adversarial review of whether a finding is actually bloat or justified complexity
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.

