full-output-enforcement
它能做什么
这个技能可以确保 AI 完整交付你所要求的全部内容,不走捷径,也不缺少任何部分。它会保证输出完整,比如一个完整的文件或一份完整的清单。
适用场景
- ✓你要求一个完整文件时。
- ✓你需要一份详尽的清单时。
- ✓缺少部分内容会导致你的目标无法实现时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/full-output-enforcement/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我一个完整的 Python 计算器代码,支持加、减、乘、除四种运算。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会先检查你是否要求了完整的内容,然后确保把全部内容交付出来,不遗漏任何部分,也不会用“...”来代替代码。即使回答很长,它也会力求给出完整的结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Full-Output Enforcement
When to Use
- Use when the user explicitly asks for full files, complete implementations, exhaustive lists, or unabridged deliverables.
- Use when placeholder code, skipped sections, TODO stubs, or descriptions in place of implementation would break the request.
- Use when a long answer may need clean continuation chunks without losing completeness or structural integrity.
Limitations
- This skill enforces completeness, but it does not override token limits, safety constraints, missing source context, or user-provided scope boundaries.
- Split long outputs into clearly labeled continuation chunks when necessary, and verify that each chunk connects cleanly to the previous one.
- Do not invent unavailable code, credentials, private APIs, or project files to satisfy a request for complete output.
Baseline
Match completeness to the requested deliverable and its actual stakes. 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. Respect the limitations above and report unavailable inputs honestly.
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).
- Continue through available tools, files and conversation continuation while authorization and context permit. Prefer a complete file artifact for outputs too large to display. Request a continuation only when the host actually requires user input; never introduce a checkpoint merely because a batch is large.
Quick Check
Before finalizing any response, verify:
- No placeholder patterns replace requested content; legitimate language syntax, quoted source and explicitly requested skeletons remain valid
- 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
Examples
Request: “Provide the complete Python file that converts Celsius to Fahrenheit, including input validation and two assertions.” Deliver the entire file, with no omitted validation or assertions:
def celsius_to_fahrenheit(value):
if isinstance(value, bool) or not isinstance(value, (int, float)):
raise TypeError("Temperature must be a number")
return value * 9 / 5 + 32
assert celsius_to_fahrenheit(0) == 32
assert celsius_to_fahrenheit(100) == 212
If the request instead asks for a complete replacement of an unavailable project file, identify the missing input and obtain it before claiming a complete replacement; do not fabricate its existing interfaces.
常见问题
如果回答太长怎么办?
如果回答太长,AI 会将其分成多个部分,但每个部分都是完整的,并且与前一部分衔接,不会跳过任何内容。
如果 AI 不知道,会不会编造内容?
不会。AI 不会虚构不存在的代码、信息或文件,如果有内容缺失,它会如实说明。
为什么 AI 不使用“...”或“此处实现”之类的省略写法?
这些省略写法意味着回答不完整。这个技能的设计目的,就是确保你拿到所要求的全部内容,而不是这些省略的写法。
详情
作者的原始描述
Use when a task requires exhaustive unabridged output, complete files, or strict prevention of placeholders and skipped code.
热度
- GitHub 星标
- 48k
- 排名
- #4678
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。