AGENT SKILL

ship-wt

Spawn a fresh fir agent in a new worktree that ships itself — does the work, then runs ship-it (review-and-fix loop, ff-merge, release, worktree cleanup) when done. Use when you want a worktree task to finish and merge on its own.

License 许可
MIT
所属仓库
kfet/fir
最近更新
2026-11-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
ship-wt
builtin
true
override
true
description
Spawn a fresh fir agent in a new worktree that ships itself — does the work, then runs ship-it (review-and-fix loop, ff-merge, release, worktree cleanup) when done. Use when you want a worktree task to finish and merge on its own.

03 SKILL.md 正文

ship-wt — spawn a self-shipping worktree agent

wt plus ship-it. The spawned agent owns the task end-to-end: implement, then invoke ship-it once implementation is complete and make all passes. Plain wt is untouched — this is the explicit, opt-in shipping variant.

The work happens over there. Don't draft designs or touch code here.

Recipe

  1. Pick a short kebab-case feature name from the whole task.

  2. Build the task text. Start from the user's full task, ensure it carries a Mode: do. tag, prepend "Before exploring, run the recall skill for this repo.", and append the ship-it instruction verbatim:

    "When implementation is complete and make all passes, invoke the ship-it skill to finish: it loops review-and-fix until clean, ff-merges to main, cuts and publishes a release, and removes the worktree. Do not ask permission. Never skip the review-and-fix loop, even if the task is urgent."

  3. Spawn via wt's script (reused — ship-wt adds no spawn logic of its own):

    bash "$(dirname "$SKILL_DIR")/wt/scripts/spawn.sh" <feature-name> "<task text including mode tag and the ship-it instruction>"
    
  4. Tell the user the worktree path, branch, and window name (the script prints them). Then stop.

04 同仓库更多 Skills