git-workflow

Automate Git branch inspection, merge-base analysis, and pre-review checks.

Updated May 6, 2026
One-click install
npx skills add https://github.com/htayj/src --skill git-workflow-htayj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/htayj/src/tree/main/dotfiles/pi/.pi/agent/packages/general-dev-suite/skills/git-workflow
Command: npx skills add https://github.com/htayj/src --skill git-workflow-htayj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies Git operations related to creating branches, merging, rebasing, and code review preparation, reducing manual errors and saving time.

Core Features & Use Cases

  • Branch Management: Helps in inspecting remotes, selecting target branches, and maintaining logical commit histories.
  • Review Preparation: Guides users to run required checks, fill templates, and link issues before submitting reviews.
  • Use Case: A developer wants to ensure their feature branch is rebased correctly and ready for review; they use this Skill to automate checks and prepare the review request.

Quick Start

Use the git-workflow skill to check your current branch status and prepare for 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 prepare a feature branch for code review?

To prepare a feature branch for code review, the Skill automates running required pre-review checks, filling templates, and linking issues. This ensures your branch maintains a clean commit history and is fully ready for submission.

What is the best way to manage Git branches before merging?

The best way to manage Git branches before merging is to automate branch inspection and merge-base analysis. This process helps select appropriate target branches and maintain a logical, clean commit history across remotes.

Do I need Git CLI tools installed to automate branch inspection and rebasing?

Yes, you need Git CLI tools installed to automate branch inspection and rebasing. The Skill requires Git CLI for execution to perform operations like merge-base analysis and maintaining clean commit histories.

How does merge-base analysis help maintain clean commit histories?

Merge-base analysis helps maintain clean commit histories by identifying the common ancestor between branches. This allows the Skill to guide appropriate target branch selection and ensure your commits are rebased correctly before merging.

Can I use this to automate checks for selecting appropriate target branches?

Yes, you can use this to automate checks for selecting appropriate target branches. It inspects remotes and performs merge-base analysis to help you choose the correct target branch for your development workflow.