Skip to content
Back to skills

Rewrite Clean V0

ASecurity

Use when a document or file has been edited piecemeal and reads as sediment. Not for re-deriving a code subsystem contract: use breaking-driven.

  • 55 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add OutlineDriven/outline-driven-development --skill rewrite-clean-v0 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rewrite Clean V0?

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

Security grade badge for Rewrite Clean V0
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/outlinedriven-rewrite-clean-v0-outline-driven-development/badge)](https://www.skillsdirectory.com/skills/outlinedriven-rewrite-clean-v0-outline-driven-development)

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: rewrite-clean-v0
description: 'Use when a document or file has been edited piecemeal and reads as sediment. Not for re-deriving a code subsystem contract: use breaking-driven.'
---

# Rewrite clean V0

## Contract

| Field | Bound contract |
|---|---|
| Trigger | artifact edited piecemeal and reads as sediment / rewrite properly / start it over / re0 this |
| Authority | Reversible local: writes only named local artifacts; version-control is the rollback path |
| Side effect | rewrites the target artifact in place; version-control recoverable, no file removal |
| Done | artifact reads as a clean v0 to fresh eyes, with removed/kept reported |

## Inputs

- **Target artifact** (required): the file or document to rewrite. Identified from the request or the active context.

## Procedure

1. **Pin the target.** Identify the artifact from the request or the active context. Read it end to end. Name any nearby artifacts that must stay aligned.
2. **Strip the noise.** Remove scaffolding residue, stale deltas, duplicated process noise, deprecated information, and over-specific history. A log of what changed stays out of the artifact unless the artifact is a changelog.
3. **Fold in what lasted.** Move durable lessons into the place they should have lived from the start, not as an appended note.
4. **Rewrite, do not append.** Start the artifact fresh from what is true now. Keep its useful voice and structure; cut everything else.
5. **Smooth the prose.** Fold a parenthetical that interrupts a sentence into its own clause or cut it. Keep a repeated word or point once within reach. Unwrap a hard line break that splits a sentence mid-flow so each paragraph or list item lives on one source line. Make a plain-text pointer to a section or file followable.
6. **Cut again.** Re-read the result cold and tighten what remains.

## Failure and recovery
- Cannot pin target: stop; return blocked.
- Nothing to improve: change nothing; return unchanged.
- External reference unreachable: stop; do not continue with an unverified pointer.

Partial-result rule: if rewrite is interrupted, the on-disk artifact is left in whatever state the last completed step left it. Version-control history is the rollback path.

## Output
The rewritten artifact on disk. A report listing what was removed and what was kept. A pass that finds nothing to genuinely improve changes nothing.

Files in this skill

  • SKILL.md2.4 KB
  • agents/openai.yaml146 B

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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