GP

green-pt/honey-for-devs

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

364 stars 质量 65 趋势 10MIT

green-pt/honey-for-devs 是从 https://github.com/green-pt/honey-for-devs. 导入的 Agent Skill 候选

概览

green-pt/honey-for-devs 是从 https://github.com/green-pt/honey-for-devs. 导入的 Agent Skill 候选

概述(AI 翻译)

少写代码,少说点。 亲爱的(我缩小了AI)作者 GreenPT是 跨工具编码技能,减少AI编码代理的输出代币消耗—— 这样它们能输出更少的代码和更少的文笔,同时不失去正确性。这样有效 与 Claude(claude.ai 及 API)、Claude Code、Cursor、GitHub Copilot、Codex、Gemini CLI、Windsurf、Cline, OpenClaw,哦-我的派,Kiro,Kilo Code,Hermes Agent,Kimi Code,Devin CLI,Grok Build,Qoder, 反重力和CodeBuddy。三个独立杠杆,反射性地作用:

  1. 减少代码 — 先用YAGNI。走梯子(它必须存在吗?→标准库→ 语言本→现有依赖 →一行 →最小区块),并在 第一个有效的那个档。最便宜的台词是你永远不写的那句。
  2. 少些散文——去掉那些拖延、搪塞、叙述代码的部分 这已经说明了一切。先回答。
  3. 更密集的代理间切换——当读者是另一代理,而非 人类,给它它无损解析的最高效令牌格式(简洁 / 列式 JSON 或 ESON)。较小的交接,且不丢失 恢复率(作品4.8为−49%,作品5.5为−15%;两个任务,无p值)。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🍯 Honey (I Shrunk the AI)

Write less code and say less about it. Honey (I Shrunk the AI) by GreenPT is a cross-tool coding skill that cuts the output tokens AI coding agents spend — making them emit less code and less prose without losing correctness. It works with Claude (claude.ai and the API), Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, Cline, OpenClaw, oh-my-pi, Kiro, Kilo Code, Hermes Agent, Kimi Code, Devin CLI, Grok Build, Qoder, Antigravity, and CodeBuddy. Three independent levers, applied reflexively:

  1. Less code — YAGNI first. Walk a ladder (does it need to exist? → stdlib → language native → existing dependency → one line → minimum block) and stop at the first rung that works. The cheapest line is the one you never write.
  2. Less prose — drop the wind-up, the hedging, the narration of code that already speaks for itself. Answer first.
  3. Denser agent-to-agent handoffs — when the reader is another agent, not a human, hand it the most token-efficient format it parses losslessly (compact / columnar JSON, or ESON). Smaller handoffs with no loss of recovery (−49% on Opus 4.8, −15% on Opus 5.5; two tasks, so no p-value). Fires only here — never as a user-facing answer.

Honey combines what Ponytail (minimal code) and Caveman (terse prose) do separately, then goes further:

  • Auto-intensity — lite / full / ultra chosen reflexively from the request, with no deliberation tax (it never spends reasoning tokens deciding how to comply — that would defeat the purpose on reasoning models).
  • Safety carve-outs — input validation, error handling, auth, secrets, migrations, deletes, and anything you explicitly asked for are never compressed. Lazy ≠ broken.
  • A skill family, not one prompt — an always-on core plus on-demand satellites (review, eco, gain, compress) and a hive of read-only subagents that return compressed handoffs. See Skills and subagents.

Results

Claude Opus 5.5, 23 tasks × 3 runs, against the current upstream skills. Every figure is a paired per-task median vs no skill, with a Wilcoxon p-value (full-opus55b):

Skill Output Lines of code Cost Judge vs no skill Tests
Caveman v4.0.1 −29% −27% −26% tie (3/8/10) 100%
Ponytail v5.3.2 −28% −52% −26% worse (1/16/4, p<0.001) 100%
Honey −40% −52% −31% tie (5/12/4) 100%
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add green-pt/honey-for-devs
新手?先看 mcpskill.org 教程 →