Skip to main content
skill CX Codex

create-pr · factory-ai — Claude Code skill: create a PR with local checks

create-pr — a skill that creates a pull request with a Conventional Commits title, templated body, and local verification before submission.

no license 115 installs ★ 129 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Factory-AI/factory-plugins --skill create-pr -a claude-code
Open on GitHub

What create-pr does

The skill runs typecheck, linter, tests and other checks locally, formats the PR title and body according to project conventions, optionally links a ticket from your issue tracker (Linear, Jira, GitHub Issues). It works with any language: commands are pulled from Makefile, package.json, pyproject.toml, Cargo.toml and other repo config files.

Workflow: analyze commits and diff, determine change type (feat, fix, docs, refactor, test, chore, perf, ci, build, revert) and scope, run checks for modified packages, build title and body, create PR with gh pr create.

For non-code changes (docs, markdown, config only) checks are skipped. If you modified a dependency manifest, the skill syncs the lockfile before submission — CI often fails when the lockfile is stale.

What it helps with

  • Assemble and format a PR with a linked ticket
  • Run typecheck, linter and tests for affected parts of the project
  • Fill PR body from the repo template
  • Sync lockfile after changing dependency manifest

Example prompts for the agent

  • Create a PR from the current branch
  • Open a pull request linked to TEAM-1234
  • Make a PR to main, run tests and linter before submission

How to install create-pr

1Skills CLI (Vercel)

npx skills add Factory-AI/factory-plugins --skill create-pr -a claude-code

2Manually: put the files in place

~/.claude/skills/create-pr/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/create-pr/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about create-pr

How to install create-pr in Claude Code?

Run npx skills add Factory-AI/factory-plugins --skill create-pr -a claude-code. The skill will appear in ~/.claude/skills/create-pr/SKILL.md.

What does create-pr do?

The skill runs typecheck, linter and tests locally, formats the PR title and body according to Conventional Commits and repo template, optionally links a ticket from your tracker, and creates the PR with gh pr create.

How does the skill determine which commands to run?

It reads config files at repo root (Makefile, package.json, pyproject.toml, Cargo.toml, CI configs) and uses the commands defined there. For monorepos it applies filter flags like --filter, --projects or -p <crate>.

Similar skills

All skills for Git and GitHub →

create-pr by other authors comes first.

create-pr NeoLabHQ create-pr opens draft pull requests through the GitHub CLI using repository templates. It checks for uncommitted changes and formats PR titles with emojis. CX Codex +1 1,200installs create-pr zhaono1 create-pr — a skill that walks the agent through opening a pull request and keeps the English and Chinese READMEs in sync. Useful when the skill catalog changes and the docs have to follow. CX Codex +1 678installs create-pr FradSer The create-pr skill opens GitHub pull requests after quality and security checks, then hands them to CI monitoring and reviewer-comment triage. CX Codex +1 109installs create-pr OrchestKit create-pr — a skill that opens a GitHub pull request after running tests, linter, types, and security checks. Triggers on explicit invocation; plain gh pr create stays a command. CX Codex +1 209installs create-pr marcelorodrigo create-pr prepares structured pull requests, generates conventional titles, and submits them via GitHub CLI. CX Codex +1 312installs commit-pr ZaxbyHub commit-pr — a portable skill that verifies your code before push, writes conventional commits, and fills in a PR body. Guards against accidentally committing generated files or secrets. CX Codex +1 ★ 539repo stars task-to-pr owainlewis task-to-pr — a skill that carries a spec, issue, or task to an open pull request: branch, tests, Conventional Commits, CI, and an independent review. Merges only on explicit request. CX Codex +1 452installs write-pr tldraw write-pr sets PR title and description standards: semantic types, structured templates, and reviewer-focused writing rules. CX Codex +1 425installs verification-loop affaan-m The verification-loop skill checks a code change through build, types, lint, tests, security searches, and diff review. Run it after a feature or refactor, or before a PR. CX Codex +1 7,200installs create-draft-pr jnsahaj create-draft-pr is a Claude Code skill that commits changes, pushes a branch, and creates a draft PR with a structured description and optional UX context. CX Codex +1 107installs husky davila7 husky — a Claude Code command that runs a full CI cycle — linting, TypeScript build, test coverage, dependency validation — and fixes detected issues. Triggered before commits or in pipeline builds. CX Codex +1 282installs

From the same set17

The whole set →
skill-creation skill-creation converts past session breakthroughs into reusable agent skills inside SKILL.md files. Helps extract repeatable patterns and refine existing instructions. CX Codex +1 142installs autoresearch The autoresearch skill runs repeated code experiments against a measurable target. Use it for tuning tests, builds, bundle size, or ML training results. CX Codex +1 137installs vulnerability-validation vulnerability-validation is a Claude Code skill that tests whether security scan findings can be exploited and filters false alarms. It runs after commit-security-scan, before findings become issues or block a PR. CX Codex +1 135installs commit-security-scan The commit-security-scan skill reviews Git changes for security flaws using threat-model context. Use it for pull requests, staged files, or branch diffs. CX Codex +1 126installs http-toolkit-intercept http-toolkit-intercept captures HTTP requests and responses from any script or service — including LLM API calls, backend requests, and auth flows. Use it when you need to see what's actually sent over the wire and what comes back. CX Codex +1 124installs browser-navigation browser-navigation automates browser tasks: page navigation, form filling, screenshots, data extraction, and session recording. CX Codex +1 120installs droid-control droid-control is a skill for automating terminal TUIs, browsers, and desktop apps. Record demos, run tests in real environments, and capture QA proof. CX Codex +1 118installs follow-up-on-pr follow-up-on-pr takes an open pull request, rebases on the target branch, resolves reviewer comments, runs local verification, and pushes updates. CX Codex +1 117installs

Project sponsors

Companies that keep this analytics open