graft-pr-create

Create and manage GitHub pull requests in Graft repositories via the GitHub API.

6|Updated May 11, 2026
One-click install
npx skills add https://github.com/GeWuYou/Graft --skill graft-pr-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graft-pr-create
Source: https://github.com/GeWuYou/Graft/tree/main/.agents/skills/graft-pr-create
Command: npx skills add https://github.com/GeWuYou/Graft --skill graft-pr-create

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of creating and managing pull requests (PRs) within Graft repositories on GitHub, ensuring consistent and compliant PR workflows.

Core Features & Use Cases

  • PR Creation and Reconciliation: Automatically creates or updates PRs for the current branch based on predefined rules.
  • Preconditions and Safety Checks: Ensures PRs are created under the right conditions and adheres to safety gates.
  • Integration with GitHub: Utilizes GitHub APIs for repository and PR discovery, as well as for creating and updating PRs.
  • Use Case: For developers who want to automatically create a PR for a new feature branch or when the system needs to diagnose and create a PR if one does not exist.

Quick Start

Use the $graft-pr-create command to create a PR for your current branch.

Frequently Asked Questions about graft-pr-create

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

FAQPage Schema
How do I automate GitHub pull request creation for my current branch?

Automating GitHub pull request creation is handled by running the `$graft-pr-create` command for your current branch. The Skill coordinates with the GitHub API to discover repositories and create or update PRs based on predefined workflow rules and startup receipts.

What are the prerequisites for automating PR management in Graft repositories?

Automating PR management in Graft repositories requires the `gh` command line tool and Python to be installed in your environment. These dependencies allow the Skill to utilize GitHub MCP and Python helpers for repository discovery, branch validation, and operation execution.

Does this PR automation tool enforce branch protection rules and safety checks?

Yes, the PR automation enforces branch protection rules and safety checks during creation. It ensures branch safety, ownership, and validation before proceeding, requiring user confirmation specifically for enabling any auto-merge functionality on protected branches.

How does branch automation handle missing pull requests during a workflow?

Branch automation handles missing pull requests by diagnosing the current branch state and automatically creating a PR if one does not exist. It enforces preconditions and safety gates to ensure PRs are created under the right conditions and adhere to compliant workflows.

Can I use GitHub APIs to reconcile and update existing pull requests automatically?

You can use GitHub APIs to reconcile and update existing pull requests automatically through the Skill's PR creation and reconciliation feature. It integrates directly with GitHub APIs for repository discovery and operation, ensuring your PRs reflect the latest branch changes.

When should I not use automated PR creation for Graft repositories?

You should not use automated PR creation when manual review of branch ownership is required or if preconditions for safety gates are not met. The Skill enforces strict validation and requires explicit user confirmation for auto-merge, limiting use in non-compliant contexts.