Create GitHub Pull Request

VerifiedSafe

Creates or updates a GitHub pull request with Jira integration and Mermaid diagrams. Runs pre-push checks first and stops if they fail. Use when ready to submit code for review or update an existing PR.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#pull-request#github#jira#pre-push#mermaid

Recommended for

Automated summary

Creates or updates a GitHub pull request with Jira integration and Mermaid diagrams after running pre-push checks.

Strengths

  • Automatically pulls Jira ticket details into the PR
  • Generates a well-structured PR using a project template
  • Includes Mermaid diagrams to visualize changes
  • Updates existing PRs without creating duplicates

Limitations

  • Requires a specific MCP tool for Jira (mcp__atlassian__getJiraIssue)
  • Jira cloud ID is hardcoded to vuoriclothing.atlassian.net
  • Cannot skip pre-push checks even for trivial changes
When to use it

Use when you have code ready on a branch and need to create or update a pull request for review.

When not to use it

Do not use for draft or exploratory pull requests where checks are not expected to pass.

Security analysis

Safe
Quality score85/100

The skill runs standard development commands (git, gh, npm run pre-push) and fetches Jira issues. No destructive or exfiltrating actions. Executing npm scripts is a normal part of the workflow and not inherently risky in a controlled environment.

No concerns found

How this analysis is made

Examples

Create new PR
/create-pr
Update existing PR
/create-pr

name: create-pr description: Creates or updates a GitHub PR with Jira integration, mermaid diagrams, and AI disclosure. Runs pre-push checks first. Use when ready to submit code for review or update an existing PR. Invoke with /create-pr. allowed-tools:

  • Bash
  • Read
  • Grep
  • Glob
  • mcp__atlassian__getJiraIssue

Creating Pull Request

Creates a well-structured PR using the project's template, with Jira integration and visual diagrams.

Workflow

1. Get Branch & Detect Ticket

git branch --show-current

Extract ticket ID from branch (e.g., feat/TDE-7358-optimize-elevar → TDE-7358).

2. Check for Existing PR

gh pr view --json number,title,body,url 2>/dev/null
  • If PR exists: will update it
  • If no PR: will create new one

3. Run Pre-Push Checks

npm run pre-push

If checks fail, stop and report errors. Do not create/update PR with failing checks.

4. Fetch Jira Ticket Details

mcp__atlassian__getJiraIssue
- cloudId: vuoriclothing.atlassian.net
- issueIdOrKey: <ticket-id>

Extract: fields.summary, fields.description, fields.issuetype.name

5. Analyze Changes

git diff main...HEAD --stat
git diff main...HEAD --name-only
git log main...HEAD --oneline

Read key changed files to understand what was modified and how components interact.

6. Generate PR Content

See template.md for the full PR template.

Title format: <type>: [TICKET-ID] <short description>

Types: feat, fix, refactor, perf, docs, test, chore

7. Create or Update PR

New PR:

git push -u origin <branch-name>
gh pr create --base main --title "<title>" --body "<body>"

Existing PR:

git push
gh pr edit --title "<title>" --body "<body>"

8. Report Result

Output: PR URL, summary of changes, items needing manual attention.

Mermaid Diagrams

See diagrams.md for diagram examples and guidelines.

  • Use diagrams that accurately represent changes
  • Match complexity to PR scope
  • Include all affected services for integration changes

Notes

  • Always push changes before creating/updating PR
  • If pre-push fails, fix issues first
  • Default base branch is main
  • Do NOT add AI attribution footers to PR description

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-github-pull-request-mmbizjbp' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-github-pull-request-mmbizjbp/download' --output '.skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md.part' && mv '.skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md.part' '.skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md' && test -s '.skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/create-pr' && cp -R '.skill-downloads/create-github-pull-request-mmbizjbp' '.claude/skills/create-pr'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/create-github-pull-request-mmbizjbp'

openskills read 'create-github-pull-request-mmbizjbp'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-github-pull-request-mmbizjbp/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills