Skip to content
Back to skills

Github Pr Flow

ASecurity

manage branches and full pull request lifecycle, from creation to merge

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
documentationgitci/cd

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill github-pr-flow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Pr Flow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Pr Flow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-github-pr-flow/badge)](https://www.skillsdirectory.com/skills/majiayu000-github-pr-flow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-pr-flow
description: manage branches and full pull request lifecycle, from creation to merge
---

## What is it?

The **PR Flow Skill** handles the logistics of code contribution: creating branches, opening Pull Requests, synchronizing branches, and merging.

## Success Criteria
- Branch exists before PR creation.
- PR titles follow [Conventional Commits](../github-kernel/references/CONVENTIONAL_COMMITS.md).
- PR description clearly states the changes.
- Syncing (updating) branches is performed when conflicts occur or before merge.
- Merges are performed only after approvals and passing checks.

## When to use this skill

- "Create a new branch for feature X."
- "Open a PR for my current changes."
- "Update this PR branch with the latest main."
- "Merge PR #50."

## What this skill can do

- **Branch Management**: Create feature branches from specific bases.
- **PR Creation**: Open Draft or Ready-for-review PRs.
- **Maintenance**: Update PR branches (sync with base) using `update_pull_request_branch`.
- **Conclusion**: Merge PRs (squash, merge, rebase).

## What this skill will NOT do

- Review code (use `github-review-cycle`).
- Modify file contents (use `github-kernel` tools like `create_or_update_file`).
- Run CI/CD checks (it only views status).

## How to use this skill

1. **Branch**: Always start by ensuring a branch exists (`create_branch`).
2. **Commit**: (Performed via file editing tools, not this skill).
3. **PR**: Create the PR (`create_pull_request`).
4. **Sync**: If CI fails due to conflicts or age, use `update_pull_request_branch`.
5. **Merge**: When approved and green, use `merge_pull_request`.

## Tool usage rules

- **Conventions**: PR Titles should follow [Conventional Commits](../github-kernel/references/CONVENTIONAL_COMMITS.md) (e.g., `feat: new login flow`).

- **Creation**: `create_branch` -> `create_pull_request`.
- **Updates**: `update_pull_request` (metadata) or `update_pull_request_branch` (git sync).

- **Merge**: `merge_pull_request` (Prefer `squash` for features, `merge` for long-lived branches).

## Examples

See [references/examples.md](references/examples.md) for compliant PR flow examples.

## Limitations

- Cannot resolve merge conflicts automatically (requires manual or file-edit intervention).
- Cannot bypass branch protection rules.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.