Skip to main content

finish-worktree

Tears down a finished agent worktree — `cd`s back to the repo root and runs `wt rm --slug <slug>`, which runs the safety checks, tears the stack down, deletes the per-worktree VM, frees the slot and removes the git worktree in one shot. The remote branch is left untouched (the PR points at it). Takes the worktree slug as the argument (e.g. `/finish-worktree tunnel-retry`). This skill can be invoked manually after any worktree-based flow finishes — ad-hoc bugfixes, design exploration, anything where the worktree's purpose is over and the slot should be freed for the next run. Use this skill whenever the user says "finish worktree", "clean up worktree", "tear down worktree", "remove worktree", "done with worktree", "delete worktree <slug>", "wrap up the <slug> worktree", or any equivalent ask to dispose of a finished worktree. Do **not** trigger when there's still active work in the worktree, when the PR hasn't been opened yet, or when the run failed — leaving the worktree alive is the right answer in those cas

الانتقال إلى التثبيت

معلومات المصدر

المستودع
tinkerindustries/mini-infra
آخر نشاط في المصدر
٢٨ أغسطس ٢٠٢٦ في ٠٩:٣٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٣
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.