git-workflow

Automate GitHub PR creation, merging, and main branch synchronization.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/M2AI-jp/thanks4claudecode-fresh --skill git-workflow-m2ai-jp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/M2AI-jp/thanks4claudecode-fresh/tree/main/.claude/skills/git-workflow
Command: npx skills add https://github.com/M2AI-jp/thanks4claudecode-fresh --skill git-workflow-m2ai-jp

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solves?

This Skill eliminates manual Git operations by automatically creating Pull Requests, merging completed work, and managing branch synchronization, saving developers hours of repetitive Git commands.

Core Features & Use Cases

  • Automatic PR Creation: Generates GitHub Pull Requests with proper titles and descriptions when playbooks complete
  • Smart Merging: Automatically merges PRs with proper commit messages and branch cleanup
  • Branch Synchronization: Ensures main branch stays updated after merges
  • Use Case: When you finish a feature implementation, this Skill automatically creates a PR with all your changes, runs checks, merges it to main, and switches your local branch back to main - all without manual intervention.

Quick Start

The git-workflow skill automatically triggers when playbooks complete, handling the entire PR lifecycle from creation to merge without any manual commands.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I automate GitHub pull request creation and merging in my workflow?

Automatic PR creation and merging eliminates manual Git commands by generating pull requests with proper titles and descriptions when your work completes, then merging them to main with configurable strategies and automatic branch synchronization.

Can I automatically create PRs and merge them without manual intervention?

Yes. This Skill automatically triggers after playbook completion to create PRs, run checks, merge with proper commit messages, clean up branches, and sync your local branch back to main—all without manual commands.

What branch management does automated GitHub workflow handle?

Automated branch management includes PR creation with configurable naming patterns, smart merging with selectable strategies, automatic branch cleanup post-merge, and main branch synchronization to keep your repository state current.

Do I need the GitHub CLI to use automated PR and merge workflows?

Yes. The gh CLI is required to create and merge pull requests, validate state and changes, generate PR content, and execute merge operations with post-merge synchronization steps.

What happens after a PR is automatically merged to main?

Post-merge, the Skill automatically synchronizes your main branch, ensuring your local environment reflects the merged state and is ready for the next feature without manual branch switching or pulling.

When should I use automated PR workflows instead of manual Git commands?

Use automated PR workflows when completing features in playbooks to save repetitive Git operations, ensure consistent PR formatting and merge strategies, and maintain synchronized branch states across your development environment.