Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
fearovex avatar

Branch Pr

  • 37 installs
  • 1 repo stars
  • Updated July 19, 2026
  • fearovex/claude-config

Branch-pr is an agent skill that walks you through Agent Config’s issue-linked PR workflow with branch naming, labels, and pre-merge checks.

About

Branch-pr is a procedural agent skill for the Agent Config project’s issue-first pull request system. It is aimed at solo contributors and maintainers who need a repeatable checklist when creating or helping others open PRs so merges are not rejected by automation. The workflow starts by confirming the linked issue has status:approved, then creating a branch that matches the enforced naming regex, implementing with conventional commits, running shellcheck on touched scripts, and submitting via the project template with a single type label. Critical rules are explicit: no PR without an approved issue, exactly one type:* label, and all automated checks green before merge. Branch naming tables spell out feat, fix, chore, docs, style, refactor, perf, test, build, ci, and revert patterns with lowercase slug rules. Use this skill whenever you are preparing a branch for review rather than improvising PR metadata.

  • 7-step workflow from approved issue verification through automated checks
  • Every PR must link an approved issue and carry exactly one type:* label
  • Branch names must match type/description regex for feat, fix, chore, docs, and related conventional types
  • Requires shellcheck on modified scripts before opening the PR
  • Blank PRs without issue linkage are blocked by GitHub Actions

Branch Pr by the numbers

  • 37 all-time installs (skills.sh)
  • Ranked #332 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fearovex/claude-config --skill branch-pr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs37
repo stars1
Security audit3 / 3 scanners passed
Last updatedJuly 19, 2026
Repositoryfearovex/claude-config

What it does

Open a compliant pull request for Agent Config repos with approved issues, correct branch names, and required labels.

Who is it for?

Contributors to fearovex/claude-config (Agent Config) who want the agent to enforce the official PR ritual end to end.

Skip if: Generic open-source repos without issue-first GitHub Actions or repos that do not use the Agent Config label and branch conventions.

When should I use this skill?

When creating a pull request, opening a PR, or preparing changes for review in Agent Config.

What you get

You open a template-backed PR on a correctly named branch with one type:* label and checks passing so merge is unblocked.

  • Pull request from the project template with issue link and type:* label
  • Branch and commits that pass automated checks including shellcheck on scripts

By the numbers

  • 7-step PR workflow
  • 4 critical rules including one type:* label per PR

Files

SKILL.mdMarkdownGitHub ↗

Triggers: creating a pull request, opening a PR, preparing a branch for review.

When to Use

Use this skill when:

  • Creating a pull request for any change
  • Preparing a branch for submission
  • Helping a contributor open a PR

---

Critical Rules

1. Every PR MUST link an approved issue — no exceptions 2. *Every PR MUST have exactly one `type:` label 3. Automated checks must pass before merge is possible 4. Blank PRs without issue linkage will be blocked** by GitHub Actions

---

Workflow

1. Verify issue has `status:approved` label
2. Create branch: type/description (see Branch Naming below)
3. Implement changes with conventional commits
4. Run shellcheck on modified scripts
5. Open PR using the template
6. Add exactly one type:* label
7. Wait for automated checks to pass

---

Branch Naming

Branch names MUST match this regex:

^(feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)\/[a-z0-9._-]+$

Format: type/description — lowercase, no spaces, only a-z0-9._- in description.

TypeBranch patternExample
Featurefeat/<description>feat/user-login
Bug fixfix/<description>fix/zsh-glob-error
Chorechore/<description>chore/update-ci-actions
Docsdocs/<description>docs/installation-guide
Stylestyle/<description>style/format-scripts
Refactorrefactor/<description>refactor/extract-shared-logic
Performanceperf/<description>perf/reduce-startup-time
Testtest/<description>test/add-setup-coverage
Buildbuild/<description>build/update-shellcheck
CIci/<description>ci/add-branch-validation
Revertrevert/<description>revert/broken-setup-change

---

PR Body Format

The PR template is at .github/PULL_REQUEST_TEMPLATE.md. Every PR body MUST contain:

1. Linked Issue (REQUIRED)

Closes #<issue-number>

Valid keywords: Closes #N, Fixes #N, Resolves #N (case insensitive). The linked issue MUST have the status:approved label.

2. PR Type (REQUIRED)

Check exactly ONE in the template and add the matching label:

CheckboxLabel to add
Bug fixtype:bug
New featuretype:feature
Documentation onlytype:docs
Code refactoringtype:refactor
Maintenance/toolingtype:chore
Breaking changetype:breaking-change

3. Summary

1-3 bullet points of what the PR does.

4. Changes Table

| File | Change |
|------|--------|
| `path/to/file` | What changed |

5. Test Plan

- [x] Scripts run without errors: `shellcheck scripts/*.sh`
- [x] Manually tested the affected functionality
- [x] Skills load correctly in target agent

6. Contributor Checklist

All boxes must be checked:

  • Linked an approved issue
  • Added exactly one type:* label
  • Ran shellcheck on modified scripts
  • Skills tested in at least one agent
  • Docs updated if behavior changed
  • Conventional commit format
  • No Co-Authored-By trailers

---

Automated Checks (all must pass)

CheckJob nameWhat it verifies
PR ValidationCheck Issue ReferenceBody contains Closes/Fixes/Resolves #N
PR ValidationCheck Issue Has status:approvedLinked issue has status:approved
PR ValidationCheck PR Has type:* LabelPR has exactly one type:* label
CIShellcheckShell scripts pass shellcheck

---

Conventional Commits

Commit messages MUST match this regex:

^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9\._-]+\))?!?: .+

Format: type(scope): description or type: description

  • type — required, one of: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test
  • (scope) — optional, lowercase with a-z0-9._-
  • ! — optional, indicates breaking change
  • description — required, starts after :

Type-to-label mapping:

Commit typePR label
feattype:feature
fixtype:bug
docstype:docs
refactortype:refactor
choretype:chore
styletype:chore
perftype:feature
testtype:chore
buildtype:chore
citype:chore
reverttype:bug
feat! / fix!type:breaking-change

Examples:

feat(scripts): add Codex support to setup.sh
fix(skills): correct topic key format in sdd-apply
docs(readme): update multi-model configuration guide
refactor(skills): extract shared persistence logic
chore(ci): add shellcheck to PR validation workflow
perf(scripts): reduce setup.sh execution time
style(skills): fix markdown formatting
test(scripts): add setup.sh integration tests
ci(workflows): add branch name validation
revert: undo broken setup change
feat!: redesign skill loading system

---

Commands

# Create branch
git checkout -b feat/my-feature main

# Run shellcheck before pushing
shellcheck scripts/*.sh

# Push and create PR
git push -u origin feat/my-feature
gh pr create --title "feat(scope): description" --body "Closes #N"

# Add type label to PR
gh pr edit <pr-number> --add-label "type:feature"

Related skills

How it compares

Use instead of ad-hoc “open a PR” chat when this repository’s GitHub Actions enforce issue linkage and label rules.

FAQ

Who is branch-pr for?

Anyone creating or reviewing pull requests in Agent Config who needs the enforced issue-first and type-label workflow spelled out for the agent.

When should I use branch-pr?

Use it in Ship (review) when creating a pull request, preparing a branch for submission, or helping a contributor open a PR after implementation.

Is branch-pr safe to install?

It is procedural documentation under Apache-2.0; confirm fit with your repo policies and review the Security Audits panel on this page before enabling in CI-heavy workflows.

Git & Pull Requestsgitdevopstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.