speckit-complete-branch

Preflight and cherry-pick accepted Spec branch work into the base branch.

95|39|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/liuminxin45/auto-podcast --skill speckit-complete-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-complete-branch
Source: https://github.com/liuminxin45/auto-podcast/tree/main/.agents/spec-kit/skills/speckit-complete-branch
Command: npx skills add https://github.com/liuminxin45/auto-podcast --skill speckit-complete-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps finish an accepted local Spec branch safely, turning a validated feature branch into a completed base-branch change without losing the original spec branch or skipping required checks.

Core Features & Use Cases

  • Preflight validation: checks dirty state, upstream tracking, branch safety, and retrospective gates before completion.
  • Controlled completion: runs the post-commit self-check, rubric validation, and safe cherry-pick into master while keeping the spec branch intact.
  • Operational reporting: classifies tracked changes versus temporary artifacts and reports blockers, ignored noise, and final branch state for auditability.

Quick Start

Ask the skill to complete the current Spec branch after confirming the retrospective, self-check, and rubric gates are satisfied.

Frequently Asked Questions about speckit-complete-branch

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

FAQPage Schema
How do I safely complete a spec branch without losing my work?

To safely complete a spec branch, this skill runs preflight validation and cherry-picks accepted work into the base branch while keeping the spec branch intact. It requires workflow-record and improvement-candidates evidence to gate the process and avoid losing work.

What is cherry-pick preflight validation for branch completion?

Cherry-pick preflight validation is a stage gating process that checks dirty state, upstream tracking, and retrospective gates before completing a branch. It classifies tracked changes versus temporary artifacts to report blockers and ensure a safe cherry-pick sequence into the base branch.

Does spec-kit branch completion require rubric validation and a post-commit self-check?

Yes, spec-kit branch completion requires both a post-commit self-check and rubric validation. These retrospective checks act as workflow gates that must be satisfied before the safe cherry-pick sequence is executed to merge accepted work into master.

Why does my safe cherry-pick sequence avoid remote pushes during branch completion?

The safe cherry-pick sequence avoids remote pushes to preserve local branch state and prevent premature upstream changes during spec branch completion. This controlled completion ensures the spec branch is kept intact locally while only the validated base-branch change is finalized.

What is the best way to classify dirty state and temporary artifacts before a cherry-pick?

The best way to classify dirty state and temporary artifacts is using operational reporting that distinguishes tracked changes from temporary noise. This preflight classification reports blockers and ignored files, ensuring only validated work is cherry-picked into the base branch.