full-output-enforcement

Enforces complete code generation by banning placeholder patterns and truncation.

Updated May 23, 2026
One-click install
npx skills add https://github.com/Oatse/CWE-Automation --skill full-output-enforcement-oatse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: full-output-enforcement
Source: https://github.com/Oatse/CWE-Automation/tree/main/.agents/skills/full-output-enforcement
Command: npx skills add https://github.com/Oatse/CWE-Automation --skill full-output-enforcement-oatse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? LLMs often truncate long outputs, insert placeholder comments like "// rest of code", or skip deliverables to save tokens. This Skill overrides that default behavior so every requested file, function, or section is delivered in full. ## Core Features & Use Cases - Placeholder Ban: Hard-fails on patterns like "// ...", "// TODO", "for brevity", and skeleton-only outputs. - Deliverable Counting: Scopes the request, locks the expected deliverable count, and cross-checks before responding. - Clean Token-Limit Handling: Pauses at a clean breakpoint with a resume marker instead of compressing or skipping content. - Use Case: Ask for a full 5-component React dashboard and receive all 5 complete components, with a "[PAUSED — 3 of 5 complete]" marker if the token limit is hit, resumable with "continue". ## Quick Start Apply the full-output-enforcement skill and generate the complete implementation of all requested files with no placeholders or omissions.

Frequently Asked Questions about full-output-enforcement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop an LLM from truncating code output?

Use explicit anti-truncation rules that ban placeholder patterns like "// rest of code" and require every requested deliverable to be completed. This Skill enforces a scope-build-cross-check process so nothing is skipped or shortened.

How to handle token limits during long code generation?

Write at full quality up to a clean breakpoint such as the end of a function or file, then emit a pause marker stating progress. On "continue", resume exactly from that point without recap or repetition.

What placeholder patterns should be banned in AI code output?

Ban patterns like "// ...", "// TODO", "// implement here", "// similar to above", and prose such as "for brevity" or "the rest follows the same pattern". These indicate omitted content and count as hard failures.

Does output enforcement work for non-code content?

Yes, the same rules apply to prose and structured documents. The deliverable counting and cross-check steps ensure every requested section or answer is present and finished, regardless of content type.

When should I not use full-output enforcement?

Avoid it for quick exploratory questions, brainstorming, or when a short summary is explicitly wanted. The enforcement optimizes for completeness, which adds length that is unnecessary for simple lookups.