优先复用现有代码、标准功能和已安装的依赖,以满足请求的最小变更完成实现或修复,处理受影响的调用方并进行必要验证,简要报告省略工作、未核实事项和风险。
- 实现满足请求的最小版本
- 修复共用逻辑中的根本原因
- 重构时减少不必要的新增内容
收集代码中标记简化实现或待改进事项的注释,按文件整理成技术债务台账,列出限制与重新审视的条件,标记缺少条件的条目,不修改代码。
List every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.
ponytail-debt 收集代码中的 shortcut: 注释及旧格式 ponytail: 注释,建立技术债务台账,记录暂缓实施的改进。条目按文件分组,包含文件名、行号、简化内容、实现限制,以及重新审视的条件。没有升级路径或重新审视条件的条目会标记为 no-trigger,报告末尾列出标记总数和缺少条件的数量。
适合盘点短期应对时留下的实现,或检查是否注明启动改进的条件。也可以指定自定义标记词。键盘快捷键说明等与暂缓改进无关的注释会被排除。
/ponytail-debt 列出暂缓改进的实现。”/ponytail-debt TODO 查找我的自定义标记。”PONYTAIL-DEBT.md。”搜索使用 git grep,跳过 .git 及 .gitignore 排除的路径。默认只进行一次读取并生成报告,不修改代码。只有收到保存请求时才会写入文件。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月20日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
Every deliberate ponytail shortcut is marked with a shortcut: comment naming
its ceiling and upgrade path (older code may say ponytail:). This collects them into one ledger so a deferral
can't quietly become permanent.
Grep the repo for comment markers, skipping .git and everything the
.gitignore files ignore (dependencies, build output, caches, in any stack):
git grep --no-index --exclude-standard -nE '(#|//|/[*]) ?(shortcut|ponytail):' (add other comment prefixes if your stack uses them)
If the user names their own marker word (/ponytail-debt TODO), grep for that word instead.
Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger. Skip hits that are not a deferral, like a note about a keyboard shortcut.
One row per marker, grouped by file:
<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.
The convention is shortcut: <ceiling>, <upgrade path>, so pull the ceiling
and the trigger straight from the comment. Want an owner per row too? add
git blame -L<line>,<line>.
Flag the rot risk: any marker comment that names no upgrade path or
trigger gets a no-trigger tag, those are the ones that silently rot.
End with <N> markers, <M> with no trigger. Nothing found: No shortcut debt. Clean ledger.
Reads and reports only, changes nothing. To persist it, ask and it writes the
ledger to a file (e.g. PONYTAIL-DEBT.md). One-shot.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
优先复用现有代码、标准功能和已安装的依赖,以满足请求的最小变更完成实现或修复,处理受影响的调用方并进行必要验证,简要报告省略工作、未核实事项和风险。
先确认开发需求涉及的修改范围,再优先使用现有代码、标准功能和已安装依赖,以最小实现完整解决问题,并重视相关位置的修复、必要测试和简短报告。
审查整个代码库或指定范围,检查缺陷、安全风险、负载承受能力、测试缺失和多余代码,按重要程度报告,并附具体问题场景及最小修复建议。
审查整个代码仓库的缺陷、安全风险、负载问题和测试缺失,同时检查性能及多余实现,按优先级报告修复方案与不修复的影响。
收集代码中标记暂缓改进的注释,按文件整理为台账,记录简化内容、适用上限和重新审视的条件,并标出未写明审视条件的条目。
以文字条形图展示ponytail公开基准测试中的代码量、输出词元、费用和耗时降幅,同时列出质量指标,并与当前任务的实测结果区分。