discard

Installation
SKILL.md

Discard

Finish the managed round trip by abandoning isolated work, leaving the recorded base unchanged, and removing the isolated branch and folder.

discard is a companion to isolate; install both skills from the same source. Consult the lifecycle contract when recovering from failure or changing package behavior; the steps below are the execution path.

Steps

  1. Resolve the managed target.

    Resolve <repo-root> with git rev-parse --show-toplevel from the current checkout. Prefer the user-provided branch; inside the isolated worktree, omit it and let the launcher resolve the current branch.

    This step is complete when the target has isolate metadata and is neither the base worktree nor a protected branch.

  2. Run discard once.

    PowerShell:

Installs
4
First Seen
Jul 17, 2026
discard — nemostein/skills