ponytail-debt
它能做什么
这项技能扫描代码库,找出 ponytail 留下的捷径备注,并列出每一条及其限制和升级触发条件。适合希望跟踪有意为之的捷径的开发人员。
适用场景
- ✓你想列出代码中标记的所有捷径或延后事项的时候。
- ✓你想找出没有升级触发条件、可能永远不会被重新审视的捷径备注的时候。
- ✓发布前,你想汇总延后工作情况的时候。
技能链接
https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-debt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请列出这个项目中所有的 ponytail 捷径,并标出没有触发条件的那些。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会在项目中搜索捷径注释标记,阅读每个限制和升级路径,并为每个标记写一行记录。除非你要求保存台账,否则它不会更改任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Every deliberate ponytail shortcut is marked with a ponytail: comment naming
its ceiling and upgrade path. This collects them into one ledger so a deferral
can't quietly become permanent.
Scan
Grep the repo for comment markers, skipping node_modules, .git, and build
output:
grep -rnE '(#|//) ?ponytail:' . (add other comment prefixes if your stack uses them)
Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger.
Output
One row per marker, grouped by file:
<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.
The convention is ponytail: <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 ponytail: 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 ponytail: debt. Clean ledger.
Boundaries
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. "stop ponytail-debt" or
"normal mode" to revert.
常见问题
它会修复这些捷径吗?
不会。它只读取并报告。
什么是没有触发条件的标记?
这类捷径注释没有写明升级路径或触发条件,因此有可能永远不会被重新审视。
它能把清单保存到文件吗?
可以。如果你要求,它可以把台账写入 PONYTAIL-DEBT.md 等文件。
详情
作者的原始描述
Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked instead of rotting into "later means never". Use when the user says "ponytail debt", "/ponytail-debt", "what did ponytail defer", "list the shortcuts", "ponytail ledger", or "what did we mark to do later". One-shot report, changes nothing.
repo: kortix-ai/suna
热度
- GitHub 星标
- 20k
- 排名
- #10376
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
claude-code
20k帮你的智能体把编写代码、审查或规划任务交给 Anthropic 的 Claude Code CLI,并保存结果以便检查。
codex-cli
20k帮你的智能体把编写代码或审查任务交给 OpenAI 的 Codex CLI,并取回结果,让第二个模型检查工作。
commit-dis
20k帮你的智能体把本次对话中的修改保存为当前 Git 分支上的一次提交,不推送,也不创建新分支。
composio
20k帮你的智能体使用 Composio 连接 Gmail、Slack、GitHub 和 Notion 等应用,服务于你自己的智能体或你开发的产品。