Chuyển đến nội dung
Skillpedia
Lập trình chung97k · #1297

full-output-enforcement

Skill này làm gì

Công cụ này đảm bảo AI cung cấp câu trả lời đầy đủ như bạn yêu cầu, không có lối tắt hay phần bị thiếu. Nó ngăn AI ngắt câu trả lời giữa chừng hoặc dùng các chỗ giữ như '...' thay cho nội dung thật.

Khi nào nên dùng

  • ✓Khi bạn cần mã hoàn chỉnh cho một chương trình.
  • ✓Khi bạn yêu cầu toàn bộ một tài liệu, không chỉ bản nháp.
  • ✓Khi bạn muốn đủ mọi phần của câu trả lời, không thiếu sót.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Leonxlnx/taste-skill/blob/main/skills/output-skill/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo mã hoàn chỉnh cho một hàm Python tính trung bình của danh sách số, bao gồm xử lý lỗi cho danh sách rỗng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Đầu tiên AI hiểu chính xác điều bạn yêu cầu và câu trả lời cần có bao nhiêu phần. Sau đó nó tạo từng phần một cách đầy đủ, không bỏ sót gì. Trước khi hiển thị, nó kiểm tra xem mọi thứ bạn yêu cầu có đầy đủ không và không có lối tắt hay chỗ giữ cho thấy có phần bị cắt.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

“Banned patterns” là gì?

Đây là các đoạn văn bản hoặc mã mà AI không được dùng, như '...', '// rest of code', 'I can provide more details if needed', vì chúng cho thấy câu trả lời chưa hoàn chỉnh hoặc bị cắt.

Nếu câu trả lời quá dài thì sao?

AI sẽ dừng ở một điểm hợp lý (cuối một tệp, một phần hoặc một hàm) và cho bạn biết có bao nhiêu phần đã hoàn thành và bao nhiêu phần còn thiếu. Sau đó bạn có thể yêu cầu nó tiếp tục từ chỗ đã dừng.

Vì sao điều này quan trọng?

Nó đảm bảo bạn nhận được công việc đầy đủ và chất lượng cao như đã yêu cầu, mà không cần phải nhờ AI hoàn thiện hoặc sửa những phần bị bỏ sót.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
97k
Vị trí xếp hạng
#1297
Giấy phép
MIT
Cập nhật
14/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự