repowisedietrichgebert/ponytail

Architecture of dietrichgebert/ponytail

dietrichgebert/ponytail is 156 source files holding 686 symbols across 7 modules, written mainly in JavaScript, Python, TypeScript. The largest module is tests, with 22 files, and 3 files are entry points into the dependency graph.

How ponytail fits together

You install ponytail as a plugin in your agent, or copy AGENTS.md into your project, or add skills/ponytail/SKILL.md as a skill. That file holds the single prompt that sets the ruleset for every session. The skills/ponytail-audit and skills/ponytail-debt folders provide the audit and debt commands, and the hooks folder implements the runtime hooks that load the mode and show the band in Claude Code. You then run commands such as /ponytail-review on the current diff or /ponytail-audit on the whole repository, and the agent returns findings with fixes and notes on what was not checked.

Largest modules

  • tests: 22 files and 3,150 lines of code
  • hooks: 14 files and 2,166 lines of code
  • benchmarks: 12 files and 2,701 lines of code
  • scripts: 6 files and 377 lines of code
  • .opencode: 3 files and 189 lines of code
  • pi-extension: 3 files and 636 lines of code
  • root: 1 file and 174 lines of code

Languages

By file count: JavaScript 47 files, Python 7 files, TypeScript 6 files, Shell 1 file.

Documentation

Repowise documents ponytail in 78 pages generated from the source, 11 of them written explanations of the repository and its modules. Module guides include:

  • scripts: Build, Publish, and Validation Scripts
  • pi-extension: Pi Extension Entry Point
  • hooks: Ponytail Hooks and Telemetry

More on ponytail: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos