Content
75%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The body is a lean, executable, safety-first playbook: every step is a concrete command, destructive actions are gated by explicit checks and confirmations, and sections are well organized with a decision table. It stops short of top marks due to restated content across three sections, undefined shell variables, and flags not integrated into the step flow.
Suggestions
Show how to resolve the argument into $WORKTREE_PATH/$BRANCH/$BRANCH_SLUG (e.g. via git worktree list or git root) so the commands are fully copy-paste ready.
Integrate the --force/--keep-branch/--keep-remote flags into the numbered steps (e.g. "if --keep-branch: skip step 6") instead of listing them only in the Flags table.
Collapse the Process list or the Quick reference table (they overlap with Removal steps) to remove redundant tokens.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Terse bash blocks, tables, and bullets with no explanation of concepts Claude already knows, but the 9-step "Process" overview, "Removal steps" code, and "Quick reference" table restate the same actions, which could be trimmed. | 4 / 5 |
Actionability | Concrete executable commands throughout (protected-branch grep check, merge-base --is-ancestor, git worktree remove, neonctl/pscale cleanup) plus report-format templates; minor gaps: $WORKTREE_PATH/$BRANCH/$BRANCH_SLUG are never derived from the argument, and "# On confirmation" placeholders lack a mechanism. | 4 / 5 |
Workflow Clarity | This destructive workflow explicitly validates before acting (protected-branch block, dirty-state check with commit/force/cancel options, merge-status check, confirmations before -D and remote deletion), so the destructive-cap doesn't apply; it falls short of a 5 only because command-failure recovery is absent and the --keep-branch/--keep-remote flags aren't woven into the step sequence. | 4 / 5 |
Progressive Disclosure | ~180 lines, well-sectioned with clear headers, and suite links (../../commands/git-worktree.md etc.) are clearly signaled one level deep; the DB-cleanup detection logic duplicated from /git-worktree could live in a shared reference file. | 4 / 5 |
Total | 16 / 20 Passed |