SkillsReviewed · LilMGenius

re0-work

re0-work is an AI assistant skill for developers rebuilding a project from proven lessons, but its repository handoff can replace the main branch's history and needs human review. It combines restart planning with a Node.js helper that snapshots selected records and prints Git commands to archive the old work and introduce the replacement.

Researched 16 Nov 2026

In short.

re0-work is an AI assistant skill for developers restarting a project from proven lessons, but its Git handoff can replace the main branch's history and requires careful human review. Its instructions emphasize preserving demonstrated contracts, tests and failed examples while rebuilding one complete user journey. The helper checks repository state, copies selected records and prints commands; it also executes configured commit-message hooks during preparation. Its STOP lines are shell comments and do not pause execution. No code or tests were executed, so runtime behavior, test outcomes and live-system readiness remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises all four files listed for skills/coil/re0-work at commit ed0df4b45f1e88b57ed9141504f3cb3e32c9715d: SKILL.md, agents/openai.yaml, scripts/restart-handoff.mjs and scripts/restart-handoff.test.mjs, plus the repository LICENSE and NOTICE. Other paperthin skills, repository history, upstream third-party files and live deployments are outside this scope. No code, tests, hooks or generated handoff commands were executed. Host compatibility, successful archival and history replacement, exhaustive record preservation, migrations and rollback behavior remain unverified.

The overview

Identity

re0-work is the skill in skills/coil/re0-work within LilMGenius/paperthin. It provides instructions for restarting a project or artifact while preserving only lessons and components supported by evidence. Its interface file supplies the display name re0-work and a default prompt invoking $re0-work.

The original resource location is [https://github.com/LilMGenius/paperthin/tree/main/skills/coil/re0-work]. The supplied scope contains SKILL.md, agents/openai.yaml, scripts/restart-handoff.mjs and scripts/restart-handoff.test.mjs, together with the repository LICENSE and NOTICE.

Assessment

The skill is useful when a project's foundation needs reconsideration and the team can explain which existing parts deserve preservation. It turns a vague decision to start over into explicit preservation choices, archived failure examples and a first acceptance gate that the new work can clear.

The Git helper adds concrete checks for a clean checkout, matching local and remote main tips, unused branch names and suitable replacement inputs. These checks support preparation; they cannot establish that the architecture should be replaced or that the new application is ready. Adoption requires someone able to review Git history changes and retain any records stored outside the repository.

Users

The strongest fit is a developer or team using an AI assistant to rebuild an existing project while retaining useful knowledge from earlier attempts. The planning instructions also address artifacts beyond software repositories, although the helper specifically operates on Git repositories.

Beginners will need help with orphan branches, remote history replacement and rollback. A quality gate means a concrete condition the new work must satisfy. The negative corpus means failed examples worth keeping so the same mistakes can be checked again. Experienced developers get explicit options for preserving an old development line and introducing a replacement with independent history.

Capabilities

The instructions organize independent reviews of the old work, decisions about what each layer preserves, archival of failed material and a replacement plan containing one complete user journey. They require a restart memo before proceeding. For live services, they call for parallel development, rehearsal on copied data, a migration the old code can still open and a rollback drill before takeover.

The helper accepts either a separate prepared directory or an orphan development line with existing commits. It snapshots selected ignored ledger files, checks commit messages through an available repository hook, and prints commands that archive the old line before updating main. Snapshot-only mode keeps the archive at the old tip and leaves the ledgers outside Git. Application rebuilding, data migration and rollback rehearsal are prescribed work, not implemented by the helper.

Using it

Requirements

The planning workflow expects a restart memo, the current plan, relevant domain notes, QA evidence and any triggering user complaint. The memo is an input; no memo-writing skill is included or invoked. Judging restart scope also requires several independent readings of the old work.

The helper requires Node.js, Git, a checkout root containing a local main branch, a reachable configured remote and writable temporary and snapshot locations. It imports fs.globSync, so Node.js must provide that API; minimum Node.js and Git versions are not stated. The generated commands use POSIX shell syntax. The checkout must have no changes reported by git status --porcelain, and remote main must match the recorded local tip. Cross-platform compatibility is unverified.

Mechanism

The helper reads repository and remote state, derives an archive branch name from the old main tip's commit time, checks replacement inputs and validates applicable commit messages. It then copies matching ignored ledger files to a separate snapshot location. Preparation executes Git commands and configured commit-message hooks and can write files, even though it does not directly issue git commit or git push.

The printed handoff pushes the archive before replacing main. Directory mode creates a new root commit; prepared-branch mode updates main to the selected independent history. The final push uses an explicit force-with-lease tied to the recorded old tip. The output includes a fresh clone and read-back checks. Exit 0 means output or help was printed, not that a restart succeeded; exit 2 identifies failed preconditions and exit 1 identifies usage errors.

Setup

Keep the skill folder's layout intact when making it available to an assistant that supports SKILL.md resources. The supplied interface file provides an invocation prompt, but host-specific installation instructions and a compatibility matrix are absent. Installing only SKILL.md omits the referenced helper and test files.

For repository handoff preparation, first assemble the replacement directory or independent branch, resolve pending changes and choose an external snapshot location. Identify additional ledgers through repeated --ledger arguments because the defaults cover only named .omo paths. The instructions specify snapshot-only mode for public repositories or repositories that keep loop state out of commits. Review configured hooks before invoking the helper because preparation can execute them.

Example

An illustrative use is a team replacing an application's structure while preserving a schema supported by QA, a working end-to-end test and examples of earlier failures. The team records its preservation decisions and prepares a replacement containing one complete user journey with a measurable acceptance gate.

From the skill folder, an illustrative preparation command is: node scripts/restart-handoff.mjs --repo /work/project --prepared /work/project-v0 --snapshot-only --snapshot /work/project-restart-snapshot. These are example paths, and the command was not executed. Its intended result is a printed handoff for review; publishing the archive and replacing main are later actions.

Assessment & evidence

Limitations

The generated STOP lines are comments. A shell ignores them, so executing the complete output as a script proceeds through the commit and push commands without pausing for approval. Human review is a procedural requirement rather than an enforced execution barrier.

Ledger preservation covers the default patterns and explicitly supplied additions. Missing default matches can yield a snapshot count of zero; the helper does not establish that every important ignored record or failed artifact was found. Snapshot-only mode also makes continued retention of the external snapshot essential.

The directory-mode read-back checks that main has one commit; it does not compare the complete resulting tree with the prepared directory. Snapshot checks do not compare file hashes. Prepared-branch mode checks main against the prepared commit. The helper contains no implementation of live-data rehearsal, application acceptance testing or rollback drills, and their outcomes are unknown.

Reasoning

The design trades continuity of main's history for a deliberate restart, while retaining the earlier line on an archive branch. Its central idea is that existing code should survive because a demonstrated contract justifies it. Keeping failed examples and converting lessons into acceptance gates gives the replacement concrete problems to avoid.

The archive-first sequence and explicit force-with-lease address preservation and concurrent remote changes. The lease cannot validate the replacement's content or prove application readiness. Likewise, one complete user journey provides a focused first milestone, but the supplied evidence does not demonstrate improved outcomes from using this approach.

Alternatives

As a practical inference from its scope, ordinary incremental refactoring or work on a normal feature branch may be more proportionate when the existing foundation remains suitable. No comparative evidence establishes that restarting with this skill is better than those approaches.

Within re0-work, a prepared directory suits a replacement intended to become one root commit. A prepared orphan branch retains the replacement's separate sequence of commits. Snapshot-only mode preserves records externally without adding an archive commit; the other mode adds them to the archive branch. Competing skills and external restart tools were not assessed.

Evidence

The source snapshot includes the full skill instructions, interface configuration, helper implementation and accompanying test definitions. The immutable instruction source is [https://raw.githubusercontent.com/LilMGenius/paperthin/ed0df4b45f1e88b57ed9141504f3cb3e32c9715d/skills/coil/re0-work/SKILL.md]. The helper source is [https://raw.githubusercontent.com/LilMGenius/paperthin/ed0df4b45f1e88b57ed9141504f3cb3e32c9715d/skills/coil/re0-work/scripts/restart-handoff.mjs].

The supplied tests define a snapshot-only directory handoff, refusal of a dirty checkout, refusal when remote main moved, rejection of a prepared directory containing .git, and argument/help handling. The handoff case executes the printed commands against temporary repositories. These are test definitions, not passing results. No code or tests were executed, and no execution logs, production outcomes or measured benchmarks are supplied.

Access & freshness

Costs

The MIT license grants software permissions free of charge. The supplied files provide no hosted-service pricing, measured operating costs or estimates of restart effort. Assistant model charges, Git hosting, storage and human review costs are unknown.

The helper contains no model API integration. The wider workflow suggests several independent reviews, potentially using different models, but specifies no provider or required paid service. No evidence establishes time savings or financial savings.

Rights

The repository LICENSE is MIT, copyright 2026 LilMGenius. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It disclaims warranties. The captured license is at [https://raw.githubusercontent.com/LilMGenius/paperthin/ed0df4b45f1e88b57ed9141504f3cb3e32c9715d/LICENSE].

NOTICE identifies vendored material from mattpocock/skills under MIT, copyright 2026 Matt Pocock, and includes its license text. Attribution is tracked by source rather than individual file, so the notice does not establish which selected files derive from that material. Preserve both notices when redistributing the selected material. The captured notice is at [https://raw.githubusercontent.com/LilMGenius/paperthin/ed0df4b45f1e88b57ed9141504f3cb3e32c9715d/NOTICE].

Freshness

The supplied capture metadata dates this snapshot to 2026-11-16T19:20:38.249Z and pins it to commit ed0df4b45f1e88b57ed9141504f3cb3e32c9715d. This identifies the source underlying the report; the current contents of the moving main branch are unknown.

A resource release version, last-change date and ongoing maintenance status are not established. The v0.1.0 text appears in the proposed replacement project's commit message and must not be treated as the release version of re0-work.

Actions

Before adoption, confirm that a restart is justified, write the required memo and identify which contracts and failed examples must survive. Keep the complete skill folder, check Node.js and Git compatibility, inspect repository hooks and identify every required ledger rather than relying only on the defaults.

Exercise the handoff on a disposable repository before applying it to important work. Review each generated command and treat STOP comments as reminders requiring manual control. Verify archive contents, external snapshot contents and the full replacement tree in addition to the included read-back checks. For a live service, complete the stated data rehearsal, compatible migration and rollback drill before takeover.

Evidence for this report

LICENSEnotice · checked 2026-11-16
NOTICEnotice · checked 2026-11-16
skills/coil/re0-work/SKILL.mdselected · checked 2026-11-16
skills/coil/re0-work/agents/openai.yamlselected · checked 2026-11-16