output-skill
Skill1 starsChanged 11 days agoMITView on GitHub
Prevent placeholders, truncated code, and half-finished agent outputs. Use when the agent ships incomplete work. Do NOT use for one-off drafts.
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Before delivering any code output to a user
- Distinctive: line 24
After completing an implementation phase (before marking done)
- Distinctive: line 25
When context limits force truncated responses
- Distinctive: line 26
After any code generation that involves multiple files
- Distinctive: line 42
Before writing any code, declare the scope:
- Distinctive: line 55
Write each file end-to-end.
- Distinctive: line 59
Before delivering, scan your own output for patterns:
- Distinctive: line 70
When output exceeds context limits:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Output Enforcement Skill
Ship complete, runnable code — no shortcuts, no placeholders, no truncation.
This is a pre-output self-audit. Complements the project's post-commit audit (universal-audit.sh) and pre-commit Gate 8 (Anti-Slop). Catches incomplete output before it's delivered.
When to Use
- Before delivering any code output to a user
- After completing an implementation phase (before marking done)
- When context limits force truncated responses
- After any code generation that involves multiple files
When NOT to Use
- One-off draft or throwaway code
- Exploratory or research-only output
- Output that will be immediately deleted or overwritten
Output Contract
Complete, runnable source code output — delivered files (any language, any framework) in existing source tree, with scope declared before output started, zero truncation/placeholder/shortcut/deferred patterns detected via self-audit grep, no mid-function breaks, remaining scope stated if truncated, each file independently runnable as-delivered.
Core Process
Phase 1 — Scope Lock
Before writing any code, declare the scope:
SCOPE:
- src/api/handler.ts (full implementation)
- tests/handler.test.ts (unit tests)
- src/types.ts (type updates only)List every file and what it needs. Do NOT start writing until scope is set.
Phase 2 — Output
Write each file end-to-end. Complete the current function before any break. If output is genuinely too long, use the truncation protocol.
Phase 3 — Self-Audit
Before delivering, scan your own output for patterns:
| Category | Patterns to Check |
| Truncation | // ..., /* ... */, ... (remaining) |
| Structural shortcut | rest is similar, repeat for others, same for each item |
| Deferred work | // TODO:, // FIXME:, // implement later |
| Incomplete integration | add your API key, your token here, replace with actual |
Truncation Protocol
When output exceeds context limits:
- Complete the current function/method (no mid-function breaks)
- State remaining scope: "Remaining: [file list not yet delivered]"
- End with: "Continue with [next file] when ready."
- On continuation, re-check scope from Phase 1. Deliver remaining files completely.
Detection Patterns
| Expression | Type | Severity | ||||
// \.\.\. or /\* \.\.\. \*/ | Truncation | Block | ||||
| `rest is similar | same for | repeat for` | Structural shortcut | Block | ||
| `for brevity | for brevity | you get the idea` | Evasion | Block | ||
| `TODO: | FIXME: | HACK: | XXX: | unimplemented!()` | Deferred work | Block |
| `add your | your.*here | replace with actual` | Incomplete integration | Block | ||
| `let me know if you want | let me continue` | Hand-off | Warn |
Anti-Patterns
- "I'll continue later" — Hand-off without completing the current function. Always finish the function.
- "Rest is obvious" — Assuming the user can fill in the rest. Ship complete code.
- "Similar for others" — One example != complete implementation. Every variant must be explicit.
- "You get the idea" — The idea is not runnable code. The test runner requires actual code.
- Scope creep — Adding unplanned files mid-output without updating the scope declaration.
- Skipping self-audit — Delivering without scanning for patterns. Always scan before finalizing.
Verification
- Scope declared before output started
- Each file in scope delivered completely (no mid-function breaks)
- Self-audit scan passed (no truncation, shortcut, defer, or incomplete patterns)
- Remaining scope stated if output was truncated
- Code is runnable as-delivered (no "add your X" or missing imports)
grep -nE '// \.\.\.|TODO:|for brevity|rest is similar|repeat for'on output returns 0 matches
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- PIXARTSeu/Synapse★ 9same name
- HarambeeAI/bayes-ship★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- adapt-skillSkill
- api-and-interface-designSkill
- architecture-analysisSkill
- audit-skillSkill
- backend-api-masterySkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- clarify-skillSkill
- cli-toolsSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- critique-skillSkill
- customize-opencodeSkill
- debugging-and-error-recoverySkill
- debugging-three-strikesSkill
- delight-skillSkill
- deprecation-and-migrationSkill
- dev-environment-auditSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- engineering-fundamentalsSkill
- frontend-desktopSkill
- frontend-mobileSkill
- frontend-pwaSkill
- frontend-ui-engineeringSkill
- frontend-webSkill
- fullstack-shippingSkill
- gateSkill
- git-init-and-versioningSkill
- git-workflow-and-versioningSkill
- hard-skillSkill
- idea-refineSkill
- incremental-implementationSkill
- industrial-brutalist-uiSkill
- interview-meSkill
- minimalist-uiSkill
- multi-agent-orchestrationSkill
- observability-and-instrumentationSkill
- optimize-skillSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- polish-skillSkill
- project-health-checkSkill
- project-metricsSkill
- redesign-skillSkill
- security-and-hardeningSkill
- self-improvementSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-improverSkill
- soft-premium-uiSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- typeset-skillSkill
- user-onboardingSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

