Skip to content
Back to skills

Output Enforcement

ASecurity

Anti-laziness enforcement — bans placeholder patterns (// ..., // TODO, // rest of code), enforces complete code generation, handles token-limit splits cleanly. Activate for every code generation task.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add RaNDoM6913/claude-code-superkit --skill output-enforcement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Output Enforcement?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Output Enforcement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/random6913-output-enforcement-claude-code-superkit/badge)](https://www.skillsdirectory.com/skills/random6913-output-enforcement-claude-code-superkit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: output-enforcement
description: Anti-laziness enforcement — bans placeholder patterns (// ..., // TODO, // rest of code), enforces complete code generation, handles token-limit splits cleanly. Activate for every code generation task.
tokens: 595
---

# Full Output Enforcement

## Purpose

Every response contains complete, runnable code — no placeholders, no elided sections.

**Use when:** any code-generation task (new files, edits, refactors).
**Do not use:** prose-only responses with no code output.

## Hard Rules

1. NEVER emit a banned pattern (list below) in generated code.
2. Write every file complete, from first line to last.
3. If output must split, break ONLY at a complete function/class boundary and add a `[PAUSED …]` marker.
4. If a banned pattern appears in your draft, rewrite that section in full before responding — never send the draft as-is.
5. Every `import` must resolve, every type must be defined, every called function must exist.

## Banned Patterns

These MUST NEVER appear in generated code:

```
// ...
// rest of code
// rest of the implementation
// implement here
// TODO: implement
// TODO
// existing code...
// previous code remains
// ... (other methods)
// similar to above
/* ... */
# ... rest
# TODO
```

`/* ... */` is banned when it stands in for omitted code; a block comment with real content is fine.

## Workflow

1. **Scope** — count the files and functions to generate.
2. **Build** — write every file completely, no shortcuts.
3. **Cross-check** — every import resolves, every type exists, every function call targets a defined function.
4. **Self-check before sending** — search your draft for banned patterns:
   - Pattern found → rewrite that section completely, then repeat this step.
   - No pattern found → send.

## Token Limit Handling

If approaching the token limit mid-file:

1. Finish the current function/class completely.
2. Add a pause marker with progress tracking.
3. In the next response, continue from the marker — do not repeat completed code.

**Marker formats:**

```
[PAUSED — 3 of 7 files complete. Continuing with AuthService.ts]
```

```
[PAUSED — AuthController.ts: 4 of 6 methods complete]
[Completed: login, logout, refresh, validate]
[Remaining: resetPassword, changeEmail]
```

## Recap — non-negotiables

- Zero banned patterns in output; found in draft → rewrite the section in full before sending.
- Split only at a complete function/class boundary, always with a PAUSED marker.
- **Incomplete code is worse than no code.** A placeholder `// TODO` becomes invisible tech debt; a complete implementation can be reviewed, tested, and shipped.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.