/github:create-pr [optional description or issue reference] [--no-monitor] [--auto-merge]from GitHub
Creates GitHub pull requests with automated quality validation and security scanning. Activated by 'create a PR' or 'submit a pull request' requests. Hands off to review-pr for CI monitoring.
Ships in GitHub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Execute automated PR creation workflow with comprehensive quality validation and security scanning.
git statusgit branch --show-currentgit log --oneline -5gh auth statusgit diff --stat HEAD~1..HEADEnsure repository readiness with clean state and authentication. Complete all quality checks (lint, test, build, security) before PR creation. Link related issues with auto-closing keywords and apply accurate labels. See references/requirements.md for complete checklist.
Goal: Validate repository state, analyze changes, detect templates, and identify blockers.
Actions:
CONTRIBUTING.md) and follow its requirements.github/PULL_REQUEST_TEMPLATE.md or root/docs locations)See references/repository-templates.md for template detection and compliance details.
Goal: Execute comprehensive quality validation and security scanning.
Actions:
references/quality-validation.md for commands)references/failure-resolution.mdGoal: Create pull request with proper structure, metadata, and links.
Actions:
$ARGUMENTS before deriving anything. It may carry, in any combination:
Closes #456, Fixes #12, or a bare #456) — use it verbatim as the auto-closing keyword in the PR body; do not re-derive or second-guess it. /github:resolve-issues delegates here and passes the issue it just resolved this way.--draft — pass through to gh pr create in step 6.--no-monitor — a Phase 4 opt-out only; never treat it as description text.--auto-merge — pass through to /github:review-pr in Phase 4; turns on auto-merge on green in the review loop. Never treat it as description text.
Strip the flags before using the remainder as description/issue text.$ARGUMENTS)references/pr-structure.mddevelop), explicitly warn the user that linked issues will NOT close automatically on merge and must be closed manually — see references/auto-closing-keywords.md for the full rule and keyword table.gh pr create with all metadata
--draft if $ARGUMENTS requested it, or if the PR requires early feedback or is not fully complete--reviewer and assignees with --assignee when requested--fill for simple changesgh pr checks --watch here — Phase 4 hands off to /github:review-pr, which owns the persistent CI watch; a blocking --watch would stall the turn and duplicate that watch.$ARGUMENTS contains --no-monitor or the user explicitly opts out — never because CI looks green, no reviewers are assigned, or the change looks trivial.Trigger: Default behavior — hand off unless $ARGUMENTS contains --no-monitor or the user opts out.
Goal: Delegate CI monitoring and reviewer-comment triage to the dedicated skill.
Action: After the PR is created, invoke Skill("github:review-pr", "<PR#>") to run the baseline review and launch the persistent CI + comment watch. The review-pr skill owns the Monitor script, the skeptical triage agent, the review → fix → commit+push → wait-for-review loop, through to the merge decision and the post-merge branch hygiene (remote + local head cleanup, fetch --prune, fast-forward main/develop). Once CI is green and every comment is triaged, review-pr asks the user whether to merge via AskUserQuestion (merge commit/squash/rebase/don't) BEFORE its closeout ceremony — the summary comment and body rewrite run only on a merge choice. The merge ask is enforced by the plugin's Stop hook: review-pr arms a closeout state the moment the stop conditions hold and one turn-end per user turn is blocked until the decision resolves — the handoff cannot silently skip the ask. See references/pr-creation-handoff.md for the handoff contract including post-merge hygiene. This skill does not duplicate that cleanup; it is the handoff target's responsibility.
--auto-merge passthrough: If $ARGUMENTS carried --auto-merge, pass it through to the review-pr invocation as Skill("github:review-pr", "<PR#> --auto-merge"). It instructs review-pr to skip the merge AskUserQuestion — the closeout ceremony (summary comment + body rewrite) still runs first — and auto-merge with gh pr merge --merge once CI is green and every non-escalate comment is triaged — see references/pr-creation-handoff.md for the contract and the escalate fallback. Pass it through only when the user explicitly set it; never infer it.
CRITICAL: this skill is the plugin's only PR-creating path. Other skills (e.g. /github:resolve-issues) delegate here instead of calling gh pr create themselves, precisely so no PR escapes the quality gate or this handoff. See references/pr-creation-handoff.md for the full contract. Do not add a bypass.
references/requirements.md - Pre-creation checklist and commit standardsreferences/repository-templates.md - Contributing guidelines and PR templatesreferences/quality-validation.md - Node.js/Python validation commandsreferences/pr-structure.md - Title guidelines, body template, labelsreferences/auto-closing-keywords.md - Default-branch limitation and keyword tablereferences/pr-creation-handoff.md - Only PR-creating path contractreferences/failure-resolution.md - Agent collaboration for fixing failuresreferences/examples.md - Commit message examplesreferences/failure-resolution.md (opens in a new tab)references/pr-structure.md (opens in a new tab)references/requirements.md (opens in a new tab)references/auto-closing-keywords.md (opens in a new tab)references/closeout.md (opens in a new tab)references/commit-standards.md (opens in a new tab)references/examples.md (opens in a new tab)references/pr-creation-handoff.md (opens in a new tab)references/quality-validation.md (opens in a new tab)references/repository-templates.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fradser/dotclaude --plugin github4 skills in this plugin
/create-issuesCreates GitHub issues following test-driven development principles and proper labeling conventions. This skill should be used when the user asks to "create an issue", "file a bug", or needs to document new requirements, epics, or PR-scoped tasks./resolve-issuesResolves GitHub issues using isolated worktrees and test-driven development, then delegates PR creation to /github:create-pr so the quality gate and the /github:review-pr loop always run. This skill should be used when the user asks to "resolve an issue", "fix issue/review-prReviews a pull request: runs its own baseline review of the PR diff, then a persistent Monitor watches CI and incoming reviewer comments, triages each comment through an independent skeptical agent, applies only verified fixes, and commits+pushes via inline git commands until CI passes and no comments remain to adopt — then asks whether to merge. Use this skill when the user asks to "review a PR", "monitor PR review comments", "address reviewer feedback on #123", or "watch CI on a pull request".Other plugins' skills for the same job