‹ 返回总目录
工具 最近更新07-15

ponytail

| 2026-08-01 收录

☆ 收藏
🛒 📚 AI提效实战指南 · 图解Skill🛒 📱 大流量手机卡 · 低月租📣 加入推广 · 佣金80-300/张 ›

🛍️ 更多精选好物 ›

📊 公开数据一览

📦 榜单安装量25.7K
⭐ GitHub Stars93,833(fork 5164)
🗓️ 最近推送2026-07-15
🌱 项目创建2026-06-12
💻 语言 / LicenseJavaScript · MIT
🐛 开放Issue131

📝 工具简介

让你的AI代理像最懒的资深开发一样思考——最好的代码是没写的那行。

📖 怎么用

安装:在 Claude Code 里跑 `/plugin marketplace add DietrichGebert/ponytail`,然后 `/plugin install ponytail@ponytail`;Codex 用户跑 `codex plugin marketplace add DietrichGebert/ponytail` 和 `codex plugin add ponytail@ponytail`。配置:README未说明。开始用:直接写代码,它会自动帮你砍代码量——先问“这功能需要存在吗?”,不需要就跳过;代码库里已有就复用;标准库、平台原生功能、已装依赖能搞定就用;能一行写完就写一行。比如日期选择器,直接写 `<!-- ponytail: browser has one --> <input type="date">` 就行,不用自己造轮子。

📋 迷你测评

让你的AI代理像最懒的资深开发一样思考——最好的代码是没写的那行。亮点是反直觉的“少写代码”哲学。适合被AI生成冗余代码困扰、追求精简方案的开发者。

📄 README 要点

这玩意儿是个 Claude Code 的技能包,核心就一句话:让 AI 写更少的代码。作者说它能让代码量平均减少 54%,某些任务最高能到 94%,同时成本降 20%、速度快 27%,而且完全不影响安全性。原理就是给 AI 一个“写一行代码”的提示词,但比单纯说“写简洁点”更靠谱,因为它在保留所有安全机制的前提下引导 AI 精简代码。安装方式就是作为 skill 加到 Claude Code 里,实测是在 FastAPI 加 React 的开源项目上跑的,对比了 12 个功能任务。适合那些嫌 AI 生成代码太啰嗦、想让它更精准干活的开发者,尤其是改已有代码库的时候。

查看英文原文
Ponytail He says nothing. He writes one line. It works. 54% less code (up to 94%) &middot; 20% cheaper &middot; 27% faster &middot; 100% safe Measured on real Claude Code sessions editing a real open source repo (FastAPI + React), against the same agent with no skill. 54% is the mean across 12 feature tasks (Haiku 4.5, n=4); it reaches 94% where an agent over builds (a date picker) and is near zero where the code is already minimal. ponytail keeps every safety guard while a bare "write one liners" prompt drops one. (The earlier single shot benchmark reported 80 94% as a flat figure; against a fair agentic baseline that is the per task ceiling, not the average.) Full writeup &middot; reproduce it . Español &middot; 한국어 You know him. Long ponytail. Oval glasses. Has been at the company longer than the version control. You show him fifty lines; he looks at them, says nothing, and replaces them with one. Ponytail puts him inside your AI agent. Before / after You ask for a date picker. Your agent installs flatpickr, writes a wrapper component, adds a stylesheet, and starts a discussion about timezones. With ponytail: [安装/使用命令见下方] More survivors in examples/. Numbers The honest measurement is a real agent doing real work: a headless Claude Code session editing tiangolo's full stack fastapi template (a real FastAPI + React repo), scored on the git diff it leaves behind. Twelve feature tickets, the same agent with and without the skill, n=4, Haiku 4.5. vs no skill baseline LOC tokens cost time safe : : : : : ponytail 54% 22% 20% 27% 100% caveman (terse prose control) 20% +7% +3% +2% 100% "YAGNI + one liners" prompt 33% 14% 21% 30% 95% ponytail is the only arm that cuts every metric, and the only one that stays fully safe while doing it. The cut is biggest where there is a real over build trap (date picker 404 to 23 lines, color picker 287 to 23, because it reaches for a native instead of a component) and near zero on code that is already minimal. Full method, per task table

💬 评论(0)

交流使用体验、避坑建议;违规内容将被删除

💬 意见反馈 / 联系客服

数据来源:skills.sh 榜单 + GitHub 公开数据,非人工实测,仅供参考