Skip to content
Agentmart
Submit a tool

ag-git-flow

Trigger keywords: git flow, branch management, rebase, merge request, commit convention, release flow, create pr, pull request, pr template, gh pr.

Skill by ngxccc

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ngxccc-ag-git-flow

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Trigger keywords: git flow, branch management, rebase, merge request, commit convention, release flow, create pr, pull request, pr template, gh pr. Skill for managing branch creation, conventional commit formatting, feature branching, and clean pull request creation workflows.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ag-git-flow

What's inside

Skill name
ag-git-flow
Description
Trigger keywords: git flow, branch management, rebase, merge request, commit convention, release flow, create pr, pull request, pr template, gh pr. Skill for managing branch creation, conventional commit formatting, feature branching, and clean pull request creation workflows.
License
MIT
Instructions
60 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • SKILL.md
  • git-flow-templates.md · references/
  • pr-template.md · references/
  • create-pr.mjs · scripts/
  • git-flow.mjs · scripts/

SKILL.md (first lines)

# Git Flow & Pull Request Protocol (`ag-git-flow`)

## When to Apply

This skill is designed for the agent to reference when:

- The user or agent needs to perform branch operations (creating feature branches, rebasing, squashing).
- Enforcing Conventional Commits formatting (`feat:`, `fix:`, `refactor:`, `docs:`, `test:`).
- Creating enterprise Pull Requests (PRs) with standard titles, structured Markdown bodies, labels, and assignees.
- Triggered by explicit keywords: `git flow`, `branch management`, `rebase`, `merge request`, `commit convention`, `create pr`, `pull request`, `pr template`, `gh pr`.

---

## How to Use

### 1. Step-by-Step Instructions

1. **Check Working Directory Status:** Run `git status` to verify clean state before branching or rebasing.
2. **Format Conventional Commits:** Ensure all commit messages strictly follow `<type>(<scope>): <short summary>`.
3. **Execute Clean Feature Branching:**
   - Feature branch pattern: `feature/<kebab-case-name>`
   - Bugfix branch pattern: `fix/<kebab-case-name>`
   - Hotfix branch pattern: `hotfix/<kebab-case-name>`
4. **Create Enterprise Pull Requests:**
   - Generate structured PR title: `<type>(<scope>): <short description>`
   - Build mandatory PR body using `references/pr-template.md`.
   - Execute PR creation via `xd://github` (`op: pr_create`) or helper script `.claude/skills/ag-git-flow/scripts/create-pr.mjs`.

### 2. Examples

#### Example 1: Creating a Feature Branch & Conventional Commit

- **Context:** User wants to start a new feature for payment webhooks.
- **User prompt:** "Start a new git branch and commit message for payment webhook integration."
- **Action/Result:** Agent checks git status, creates branch `feature/payment-webhook-integration`, and crafts commit `feat(payment): add PayOS webhook handler`.

#### Example 2: Enterprise Pull Request Creation

- **Context:** Committing and opening a PR for an authentication fix.
- **User prompt:** "Create a pull request for the auth service fix."
- **Action/Result:** Agent formats title `fix(auth): resolve JWT expiration handling`, builds body per `pr-template.md`, and runs PR creation via `create-pr.mjs` or `xd://github`.

---

## Quick Reference

- `conventional-commits` - Format all messages as `<type>(<scope>): <description>`.
- `clean-branching` - Use feature/ or fix/ branch naming prefixes.
- `enterprise-pr` - Enforce clean titles and structured body template without emojis.
- `no-force-push-main` - NEVER force-push to main or master branches.

---

## References

- [references/git-flow-templates.md](references/git-flow-templates.md) - Conventional commit & branch template reference.
- [references/pr-template.md](references/pr-template.md) - Enterprise Pull Request template and specification.
- [process/context/all-context.md](../../../process/context/all-context.md) - Project context and repository guidelines.

From ngxccc/agent-skills-kit, MIT.

More from ngxccc/agent-skills-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ngxccc

Cite this page

ag-git-flow skill. Agent Mart. https://agentmart.dev/skills/ngxccc-ag-git-flow (last updated 2026-10-24)