返回 Skills 目录
lilmgenius/paperthin已通过检查

SKILL DETAIL

re0

lilmgenius/paperthin/re0

re0 技能用于将现有工件刷新为当前最佳 v0 版本。当用户要求清理、同步、去重、去噪、平滑、重写或更新工件时,或当附近工件可能发生漂移,或某处更改应反映到相关工件但保持结果最小时,可使用此技能。 该技能的目标是使结果比输入更轻量、更现代、更准确,而不是像变更日志或补丁。工作流程包括识别目标工件、通读、检查相关工件、移除脚手架残留、过时增量、重复过程噪音、废弃信息和过度具体的历史,将持久经验融入应始终存在的位置,重写而非追加,保留有用风格和结构,简化其他内容,并平滑散文和源代码噪音。规则包括:若没有真正改进则不做更改,优先编辑现有部分,将“发生了什么变化”转换为“现在什么是真实的”,仅保留能改善未来执行、准确性或回忆的细节,不留下新旧痕迹,修复机器可清除的残留,从源头修复,并避免创建额外文件。验证要求结果对新人而言像干净的 v0,没有旧草稿痕迹,并报告移除的噪音和保留的持久真理。

安装量 · 381查看来源

Installation

npx skills add https://github.com/lilmgenius/paperthin --skill re0

技能文件

SKILL.md

最近同步 · 2026年8月27日

SKILL.md›
---
name: re0
description: "Refresh an existing artifact into the current best v0. Use when the user asks to clean up, sync up, dedupe, de-noise, smooth, rewrite, or update an artifact after iteration; when nearby artifacts may have drifted; or when changes in one place should be reflected across related artifacts while keeping the result minimal."
---

Refresh the target artifact as if it were the first clean version.

## Goal

The result must be lighter, more current, and more accurate than the input. It should not read like a changelog, cleanup note, or patch over an older draft.

## Workflow

1. Identify the target artifact from the user's request or the active context.
2. Read the target artifact end to end before editing.
3. Check nearby artifacts that must stay aligned with it.
4. Remove scaffolding residue, stale deltas, duplicated process noise, deprecated information, and over-specific history.
5. Fold durable lessons into the place they should have lived from the start.
6. Rewrite instead of appending when appending would preserve noise.
7. Preserve the artifact's useful voice and structure; simplify everything else.
8. Smooth prose noise: fold a parenthetical that interrupts a sentence or list into its own clause or cut it, keep a word or point repeated within reach of itself only once, and unwind padding that adds length but not meaning.
9. Smooth source noise: unwrap a hard line break that splits a sentence mid-flow so each paragraph or list item lives on one source line, matching how sibling artifacts format theirs; make a plain-text pointer to a named section or file followable, a link where the medium supports one; leave code, tables, and quoted material as formatted.
10. Re-read the result and cut again.

## Rules

- A pass that finds nothing to genuinely improve changes nothing.
- Prefer editing existing sections over adding new ones.
- Convert "what changed" into "what is true now".
- Keep only details that improve future execution, accuracy, or recall.
- Do not leave old/new traces unless the artifact is explicitly a changelog.
- Fix machine-clear residue; surface judgment calls — never auto-resolve an ambiguity or "fix" a deliberate look-alike.
- Repair from the source of truth — the canonical or sibling artifact, not the damaged surface — and mutate with edit-safety: assert the target exists (report a MISS, never a silent no-op), edit unicode-safe (`PYTHONUTF8=1`), replace positional targets per occurrence rather than by blanket sweep, and script large structural moves.
- Do not create extra files unless the user asks.

## Verification

The result reads as a clean v0 to fresh eyes — no trace of the older draft, no sign it was patched rather than rewritten. If unsure, re-read it cold, as a stranger with no prior context would. Report what noise was removed and what durable truth was kept.