Automated summary
Automates GitHub pull request creation: branch pre-flight checks, optional validation agents, local tests, then opening the PR through the gh CLI with a structured body.
Strengths
- Chains pre-flight checks, validation, local tests and PR creation in a single flow
- Scales validation depth to the PR type (feature, bug fix, refactor, quick)
- Builds a structured PR body (summary, changes, test plan, Closes #issue) from commits and the issue number in the branch name
- Creates tracking tasks so progress is visible throughout
Limitations
- Requires a configured memory MCP server and gh CLI, plus Claude Code 2.1.59+
- Model invocation is disabled, so it must be triggered manually
- Opinionated conventions: dev as base branch, type(#issue) title format, generated-by footer
- Agent validation is skipped in Quick mode and narrowed for refactors
Use it when a branch is ready and you want a clean, validated GitHub PR opened without redoing the steps by hand.
Avoid it on repos not hosted on GitHub, without gh CLI, or where branch and title conventions differ from the ones this skill enforces.
Security analysis
CautionThe skill is a legitimate PR automation workflow, but it uses powerful tools: Bash, GitHub network operations, remote pushes, PR creation, and project test commands. These are appropriate for the stated purpose but warrant caution because they execute repository-defined scripts and modify remote state.
- •Uses Bash to run `git push -u origin` and `gh pr create`, which modify remote repository state and require authenticated GitHub access.
- •Executes project-defined validation commands such as `npm run lint`, `npm run typecheck`, `npm test`, `ruff`, and `pytest`, which can run arbitrary repository scripts with the user's privileges.
- •Spawns validation agents via Task and depends on a memory MCP server, expanding execution surface beyond simple shell commands.
- •No evidence of secret exfiltration, obfuscated payloads, destructive filesystem commands, or disabling safety controls.
Examples
/ork:create-pr/ork:create-pr "Add user authentication"Open a pull request for my current branch against dev, run the local lint and tests first, and link the issue number from the branch name.name: create-pr license: MIT compatibility: "Claude Code 2.1.59+. Requires memory MCP server, gh CLI." description: "Creates GitHub pull requests with validation. Use when opening PRs or submitting code for review." argument-hint: "[title]" context: fork agent: git-operations-engineer version: 2.3.0 author: OrchestKit tags: [git, github, pull-request, pr, code-review] user-invocable: true disable-model-invocation: true allowed-tools: [AskUserQuestion, Bash, Task, TaskCreate, TaskUpdate, mcp__memory__search_nodes] skills: [commit, review-pr, memory] complexity: medium metadata: category: workflow-automation mcp-server: memory
Create Pull Request
Comprehensive PR creation with validation. All output goes directly to GitHub PR.
Quick Start
/ork:create-pr
/ork:create-pr "Add user authentication"
Argument Resolution
TITLE = "$ARGUMENTS" # Optional PR title, e.g., "Add user authentication"
# If provided, use as PR title. If empty, generate from branch/commits.
# $ARGUMENTS[0] is the first token (CC 2.1.59 indexed access)
STEP 0: Verify User Intent
BEFORE creating tasks, clarify PR type with AskUserQuestion:
- Feature: Full validation with all agents
- Bug fix: Focus on test verification
- Refactor: Skip new feature validation
- Quick: Skip all validation, just create PR
STEP 1: Create Tasks (MANDATORY)
Create tasks immediately to show progress:
TaskCreate(subject="Create PR for {branch}", description="PR creation with validation", activeForm="Creating pull request")
TaskCreate(subject="Pre-flight checks", activeForm="Running pre-flight checks")
TaskCreate(subject="Run validation agents", activeForm="Validating with agents")
TaskCreate(subject="Run local tests", activeForm="Running local tests")
TaskCreate(subject="Create PR on GitHub", activeForm="Creating GitHub PR")
Workflow
Phase 1: Pre-Flight Checks
See rules/preflight-validation.md for the full checklist.
BRANCH=$(git branch --show-current)
[[ "$BRANCH" == "dev" || "$BRANCH" == "main" ]] && echo "Cannot PR from dev/main" && exit 1
[[ -n $(git status --porcelain) ]] && echo "Uncommitted changes" && exit 1
git fetch origin
git rev-parse --verify "origin/$BRANCH" &>/dev/null || git push -u origin "$BRANCH"
Phase 2: Parallel Validation (Feature/Bug fix PRs)
Launch agents in ONE message. See references/parallel-validation.md for full agent configs.
| PR Type | Agents to launch | |---------|-----------------| | Feature | security-auditor + test-generator + code-quality-reviewer | | Bug fix | test-generator only | | Refactor | code-quality-reviewer only | | Quick | None |
After agents complete, run local validation:
# Adapt to project stack
npm run lint && npm run typecheck && npm test -- --bail
# or: ruff check . && pytest tests/unit/ -v --tb=short -x
Phase 3: Gather Context
BRANCH=$(git branch --show-current)
ISSUE=$(echo "$BRANCH" | grep -oE '[0-9]+' | head -1)
git log --oneline dev..HEAD
git diff dev...HEAD --stat
Phase 4: Create PR
Follow rules/pr-title-format.md and rules/pr-body-structure.md. Use HEREDOC pattern from references/pr-body-templates.md.
TYPE="feat" # Determine: feat/fix/refactor/docs/test/chore
gh pr create --base dev \
--title "$TYPE(#$ISSUE): Brief description" \
--body "$(cat <<'EOF'
## Summary
[1-2 sentence description]
## Changes
- [Change 1]
- [Change 2]
## Test Plan
- [x] Unit tests pass
- [x] Lint/type checks pass
Closes #$ISSUE
---
Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Phase 5: Verify
PR_URL=$(gh pr view --json url -q .url)
echo "PR created: $PR_URL"
Rules
- NO junk files — Don't create files in repo root
- Run validation locally — Don't spawn agents for lint/test
- All content goes to GitHub — PR body via
gh pr create --body - Keep it simple — One command to create PR
Related Skills
ork:commit— Create commits before PRsork:review-pr— Review PRs after creation
References
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 filesThis 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.mdFrom the root of a test project, save the file as .skill-downloads/create-github-pull-request-mmbizjos/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-mmbizjos' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-github-pull-request-mmbizjos/download' --output '.skill-downloads/create-github-pull-request-mmbizjos/SKILL.md.part' && mv '.skill-downloads/create-github-pull-request-mmbizjos/SKILL.md.part' '.skill-downloads/create-github-pull-request-mmbizjos/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.
Environment declared by the author: Claude Code 2.1.59+. Requires memory MCP server, gh CLI.
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-mmbizjos/SKILL.md' && test -s '.skill-downloads/create-github-pull-request-mmbizjos/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/create-pr' && cp -R '.skill-downloads/create-github-pull-request-mmbizjos' '.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 installationopenskills install './.skill-downloads/create-github-pull-request-mmbizjos'openskills read 'create-github-pull-request-mmbizjos'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 syncManual 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-mmbizjos/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.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.