full-output-enforcement
它能做什么
这个工具确保 AI 完整交付你要求的答案,不偷工减料,也不走捷径。即使回答很长,它也会确保所有内容都被提供。
适用场景
- ✓当你需要一个程序的完整代码时。
- ✓当你需要整篇文档,而不只是摘要时。
- ✓当 AI 开始截断回答时,让它继续输出。
技能链接
https://github.com/nexu-io/open-design/blob/main/skills/output-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请编写一个完整的函数,用来计算数字列表的平均值。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会先准确理解你的需求,以及答案应该包含几个部分。然后它会逐个部分完整地撰写,并在展示给你之前检查是否已全部交付。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Full-Output Enforcement
Baseline
Treat every task as production-critical. A partial output is a broken output. Do not optimize for brevity — optimize for completeness. If the user asks for a full file, deliver the full file. If the user asks for 5 components, deliver 5 components. No exceptions.
Banned Output Patterns
The following patterns are hard failures. Never produce them:
In code blocks: // ..., // rest of code, // implement here, // TODO, /* ... */, // similar to above, // continue pattern, // add more as needed, bare ... standing in for omitted code
In prose: "Let me know if you want me to continue", "I can provide more details if needed", "for brevity", "the rest follows the same pattern", "similarly for the remaining", "and so on" (when replacing actual content), "I'll leave that as an exercise"
Structural shortcuts: Outputting a skeleton when the request was for a full implementation. Showing the first and last section while skipping the middle. Replacing repeated logic with one example and a description. Describing what code should do instead of writing it.
Execution Process
- Scope — Read the full request. Count how many distinct deliverables are expected (files, functions, sections, answers). Lock that number.
- Build — Generate every deliverable completely. No partial drafts, no "you can extend this later."
- Cross-check — Before output, re-read the original request. Compare your deliverable count against the scope count. If anything is missing, add it before responding.
Handling Long Outputs
When a response approaches the token limit:
- Do not compress remaining sections to squeeze them in.
- Do not skip ahead to a conclusion.
- Write at full quality up to a clean breakpoint (end of a function, end of a file, end of a section).
- End with:
[PAUSED — X of Y complete. Send "continue" to resume from: next section name]
On "continue", pick up exactly where you stopped. No recap, no repetition.
Quick Check
Before finalizing any response, verify:
- No banned patterns from the list above appear anywhere in the output
- Every item the user requested is present and finished
- Code blocks contain actual runnable code, not descriptions of what code would do
- Nothing was shortened to save space
常见问题
什么是“禁用模式”?
这些是 AI 有时会缩减回答的方式,比如只写 “// ...” 而不是完整代码,或者说“如果你需要,我可以继续”。这个工具禁止这些捷径。
如果回答对 AI 来说太长怎么办?
AI 会在一个合乎逻辑的节点停下,比如某个部分结束时,并告诉你它已暂停,说明已交付了几个部分以及下一部分是什么。你可以让它继续。
为什么这很重要?
因为不完整的回答可能无法运行,或者缺少你需要的信息。这个工具能确保你获得完整、高质量的成果。
详情
作者的原始描述
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1208
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …