SKILL DETAIL
re0-loop
lilmgenius/paperthin/re0-loop
The re0-loop skill guides a project through repeated cycles: FRAME -> BUILD -> DRIVE -> RE0-MEMO -> HATE -> RE0-WORK -> BUILD AGAIN. The unit of progress is not hours, files, panels, or features, but the count of quality-cleared templates, reusable platform modules, and anti-patterns eliminated in later cycles. The workflow includes: framing the thesis and quality gates; building one complete vertical slice; driving it through the real surface (browser, HTTP, computer-use, or CLI); running re0-memo to extract lessons, anti-patterns, and next-cycle gates; deciding whether to iterate in place or use re0-work; killing the next plan before build; and versioning only templates or modules that clear their gates. Rules emphasize that tests are supporting evidence, not the gate; do not widen before the core loop clears; distinguish generated variety from structural variety; preserve negative corpus; let code die; and stop a lap when no outside truth enters.
Installation
npx skills add https://github.com/lilmgenius/paperthin --skill re0-loop
技能檔案
SKILL.md
最近同步 · 2026年8月27日
SKILL.md›
---
name: re0-loop
description: "Run repeated build -> QA -> re0-memo -> re0-work cycles while preserving learning and letting code die. Use for long agentic projects where progress must be measured by quality-cleared templates, reusable modules, and eliminated anti-patterns rather than hours spent or features accumulated."
---
Run the cycle so learning compounds and code accumulation does not masquerade as progress.
## Goal
`re0-loop` keeps a project moving through repeated turns:
```text
FRAME -> BUILD -> DRIVE -> RE0-MEMO -> HATE -> RE0-WORK -> BUILD AGAIN
```
The unit of progress is not hours, files, panels, or features. It is the count of quality-cleared templates, reusable platform modules, and anti-patterns eliminated in later cycles.
## Workflow
1. Frame the thesis and quality gates.
2. Build one complete vertical slice.
3. Drive it through the real surface: browser for web apps, HTTP for API contracts, computer-use for desktop apps, and CLI only for data-shaped artifacts.
4. Run `re0-memo` to extract lessons, anti-patterns, and next-cycle gates.
5. Decide whether the next pass iterates in place or uses `re0-work`; when that call or the next move is unclear, `nba` reads the cycle state and returns the single next action.
6. Kill the next plan before build: use the project's adversarial review skill or a human-invoked attack when that skill is user-only.
7. Version only templates or modules that clear their gates.
## Rules
- Tests are supporting evidence, not the gate; every turn needs a real-surface proof sized to the artifact.
- Do not widen before the core loop clears.
- Do not confuse generated variety with structural variety. If many outputs converge to the same shape, the cycle failed the variety gate.
- Preserve negative corpus so later cycles can prove the same anti-pattern is gone.
- Let code die. A restart that preserves the right lessons is progress.
- Stop a lap when no outside truth enters; add evidence before another internal pass.
## Verification
Before finishing a lap:
1. The real surface was driven and evidence was captured.
2. The re0-memo names at least one lesson, anti-pattern, or gate that affects the next pass.
3. The keep/iterate/re0-work decision is explicit.
4. Any version label belongs only to a quality-cleared template or module.