ponytail-debt

Harvest ponytail comment markers into a tracked technical debt ledger.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fusuyfusuy/dot-agents --skill ponytail-debt-fusuyfusuy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ponytail-debt
Source: https://github.com/fusuyfusuy/dot-agents/tree/main/skills/ponytail-debt
Command: npx skills add https://github.com/fusuyfusuy/dot-agents --skill ponytail-debt-fusuyfusuy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deliberate shortcuts marked with ponytail: comments in code tend to be forgotten, turning intentional deferrals into untracked technical debt. This Skill scans the codebase for every ponytail marker and consolidates them into a verifiable debt ledger with explicit ceilings and upgrade triggers. ## Core Features & Use Cases - Marker Harvesting: Scans the repository for #, //, /* */, and -- style ponytail comments and parses their 3-tuple format (what, ceiling, upgrade trigger). - CI Validation Gate: Runs mimori debt check to verify marker schema validity and enforce a hard 30-line total debt ceiling, exiting non-zero on failure. - Ledger Synchronization: Syncs in-code markers into .agents/memory.md under ## KNOWN DEBT, preserving operator waivers and purging stale entries. - Use Case: Before a release, run the debt check to confirm all deferred shortcuts have concrete upgrade triggers and that total debt stays within the agreed ceiling. ## Quick Start Ask the agent to list all ponytail debt markers in the repository and sync them into the known debt ledger.

Frequently Asked Questions about ponytail-debt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track technical debt markers in source code comments?▼

Annotate deliberate shortcuts with ponytail comments in the format `ponytail: <what> <- <ceiling> -> <upgrade_trigger>`, then run the debt list command to harvest all markers across the repository into a single ledger.

How do I enforce a technical debt ceiling in CI?▼

Run `mimori debt check` in your CI pipeline. It validates that every marker has a concrete trigger and non-empty ceiling, asserts total debt stays under the 30-line ceiling, and exits with code 1 on any failure.

Can I scan for ponytail debt markers without mimori installed?▼

Yes, the Skill defines a fallback using grep with strict and loose passes that exclude .git, node_modules, and data or lock files. The fallback prints each marker with file, line, ceiling, and upgrade trigger.

What makes a ponytail marker's upgrade trigger valid?▼

A trigger is valid only when it specifies a concrete condition, dependency, size threshold, or event rather than a vague aspiration. Markers missing the ceiling or trigger separators are flagged as malformed during validation.

How is resolved debt removed from the ledger?▼

Use `mimori memory resolve` with a pattern matching the debt item. The memory lint step rejects completed checkboxes and strikethroughs, so resolved debt must be deleted rather than accumulated.