create-draft-pr

Create a GitHub draft pull request from a Jira ticket with summary and test instructions.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/shysssthanhtri/AI-tools --skill create-draft-pr-shysssthanhtri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-draft-pr
Source: https://github.com/shysssthanhtri/AI-tools/tree/main/skills/create-draft-pr
Command: npx skills add https://github.com/shysssthanhtri/AI-tools --skill create-draft-pr-shysssthanhtri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After implementing a Jira-tied feature, teams often struggle to craft a clear, assignable GitHub draft PR. This skill automates the PR creation process, ensuring consistent structure and traceability between Jira and GitHub.

Core Features & Use Cases

  • Automatic draft PR generation from a completed Jira ticket, including a clear summary, changed files, and acceptance criteria.
  • Reads local ticket details and worktree state, builds a PR description, and assigns the PR to the current user.
  • Integrates with GitHub MCP to create the draft PR on the target repository and push required branch information.

Quick Start

Provide a Jira ticket key and ensure a worktree exists, then run the skill to generate a draft PR.

Frequently Asked Questions about create-draft-pr

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

FAQPage Schema
How do I create a GitHub draft pull request from a Jira ticket?

To create a GitHub draft pull request from a Jira ticket, provide the ticket key and ensure a feature branch is ready. The skill reads local ticket details, summarizes code changes, and generates a structured draft PR via GitHub MCP.

What should a pull request description include for Jira traceability?

A pull request description for Jira traceability should include the ticket context, a summary of changes, modified files, acceptance criteria, and test instructions. This ensures clear linkage between the implemented feature and the original requirements.

How to automate draft PR creation and assignment to the current user?

You can automate draft PR creation and assignment by reading the local worktree state and ticket details. The skill builds the PR description and automatically assigns the newly created draft pull request to the current user via GitHub MCP.

Do I need a worktree before generating a draft PR from Jira?

Yes, you need a worktree with a ready feature branch before generating a draft PR from Jira. The skill reads the local worktree state to identify changed files and summarize the implementation for the pull request description.

What is the best way to structure a draft PR for code review?

The best way to structure a draft PR for code review is to include the Jira ticket context, a concise summary of implemented changes, a list of changed files, and explicit test instructions to guide reviewers through the validation process.