Skip to main content

worktree-reset

Reset a git worktree slot for its next task after its branch's work merged - fresh numbered branch at the default branch, cowork lanes reset, ignored files and chief state kept. Use when the user asks to reset, clean up or recycle a worktree for another session.

Quellinformationen

Repository
hathach/agentrc
Letzte Quellaktivität
1. Oktober 2026 um 06:09
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
worktree-reset
description
Reset a git worktree slot for its next task after its branch's work merged - fresh numbered branch at the default branch, cowork lanes reset, ignored files and chief state kept. Use when the user asks to reset, clean up or recycle a worktree for another session.
# Resetting a worktree `scripts/worktree_reset.py` does the reset; its docstring has every check, step and exit code. ```bash python3 ~/.claude/skills/worktree-reset/scripts/worktree_reset.py [--dry-run] [--pending "<item>"]... [--proceed] ``` - Pass each follow-up of this task, including a headless chief report's, that is neither done nor filed as an issue under the repository's follow-up convention as `--pending`. - Exit 4: show its list and ask the human; rerun with `--proceed` only on their yes; headless, report needs-user. A yes allows the reset, not filing issues. - Exit 3 or 5: report the message; never work around a refusal.
Auf GitHub ansehen