/engineering:github-pr-merge [PR number or branch]from gener8v engineering workflow
Open a pull request for finished branch work, watch its checks and reviews, and clean up branches after the merge. It never merges into the default branch on its own: merging is the user's decision unless the repository's own instructions say otherwise. Use when work is ready for review, such as 'open a PR', 'ship this branch', 'is the PR green', 'address the review comments' or 'the PR merged, clean up'. Not for starting a branch (git-branching), cutting a release (github-release) or the close-out of a tracked issue (github-issue-workflow, which calls this skill).
Ships in gener8v engineering workflow. 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.
Do these checks. Stop and fix if one fails.
git status --porcelain is empty, or every change is yours and ready to commit.engineering:development-commands.engineering:documentation-sync.engineering:git-safety resources/secrets-check.md.Co-Authored-By: Claude trailer. Check with git log origin/<base>..HEAD --format=%B | grep -i 'co-authored-by: claude'. Expect no output.Use one chain. It must stop at the first failure.
set -o pipefail
git fetch origin \
&& <test command> 2>&1 | tail -n 40 \
&& git push -u origin HEAD
If the branch was pushed before and the base moved, merge the base into the branch (git merge origin/<base>). Do not rebase a pushed branch without approval.
Write the body to a temporary file from resources/pr-body.md. Then:
gh pr create --base <base> --head <branch> --title "<subject>" --body-file <file>
Closes #<n> in the body only when the PR targets the default branch. GitHub closes linked issues only on merges into the default branch. For any other base, write Part of #<n>.--draft) if the work is not ready for review.gh pr checks <n> --watch --fail-fast
gh pr view <n> --comments
gh run view <run-id> --log-failed), fix the cause on the branch, and push a new commit.The default is: you do not merge. Report "ready to merge" and stop.
You may merge only in one of these cases:
CLAUDE.md, CONTRIBUTING.md) give agents merge permission for this kind of PR. Follow their limits exactly.engineering:git-branching resources/parallel-work.md.A skill never merges into the default branch on its own initiative. Turning on auto-merge (gh pr merge --auto) is a merge decision too.
When you do merge, use a method that the repository allows:
gh repo view --json squashMergeAllowed,mergeCommitAllowed,rebaseMergeAllowed
gh pr merge <n> --squash # or --merge / --rebase, to match the repository
Never use --admin to get past branch protection. engineering:git-safety gates it.
Confirm the merge first:
gh pr view <n> --json state,mergedAt,mergeCommit
Then follow resources/cleanup.md. Branch deletion is gated: show the list of branches and worktrees, and wait for the user's approval.
engineering:git-branching: the start of the same lifecycle.engineering:github-release: when the merge brings the default branch to a releasable state.gener8v:code-review, gener8v:quality-review, gener8v:security-review: the pipeline's own reviews, for pipeline tickets. The PR review comes after them.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gener8v/gener8v.claude-skills.engineering --plugin engineering11 skills in this plugin
/development-commandsFind and run a project's test, lint, type-check, build and dev-server commands, read the results correctly, and seed a throwaway database when UI work needs realistic data. Never seeds the project's real or default database. Use before 'run the tests', 'lint this', 'does it build', 'start the app so I can see it', 'seed some demo data', and before you claim that a change works. Not for deployment or CI pipeline design; use the project's own deploy tooling for those./documentation-bootstrapCreate or top up a project's documentation set: list what exists, let the user choose which document types to add, collect one shared fact sheet from the code, write the documents (in parallel when there are several), then check them against each other and against the code. Use when asked to 'bootstrap the docs', 'start the documentation', 'we have no README or ARCHITECTURE', or 'fill in the missing docs'. Not for the per-commit update of existing documents (documentation-sync), and not for gener8v pipeline documents (gener8v:brownfield and gener8v:planning make those)./documentation-syncBefore a commit, find every document that describes what the change touched and update it in the same commit, or confirm in one line that no document needs a change. Catches stale text, missing documentation and facts kept in two places. Use before any commit or PR, and when asked 'are the docs up to date', 'update the docs for this change' or 'did I miss a README change'. Not for creating a documentation set or filling large gaps (documentation-bootstrap), and not for gener8v pipeline documents under .gener8v/, which the pipeline skills own.