git-workflow-protocol

Enforce git worktree lifecycle and branch finishing with baseline test gates.

9|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/e-t-y-b/etyb-skills --skill git-workflow-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow-protocol
Source: https://github.com/e-t-y-b/etyb-skills/tree/main/skills/git-workflow-protocol
Command: npx skills add https://github.com/e-t-y-b/etyb-skills --skill git-workflow-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enforce disciplined git workflows for isolated worktrees and safe branch finishing.

Core Features & Use Cases

  • Worktree lifecycle: create, bootstrap dependencies, run the baseline test suite, and clean up after finishing.
  • Branch finishing protocol: choose MERGE, PR, KEEP, or DISCARD with a pre-finish gate that compares against the baseline.
  • Parallel development and integration: coordinate multiple worktrees and manage isolated workstreams to prevent interference.

Quick Start

Create a new worktree for a feature, bootstrap dependencies, run the baseline tests, and finish with MERGE, PR, KEEP, or DISCARD after verifying green results.

Frequently Asked Questions about git-workflow-protocol

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

FAQPage Schema
How do I manage parallel git worktrees to prevent branch interference?

To manage parallel git worktrees without interference, you can use a disciplined workflow protocol that isolates workstreams, bootstraps dependencies, and coordinates integration across multiple worktrees to prevent branch conflicts.

What is the safest way to finish a git branch after passing tests?

The safest way to finish a git branch is using a pre-finish gate that compares your current state against a captured baseline test suite. After verifying green results, you can safely choose to MERGE, PR, KEEP, or DISCARD the branch.

How do I capture baseline tests before starting parallel feature development?

You capture baseline tests by running the test suite immediately after bootstrapping dependencies in a new worktree. This establishes a green baseline for pre-finish gate comparisons before you begin isolated feature work.

Does this git worktree protocol work with OpenAI Codex and Google Antigravity?

Yes, the git worktree protocol implements runtime gates across Claude Code, OpenAI Codex, and Google Antigravity, enforcing branch finishing and cleanup protocols across these development environments.

When should I use DISCARD instead of MERGE for a finished git branch?

You should use DISCARD instead of MERGE when the pre-finish gate comparison shows failing tests against the baseline. If results are green and the feature is complete, MERGE or PR is appropriate for branch finishing.