understanding-cross-phase-stacking

Explain how sequential and parallel Git worktree phases inherit from the base branch.

19|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/arittr/spectacular --skill understanding-cross-phase-stacking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: understanding-cross-phase-stacking
Source: https://github.com/arittr/spectacular/tree/main/skills/understanding-cross-phase-stacking
Command: npx skills add https://github.com/arittr/spectacular --skill understanding-cross-phase-stacking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates confusion about how different workflow phases automatically inherit work from previous phases, preventing broken dependency chains and manual base branch management.

Core Features & Use Cases

  • Automatic Inheritance: Ensures sequential and parallel phases build on completed work without manual intervention.
  • Cross-Phase Verification: Provides commands to verify stack continuity and correct base branch detection.
  • Use Case: When transitioning from a database setup phase to parallel feature implementation phases, this Skill ensures the features inherit the database schema automatically rather than starting from stale bases.

Quick Start

Use this skill to understand how the current phase automatically inherits work from previous phases when starting a new parallel or sequential workflow.

Frequently Asked Questions about understanding-cross-phase-stacking

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

FAQPage Schema
How do sequential and parallel phases automatically inherit work in Git workflows?

Sequential and parallel phases automatically inherit from the current base branch without manual intervention. Each new phase builds on completed work from previous phases, with the main worktree tracking the base and explicit verification steps confirming correct cross-phase inheritance across your stacked branches.

What is phase stacking in multi-phase Git worktree workflows?

Phase stacking is the automatic dependency chain where each workflow phase inherits the work completed by prior phases. It prevents broken dependency chains by ensuring sequential phases build on previous outputs and parallel phases share the same base, eliminating manual base branch management.

How do I verify that phases are inheriting the correct base branch?

Use explicit verification commands to check stack continuity and confirm correct base branch detection. Verification ensures each phase has inherited the expected work from previous phases and that the cross-phase chain maintains proper dependency relationships without gaps.

Can I run parallel phases while ensuring they inherit from completed sequential work?

Yes. Parallel phases automatically inherit from the base branch established by sequential phases. Once a sequential phase completes, parallel phases spawn from that base, ensuring they build on the finished work rather than stale branches.

What happens if base branch detection fails in a multi-phase workflow?

Failed base detection breaks the dependency chain, causing phases to inherit from incorrect or stale branches. The Skill provides verification steps to catch base detection issues early and prevent cascading failures across your stacked phases.

Do I need manual intervention to manage phase inheritance across branches?

No. Phase inheritance is fully automatic—no manual branch management required. The system tracks base branches through the main worktree and applies inheritance rules automatically, with explicit verification as the only manual step needed to confirm correctness.