plan:end-phase

Verify merged PRs and update local and main branches.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/LounisBou/claude-code --skill plan-end-phase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plan:end-phase
Source: https://github.com/LounisBou/claude-code/tree/main/skills/plan%3Aend-phase
Command: npx skills add https://github.com/LounisBou/claude-code --skill plan-end-phase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finalizes a development phase after PR approval by confirming the PR is merged and then returning the workflow to the main branch, ensuring consistency and clarity.

Core Features & Use Cases

  • Enforces a deterministic, multistep workflow from git state validation to main checkout and merge verification.
  • Tracks progress through a task-based checklist (STEP 1 to STEP 5) and provides actionable recovery guidance for failures.
  • Use cases include post-PR phase completion in feature-driven projects, ensuring auditable state transitions and smooth handoffs to the next development phase.

Quick Start

Invoke /plan:end-phase after your PR is approved to finalize the current phase and return to main.

Frequently Asked Questions about plan:end-phase

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

FAQPage Schema
How do I automate git workflow finalization after a pull request merges?

Automating git workflow finalization after a pull request merge requires verifying the PR status and updating local and main branches. This process enforces a deterministic, multistep workflow from git state validation to main checkout, ensuring consistency and clarity before announcing phase completion.

What is the best way to return to the main branch after a feature pull request is approved?

The best way to return to the main branch after a feature pull request is approved involves a structured phase completion process. It tracks progress through a task-based checklist, verifies the merge status, checks out the main branch, and provides actionable recovery guidance for any failures during the transition.

How do I verify a merged pull request and track progress in a feature-driven project?

To verify a merged pull request and track progress in a feature-driven project, apply a task-based checklist across five explicit steps. This workflow validates the git state, confirms the merge, updates branches, and announces completion, ensuring auditable state transitions and smooth handoffs to the next development phase.

Can I use an automated phase completion workflow for collaborative software projects?

Yes, you can use an automated phase completion workflow for collaborative software projects. It applies to feature branches by handling steps from git state validation to main checkout and merge verification, ensuring smooth handoffs to the next development phase in collaborative environments.

Do I need to be on a feature branch to finalize a development phase?

Yes, you need to be on a feature branch with a merged pull request to finalize a development phase. The workflow requires this specific git state to properly validate the merge, update the main branch, and announce the completion of the current phase.

What happens if branch verification fails during phase completion?

If branch verification fails during phase completion, the workflow provides actionable recovery guidance. It enforces a deterministic, multistep process that tracks progress through a task-based checklist, ensuring you can resolve git state issues before successfully checking out the main branch.