git-workflow

Automate Git branch creation, Conventional Commits, and pull request management via GitHub CLI.

5|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/micahcourey/temporal-plane --skill git-workflow-micahcourey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/micahcourey/temporal-plane/tree/main/.ai/skills/git-workflow
Command: npx skills add https://github.com/micahcourey/temporal-plane --skill git-workflow-micahcourey

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, and includes scripts (resource) components.

What problem does it solve?

Projects often suffer from inconsistent branch naming, messy commit messages, and ad-hoc PR workflows that slow collaboration and make agent-driven automation brittle. This Skill codifies temporal-plane conventions and provides deterministic scripts to create branches, enforce Conventional Commits, push changes, create or update PRs, check PR status, and clean up merged branches.

Core Features & Use Cases

  • Standardized Branching: Enforces the project's ticket-based branch naming pattern and automates branch creation from the default branch.
  • Conventional Commits: Guided commit creation that formats messages to Conventional Commits and optionally appends ticket closures.
  • Idempotent PR Management: Non-interactive and interactive scripts that create or update PRs via the GitHub CLI, inspect CI checks, and request reviewers.
  • Repository Maintenance: Syncing, updating, and cleaning up branches with safe stash/restore behavior to avoid lost work.
  • Use Case: An AI agent can generate a feature branch, commit changes with the correct format, push, and create or update a PR reliably using the provided scripts.

Quick Start

Run the new-branch, commit, and create-or-update-pr scripts in sequence to create a correctly named branch, make a Conventional Commit, push the branch, and create or update a pull request.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I automate conventional commits and pull request creation with GitHub CLI?

You can automate conventional commits and pull request creation by running scripts that format messages, push branches, and perform idempotent PR creation or updates via GitHub CLI. This enforces consistent formatting and reliable PR management.

What's the best way to enforce standardized branch naming in an automated Git workflow?

The best way to enforce standardized branch naming in an automated Git workflow is to use scripts that codify ticket-based naming patterns and automate branch creation from the default branch, ensuring consistency across all feature branches.

Can I safely stash and restore uncommitted changes when syncing Git branches?

Yes, you can safely stash and restore uncommitted changes when syncing Git branches using safe stash/restore behaviors implemented in repository maintenance scripts, preventing lost work during branch updates and rebasing operations.

How do I create or update pull requests non-interactively with gh CLI?

You can create or update pull requests non-interactively with gh CLI by using provided scripts that perform idempotent PR creation or updates, inspect CI checks, and request reviewers without requiring manual interaction.

Do I need GitHub CLI installed to automate pull request workflows?

Yes, you need GitHub CLI (gh) and git installed as dependencies to automate pull request workflows, as the scripts rely on gh to perform idempotent PR creation, inspect CI checks, and request reviewers.

How do I clean up merged Git branches automatically after a pull request?

You can clean up merged Git branches automatically after a pull request by running repository maintenance scripts that handle branch cleanup, syncing, and updating with safe stash/restore behaviors to avoid lost work.