branch-pr

Create pull requests with issue-first checks and branch naming conventions.

Updated Mar 26, 2025
One-click install
npx skills add https://github.com/ricardoalt1515/.config --skill branch-pr-ricardoalt1515
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: branch-pr
Source: https://github.com/ricardoalt1515/.config/tree/main/opencode/skills/branch-pr
Command: npx skills add https://github.com/ricardoalt1515/.config --skill branch-pr-ricardoalt1515

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of pull requests with proper issue linking and labeling, streamlining the review process for Gentle AI projects.

Core Features & Use Cases

  • Issue-First PR Creation: Ensures every pull request is linked to an approved issue, reducing confusion and improving collaboration.
  • Automated Checks: Validates PRs against predefined rules, such as correct issue linking and labeling, before merging.
  • Branch Naming Conventions: Enforces a consistent naming scheme for branches, making code reviews easier.

Quick Start

Use the branch-pr skill to create a new pull request for the 'feat/user-login' branch.

Frequently Asked Questions about branch-pr

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

FAQPage Schema
How do I automate pull request creation with issue-first checks in GitHub?

Automating pull request creation with issue-first checks requires linking every PR to an approved issue. This skill enforces branch naming conventions and validates correct issue linking and type labeling before merging.

Do I need the GitHub CLI to enforce branch naming conventions for pull requests?

Yes, you need the GitHub CLI and Git installed to enforce branch naming conventions. These dependencies manage branch creation and validate that pull requests meet predefined issue linking and labeling rules.

What is issue-first pull request validation and how does it work?

Issue-first pull request validation ensures every PR is explicitly linked to an approved issue before creation. It works by running automated checks against predefined rules to verify correct issue linking and type labeling for Gentle AI projects.

How do I link an approved issue to a new GitHub pull request automatically?

To link an approved issue to a new GitHub pull request automatically, use this skill to validate the issue status and enforce branch naming conventions. It ensures the PR has the correct type label before submission.

Can I create a pull request without an approved issue using branch management scripts?

No, this skill prevents creating a pull request without an approved issue. It enforces issue-first checks to ensure every PR is linked to an approved issue and has the correct type label, reducing collaboration confusion.

What are the limitations of automating pull request creation with GitHub CLI?

The limitation is that this automation is specifically tailored for Gentle AI projects, requiring strict adherence to predefined branch naming conventions and mandatory approved issue linking before any pull request can be created.