forge-full-output

Enforce complete file output and ban truncation placeholders in generated code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/f4rkh4d/forge-skill --skill forge-full-output
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forge-full-output
Source: https://github.com/f4rkh4d/forge-skill/tree/main/skills/output/forge-full-output
Command: npx skills add https://github.com/f4rkh4d/forge-skill --skill forge-full-output

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill prevents AI coding agents from outputting partial files that contain truncation placeholders, forcing users into extra “continue” back-and-forth and risking broken or mangled code.

Core Features & Use Cases

  • Anti-truncation contract: Ensures that whenever a file is produced, the entire file content is included—no ellipses, no “rest of the file,” and no omitted sections.
  • Explicit split format for long files: Requires clean splitting at safe boundaries (e.g., function/class boundaries) with clearly labeled parts when a file genuinely cannot fit in one response.
  • Banned-pattern enforcement: Rejects common partial-output failure modes such as // ..., “omitted for brevity,” placeholder prose in code blocks, bare ... lines, unfinished function bodies, and diff-like output presented without proper labeling.
  • Worked examples + self-check: Provides do/don’t guidance and a verifier command to detect truncation placeholders in committed code.

Quick Start

Use this Skill when the agent keeps producing incomplete files and you want the full runnable code without placeholders.

Frequently Asked Questions about forge-full-output

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

FAQPage Schema
How do I stop AI coding agents from outputting truncated code with placeholders?

To stop AI coding agents from outputting truncated code, enforce an anti-truncation contract that bans ellipsis placeholders and requires complete runnable code blocks. This eliminates the need for extra continue back-and-forth.

How do I generate complete source files when AI responses hit token limits?

To generate complete source files when hitting token limits, use an explicit file-splitting format at safe boundaries like function or class definitions. This requires clearly labeled parts to maintain code continuity.

Why does my AI agent output incomplete function bodies and how do I fix it?

AI agents output incomplete function bodies due to common partial-output failure modes. You can fix this by applying banned-pattern enforcement that rejects unfinished functions, bare ellipses, and unlabeled diff formatting.

What's the best way to verify committed code for truncation placeholders?

The best way to verify committed code for truncation placeholders is to run a dedicated verifier command. This detects common failure patterns like omitted sections, placeholder prose, and bare truncation lines in code blocks.

Can I use diff formatting for code generation without getting partial outputs?

Diff formatting is rejected as a partial-output failure mode unless it is clearly labeled. To avoid partial outputs, you must enforce complete runnable code blocks or explicitly labeled full partials in your code generation tasks.