ponytail-audit
Skill4 starsChanged 8 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".
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
2
Distinctive
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 measured: kept by at least 6 in 10 of the 16 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 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
Other versions56 projects use a version of this.
Word for word · 0
None found.
Edited · 43
- kortix-ai/suna★ 20k50% same
- marmelab/atomic-crm★ 1.4k46% same
- mezotv/notra★ 25650% same
- usenotra/notra★ 25650% same
- engasnm111/lnwjud★ 20550% same
- jacred-fdb/jacred★ 12850% same
- felipebasurto/viajante★ 2821% same
- sampleXbro/agentsmesh★ 2450% same
- mirkobozzetto/espresso★ 2338% same
- Wenaixi/dsh-ponytail★ 2050% same
33 more not listed
Wrote their own version · 13
- DietrichGebert/ponytail★ 176ksame name
- Cygnux-Labs/Tracekit★ 4same name
- ZerroDevs/AgentsHub★ 4same name
- shaderera/shaderera★ 3same name
- qihangzhang-272/agent-skill-library★ 2same name
- mihaimurra001/preConfigProject★ 1same name
- raditia/CraftKit★ 1same name
- Eclipter/agents★ 0same name
- Hiraeth-Wave/Skills★ 0same name
- kitloomlk-stack/code-review-security-kit★ 0same name
3 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 caveman-review, caveman-commit and 10 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.
huangzidaSkillcaveman-review
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Also in 4 projects that use this
huangzidaSkillcaveman-commit
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Also in 4 projects that use this
JuliusBrusseeSkillcaveman-stats
Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report. Trigger: /caveman-stats.
Also in 3 projects that use this
JuliusBrusseeSkillcavecrew
When to delegate to `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit) or `cavecrew-reviewer` (diff review) instead of working inline or using `Explore`. Their output is compressed, so main context lasts longer.
Also in 3 projects that use this
MicrosoftSkillimpeccable
Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks.
Also in 8 projects that use this
jaydubya818Skillthermo-nuclear-code-quality-review
Use when the user requests an intentionally strict maintainability review.
Also in 3 projects that use this
- +2 more from huangzida
In this repository73 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
- writing-for-agentsSkill
- django-allauthSkill
- djangoSkill
- dockerSkill
- drfSkill
- full-calendarSkill
- giteaSkill
- htmxSkill
- http-status-codesSkill
- hyperscriptSkill
- langchainSkill
- litestarSkill
- prestashopSkill
- prSkill
- 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
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

