agentleFS
dekozadekoza/oh-my-slop/skills/workflow/ponytail-audit/SKILL.md

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

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.
  • NzettodessSkill

    ponytail-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

  • jorgeasaurusSkill

    ponytail-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

  • jorgeasaurusSkill

    ponytail-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

  • KubementatSkill

    ponytail

    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

  • MicrosoftSkill

    caveman

    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

  • OpenAISkill

    writing-plans

    Use when you have a spec or requirements for a multi-step task, before touching code

    Also in 3 projects that use this

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
  1. Distinctive:

    Read the tree and look for: dependencies the stdlib or platform already ships.

    line 37
  2. Distinctive:

    If the module is being consolidated in recent commits, the "simplify" signal is residual from a pre-consolidation state.

    line 55
  3. Very specific:

    Before flagging anything delete or yagni, confirm the cross-file usage yourself — grep the repo and read the callers.

    line 58

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.