@sassywares/skills 0.11.13 → 0.11.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ # Mode: remove — delete a checkout, keep its work reachable
2
+
3
+ Read the shared sections in `SKILL.md` first. This file is the remove path only.
4
+
5
+ 1. **Dispatch `before_remove` first**, one `worker` per declared entry, briefed with the `WT_*` block and that the checkout is about to go. Its job is the project's cleanup: drop the derived database, shut the simulator.
6
+ 2. **Run `.sassywares/worktree/remove <slug> --hook-ok`.** Without `--hook-ok` it exits `3` by design when a hook is declared — that exit is the handshake, not an error to route around.
7
+ 3. **Say what survives.** `remove` deletes the checkout and its port claim; the **branch stays**, so the work is still reachable. Naming that stops someone assuming the deletion took their commits with it.
8
+ 4. **Report a refusal verbatim and stop.** Dirty tree, unpushed commits, a live preview, the main checkout: each is a real reason, and `--force` is the user's call, never yours. On success report the released port and the removed path.
9
+
10
+ | Rule | Requirement |
11
+ |------|-------------|
12
+ | The branch outlives the checkout | Report that the branch survived. A removal the user reads as a data loss is a removal that gets skipped next time. |
13
+ | A refusal is information | Report dirty, unpushed, or live-preview verbatim. Never route around `--hook-ok`, and never clear the objection yourself. |