Skip to content

/ponytail-audit

Whole-repo audit for over-engineering. Like ponytail-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what

From plugin
ponytail
137k6 skills8 hooks
Install
$ npx -y skills add DietrichGebert/ponytail --skill ponytail-audit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ponytail-audit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Whole-repo audit for over-engineering. Like ponytail-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what

SKILL.md

ponytail-audit.SKILL.md
name: ponytail-audit
description: >
  Whole-repo audit for over-engineering. Like ponytail-review, but scans the
  entire codebase instead of a diff: a ranked list of what to delete, simplify,
  or replace with stdlib/native equivalents. Use when the user says "audit this
  codebase", "audit for over-engineering", "what can I delete from this repo",
  "find bloat", "ponytail-audit", or "/ponytail-audit". One-shot report, does
  not apply fixes.

ponytail-review, repo-wide. Scan the whole tree instead of a diff. Rank findings biggest cut first.

Tags

Same as ponytail-review:

  • `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

Deps 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.

Output

One line per finding, ranked: `<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 explicitly out of scope. Route them to a normal review pass. Lists findings, applies nothing. One-shot. "stop ponytail-audit" or "normal mode" to revert.

Read more
Ships withponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

Get the whole plugin, auto-invoked
Stats
137,935
Stars
7,399
Forks
Active
Maintenance
JavaScript
Language
MIT
License
2h ago
Last commit
3mo ago
Created

Repo: DietrichGebert/ponytail

Other skills on ponytail.