跳到正文
Skillpedia
通用编程97k · #1297

full-output-enforcement

它能做什么

这个工具确保 AI 给出你所要求的完整答案,不走捷径,也不遗漏任何部分。它能防止 AI 中途截断回复,或用「...」之类的占位符代替实际内容。

适用场景

  • ✓需要完整程序代码时。
  • ✓需要完整文档而非草稿时。
  • ✓希望答案的每个部分都完整、无遗漏时。

技能链接

https://github.com/Leonxlnx/taste-skill/blob/main/skills/output-skill/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Leonxlnx/taste-skill/blob/main/skills/output-skill/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“生成一个 Python 函数的完整代码,用于计算数字列表的平均值,并包含对空列表的错误处理。”

每周 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

  1. Scope — Read the full request. Count how many distinct deliverables are expected (files, functions, sections, answers). Lock that number.
  2. Build — Generate every deliverable completely. No partial drafts, no "you can extend this later."
  3. 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: Leonxlnx/taste-skill

热度

GitHub 星标
97k
排名
#1297
许可证
MIT
更新时间
2026/10/14

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能