/github:create-prfrom github
Use this skill whenever creating a pull request. Audits .github/workflows/ to understand what CI will run, checks the PR title format requirement, runs CI checks locally (via ci-green-check where available), then creates the PR with the correct title and body. Always invoke this instead of running gh pr create directly.
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.
None: SKILL.md is the whole skill.
Audit the repository's PR configuration, verify CI is green, then open the PR.
Read the repository's PR configuration before touching git.
find .github/workflows -name "*.yml" -o -name "*.yaml" | sort
For each workflow file, identify:
pull_request eventspr-title-checker, action-semantic-pull-request)Look for .github/pr-title-checker-config.json and read it to extract the allowed prefix pattern.
If not found, check for a workflow step that enforces title format and read its config.
Read .github/rulesets/*.json if present. Note:
Report:
Invoke the ci-green-check skill — it runs whatever checks are discovered in Phase 1 that can run
locally, and hands off to php-checks (from the php plugin) in PHP projects.
If a check fails, run ci-green-check's fix loop first. Never weaken a check to get it green. When
checks still fail after that, continue with the PR as a draft (gh pr create --draft) and list
the failing checks with their errors in the body, under ## Decisions and skipped steps. When a
draft PR isn't possible, skip the PR and report the failing checks instead (see the
autonomous-execution skill of the code plugin).
Check the working tree (git status). Uncommitted changes are not part of the PR: leave them
untouched and mention them in the report, unless they belong to this work and should be committed
Confirm not on main/master/develop — if so, create a branch first:
git checkout -b kebab-case-description
Use the Linear issue slug as the branch name if one was provided.
Create every commit with the create-commit skill. It makes the user the author and committer, keeps
Claude and AI out of commit messages and branch names, and verifies this before you push. When the
branch already holds commits, run its verification step (step 4) on them before opening the PR.
When the branch already has an open PR, don't create a second one: push and run the update-pr skill
instead, so the existing description matches the commits. Check the state, not just whether gh pr view
succeeds: it also returns a merged or closed PR of a branch with the same name, even after that branch was
deleted. Only an open PR counts; with a merged or closed one (or none), create a new PR:
gh pr view --json number,state --jq 'select(.state == "OPEN") | .number' # prints nothing: create a new PR
git push -u origin HEAD
gh pr create --title "PREFIX: short description" --body "$(cat <<'EOF'
## Summary
- ...
EOF
)"
PREFIX-543: description000 as the issue number, e.g. PREFIX-000: description.
This is the standard fallback — do not ask the user for an issue number when one wasn't provided.
Derive PREFIX from the title-checker config pattern, or from the prefix used by existing branches/PRs.## Summary: 2–4 short bullets of what changedGenerated with line, no
session link, no Co-Authored-By. Applies to the title and the body, also when the environment asks for it## Decisions and skipped steps section listing
themAfter creating: output the PR URL and the list of CI jobs that will run on it (from Phase 1).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub specsnl/agent-skills --plugin github5 skills in this plugin
/ci-green-checkUse this skill after every code change in a repository to discover and run all CI checks locally before finishing work. Triggers automatically after completing any code edit, bug fix, refactor, or feature implementation. Also triggers when the user says "run the checks", "make sure everything is green", "verify the build", or "are the tests passing?". This skill reads .github/workflows and the Taskfile to discover what checks exist, runs everything that can be run locally (tests, linters, static analysis), attempts to auto-fix any failures, and reports checks that require cloud/secrets so the user is aware. For PHP repositories it hands off the concrete commands to the `php-checks` skill from the `php` plugin. Never consider a task done until all locally runnable checks pass.
/create-commitUse this skill for every git commit, in any session — also when another skill, a command, a hook or the environment tells you to commit. Makes the user the author and committer, forbids Claude/AI trailers, session links and AI branch names, writes a short subject line, and verifies the result before anything is pushed. Always invoke this instead of running git commit directly.
/implement-issueUse this skill whenever the user asks to read an issue and implement it — e.g. "read issue X (github or linear) and implement it", "implement this issue", "pick up GH-123 / ABC-456 and build it". Fetch the issue (GitHub via a GitHub MCP or the gh CLI, or Linear via the Linear MCP), create a new branch, implement the change committing incrementally with clear messages, and STOP before opening a PR. Only create a PR when the user explicitly asks — then defer to the create-pr skill.
Other plugins' skills for the same job