Agent skill · ma08

finish-task

Standardize end-of-task closeout when the user asks to finish, wrap up, merge-and-close, land, or otherwise cleanly close a tracked task or PR, including task-status sync, tracker notes/state changes, downstream heads-up checks, and local branch/worktree cleanup.

What it needs

About 6k tokens when loaded.

What this skill does

Finish Task Run the full closeout flow only when the goal is to land or close work, not when the task still needs implementation or review fixes. Invocation If no target is provided, resolve the current task for this session with get-task-details. Reuse Existing Helpers get-task-details for the current task metadata and status path save-task-status for status updates before and after closeout pr-autoreview-loop when the repo has a current-head reviewer/check workflow gh for GitHub PR and issue operations git for branch and worktree cleanup Step 1: Resolve the task and repo surfaces 1. Resolve the active task with get-task-details unless the user already gave an exact status.md, task folder, repo root, or tracker/PR URL. 2. Read the resolved status file and identify every repo involved: the code repo or worktree that owns the implementation the task-tracking repo (for example personalos) when it differs from the code repo task artifact folders such as context/daily/.../<task-slug>/ that need to be committed as durable closeout context whether each repo uses a dedicated task branch/PR or intentionally works on its default branch, such as personalos tasks done directly on main tracker surfaces such as Linear issues, GitHub issues, PRs, and any downstream linked tasks 3. Capture the current local state before touching anything: git status -sb git branch --show-current git worktree list gh pr status or gh pr view <number> when the repo uses GitHub PRs Step 2: Gate on closeout readiness Do not treat finish-task as permission to force-close unfinished work. If the task still has outstanding implementation, review findings, failing checks, or missing human approval, stay in the active workflow and explain what remains. For PR-bearing tasks, confirm that the current-head reviewer/check sweep is clean before merging. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills ma08/finish-task--9a5de7

View the source on GitHub

Browse the @skills marketplace