agentleFS
HesstasticHesstastic/fable-agent-orchestration/skills/orphaned-wip-adopter/SKILL.md

orphaned-wip-adopter

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Salvage coherent uncommitted work left by a stalled worker session. Use when a parallel worktree contains valuable WIP and you need to decide whether to adopt, finish, rebase, and ship instead of rebuilding from scratch.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    check file modification times.

    line 13
  2. Distinctive:

    check running processes or session status when available.

    line 14
  3. Distinctive:

    avoid touching active work.

    line 15
  4. Distinctive:

    Read the uncommitted diff.

    line 16
  5. Distinctive:

    Wait when the session may still be active.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Orphaned WIP Adopter

Adopt stalled work only after confirming it is not active.

Procedure

  1. Confirm the worktree is stale:
    • check file modification times;
    • check running processes or session status when available;
    • avoid touching active work.
  2. Read the uncommitted diff.
  3. Assess coherence:
    • does it compile or plausibly compile?
    • does it use existing APIs correctly?
    • is the design sound?
  4. Exercise the load-bearing claim.
  5. Rebase or rebuild on current main.
  6. Fill gaps, add fail-under-broken proof, and review.
  7. Credit the adopted work neutrally in the PR body if appropriate.

Decision

  • Adopt when coherent and faster than rebuilding.
  • Rebuild when the WIP is incoherent or unsalvageable.
  • Wait when the session may still be active.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.