create-pr

Create or update GitHub pull requests from the current branch to main and initiate CI checks.

9|11|Updated Feb 27, 2025
One-click install
npx skills add https://github.com/dojoengine/katana --skill create-pr-dojoengine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/dojoengine/katana/tree/main/.agents/skills/create-pr
Command: npx skills add https://github.com/dojoengine/katana --skill create-pr-dojoengine

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the PR workflow by automatically creating or updating pull requests from your current feature branch to main and supervising CI feedback, reducing manual back-and-forth.

Core Features & Use Cases

  • Auto-create or update a pull request from the active branch to main, including title and description updates based on code changes.
  • Monitor CI status and surface the latest checks and review comments to keep developers aligned.
  • Use in daily development to accelerate feature integration, code reviews, and feedback cycles across teams.

Quick Start

Run this skill on a feature branch to auto-create or update a PR against main and watch CI until it completes.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate pull request creation from a feature branch to main using GitHub CLI?

Automate pull request creation by running the skill on your active feature branch; it uses GitHub CLI and GraphQL API to create or update a PR against main, including title and description updates based on code changes.

Can I monitor CI status and review comments automatically after creating a PR?

Yes, you can monitor CI status automatically; the skill supervises CI feedback, surfaces the latest checks, and triages review comments to keep developers aligned until CI completes.

Do I need the GitHub CLI installed to automate PR workflows and CI checks?

Yes, you need the GitHub CLI (gh) installed; the skill implements Git, GitHub CLI, and GraphQL API interactions to fetch data, update PR content, and triage CI results.

What happens if my feature branch has no upstream branch when creating a pull request?

The PR creation process includes guards for missing upstream branches; it detects when an upstream branch is absent and prevents workflow failures before initiating CI checks.

Does this workflow update an existing pull request or only create new ones?

The workflow handles both; it automatically creates or updates a pull request from your current branch to main, refreshing the title and description based on current code changes.

What is the best way to streamline GitHub PR workflows and accelerate code review cycles for my team?

Streamline GitHub PR workflows by automating end-to-end PR creation, updates, and CI monitoring; this reduces manual back-and-forth and accelerates feature integration and feedback cycles across teams.