finish-task

Standardize end-to-end closeout for tracked coding tasks and pull requests.

28|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/ma08/botfiles --skill finish-task-ma08
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finish-task
Source: https://github.com/ma08/botfiles/tree/main/claude/skills/finish-task
Command: npx skills add https://github.com/ma08/botfiles --skill finish-task-ma08

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually closing out tracked coding tasks is inconsistent and error-prone, often leading to missed status updates, unmerged pull requests, leftover local branches, or incomplete task tracker notes that break cross-session workflows and team visibility.

Core Features & Use Cases

  • Standardized Closeout Flow: Provides a repeatable, safe workflow for landing work tied to tracked tasks, covering status sync, PR merging, and cleanup.
  • Cross-Repo Support: Handles tasks spanning code repositories and task-tracking repos (e.g., personal_os), including committing task context artifacts to the correct repo.
  • Safety Guardrails: Requires explicit user confirmation for all destructive actions (branch deletion, tracker closure, worktree removal) and gates closeout on readiness checks to prevent merging unfinished work.
  • Use Case: Use this skill when you have completed implementation and review for a tracked feature, and want to merge its PR, update the task tracker to Done, and clean up local branches and worktrees without missing required steps.

Quick Start

Ask your coding agent to finish the active tracked task, and it will execute the full safe closeout flow including status updates, PR merging, tracker notes, and local branch cleanup.

Frequently Asked Questions about finish-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely close out tracked coding tasks and merge pull requests?

Safely closing tracked coding tasks requires a standardized closeout workflow that syncs task status files, merges pull requests, updates the task tracker, and cleans up local branches. This process enforces readiness validation and explicit confirmation to prevent merging unfinished work.

What is the best way to clean up local git branches and worktrees after a PR merge?

Cleaning up local git branches and worktrees after a PR merge is safest when governed by explicit user confirmation gates. The workflow ensures task status files are synced and the tracker is updated before removing local development artifacts, preventing broken cross-session states.

How does cross-repo task tracking work when finalizing a feature?

Cross-repo task tracking finalization works by committing task context artifacts to the correct task-tracking repository while merging code into the main repository. This ensures tracker notes and status files are synced across both repositories before and after external system updates.

Can I automate task tracker state updates and code repo merges simultaneously?

Yes, you can automate task tracker state updates and code repo merges simultaneously through an end-to-end closeout workflow. The process gates closeout on readiness validation and ensures task status files are synced both before and after external system updates.

Why do I need explicit confirmation for branch deletion and task tracker closure?

Explicit confirmation for branch deletion and task tracker closure is required to establish safety guardrails against destructive actions. This prevents accidental data loss, ensuring local worktrees are only removed after implementation and review are fully complete and validated.

When should I use a standardized devops task closeout workflow?

You should use a standardized devops task closeout workflow when you have completed implementation and review for a tracked feature. It is necessary to prevent missed status updates, unmerged pull requests, leftover local branches, and incomplete task tracker notes that break team visibility.