/at:ship-taskfrom at
Wraps up a finished task: marks status done, squash-merges the task branch into main, and pushes. Part of a structured task workflow.
Ships in at. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/at:ship-task <task-path>
Wrap up a finished task - set status to done, merge, clean up.
This skill is typically run as part of a larger workflow:
create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task
As steps (e.g. clarify, plan, impl, review) typically run in new sessions, it's imperative that the task file plus repo state carry everything the next agent needs.
Task files live in the project's task store. Project config can override its location and other defaults: read .claude/auto-task.config.md (project, committed) and .claude/auto-task.config.local.md (personal overrides — win on conflict) if they exist. /at:config owns the defaults and the precedence rules.
main throughout this skill means the repo's default branch — substitute yours (e.g. master) if it differs.main.node_modules/, a virtualenv, etc.) don't update on merge. Run the ecosystem's install for each changed manifest (e.g. lockfile → package-manager install; regenerate any gitignored generated artefacts that depend on changed sources). The project config may list the exact commands.Branch must be task/NNN-... with no uncommitted tracked changes.
Set the task status to done. By default (in-repo task store), edit the frontmatter status: field and commit on the task branch with a (task/NNN) subject suffix — the squash in Step 3 carries it to main. If the config routes tasks to a separate repo, use its task-status command; the bump then commits there and the squash carries code only.
Squash the task branch into a single commit on main.
git -C "$primary" pull --rebase origin main # bring local main up to date with origin (keeps any unpushed local-main commits)
git -C "$primary" merge --squash task/NNN-<slug> # stage the task's combined diff onto main — no commit yet
git -C "$primary" commit # write the squash commit (message below)
$primary resolves to the worktree where main is checked out — needed because merge only updates the branch checked out in the worktree it runs in. See § $primary below. The pull --rebase first reconciles local main with origin (requires the primary worktree to be clean); if origin/main is merely behind local main, it's a no-op. (No remote configured? Skip the pull and the Step 5 push.)
Squash-commit message — follow the repo's own commit conventions first (style, tense, prefixes). Defaults where the repo has none:
(task/NNN); config can change or drop it — it's what ties the commit back to the task).If merge --squash conflicts, stop and flag it to the user.
Run the project's verification command from $primary on the post-squash commit, before pushing. The command comes from the config; absent that, use the project's canonical check (a just/make check recipe, the CI workflow's steps, or at minimum the full test suite).
A green task branch is not enough: the pull --rebase in Step 3 folds in whatever landed on main since the branch forked, and a parallel change can break the task's code or tests with zero textual conflict (e.g. a renamed helper silently invalidates an assertion in an untouched test file). Git merges them cleanly; only re-running the verification on the combined tree catches it.
If verification fails, stop and fix on main before pushing — do not push a red tree. (CI is the backstop, not the gate.)
git push origin main (any worktree — push is repo-wide).git -C "$primary" worktree remove --force <task_worktree> and git -C "$primary" branch -D task/NNN-<slug> (-D, not -d — squash-merge leaves the branch tip a non-ancestor of main, so -d refuses it as "not merged").If the project config defines a transcript-capture command, re-run it now — the ship commits post-date any capture taken at auto-task wrap-up, and this final capture supersedes it.
One-sentence summary.
$primaryA git repo can have multiple worktrees, each with a different branch checked out. The "primary" is the original one — where main lives. Task worktrees have the task branch checked out.
Resolve once:
primary=$(git worktree list --porcelain | awk '/^worktree / {print $2; exit}')
Why it's needed:
git merge, git checkout, git rebase mutate the branch checked out in the worktree they run in. To advance main, you must run from the primary worktree (or -C "$primary").git worktree remove <wt> refuses if you're inside <wt>. Call it from the primary.git branch -d <branch> refuses if <branch> is checked out anywhere. Easier to delete from the primary after the task worktree is gone.git push and git fetch are repo-wide — no $primary needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub patforna/auto-task --plugin at13 skills in this plugin
/auto-taskUse to drive a well-defined task end-to-end with minimal human input: plan, implement, review, ship./clarify-taskUse this skill to resolve ambiguities, clarify vague criteria and make implicit assumptions explicit. Invoked at the end of /at:create-task and the start of /at:plan-task. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./configUse this skill to resolve auto-task settings. It owns the procedure that merges the shipped defaults file with project and local config, per-leaf, plus the resolved-block contract consumers read. Run it standalone to inspect the resolved settings and where each value came from./create-taskUse this skill to crystallise and scope an ongoing conversation into a well-defined task, capturing user intent at a high level. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./impl-taskUse to implement a task by executing its implementation plan. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./panelUse to get independent perspectives on a topic from multiple models (a strong Claude model + Codex by default). Use with /at:synthesize to merge.Other plugins' skills for the same job