Publish the pull request
Read the entry point's shared rules.
Input: approved solution and release/migration decisions, dedicated branch/base/head, passing verification, independent review, and authorization to commit/push/open a PR. If evidence is missing or stale, return to implementation; never waive a gate to publish.
- Inspect final diff/status; stage only solution files. Commit and push the dedicated branch, never unrelated work or feature changes directly to the integration branch. Check for an existing branch PR before creating one, including after a command timeout; reuse it instead of duplicating it.
- Open/update the PR against the resolved target. If the target release branch does not exist yet, create it as the SDLC releases section describes, record its base SHA, and say so in the PR and the release issue. Include the agreed solution, issue/comment references, acceptance-criterion coverage, release classification and version decision, migration strategy/evidence when needed, verification results, known limitations, a short review outcome (rounds run and the result), and which agent ran the independent review, flagging a same-agent review as work-issue-implement step 5 requires. For migrations, link the descriptor and its target version/layout, sequential upgrade order, approval and historical-fixture evidence; verify
docs/updating.mdmakes it discoverable. Missing major/breaking migration guidance or a blocked upgrade check is a delivery gap, not compatibility evidence. Keep the description to the final state: when later rounds change the PR, rewrite the affected sections instead of appending, and put the round-by-round review history in a PR comment. - For a complete solution targeting the default branch, include
Closes #<issue>(fully qualified when needed) so GitHub closes it on merge, not creation or approval. Partial work usesRefs #<issue>and lists outstanding work. For complete work on a non-default target, end the PR body withRefs #<issue>: closes when <target> reaches the default branch.and repeat that in the handoff.
Handoff: PR and issue URLs, branch/head SHA, actual check state, and remaining human-review steps. Return to the entry point for a requested approval/merge follow-up. PR creation, agent review, or passing checks do not establish human approval, merge authorization, or completion. Do not approve your own PR.
Original Markdown, including metadata
--- name: work-issue-pr description: Publish a verified, independently reviewed internal factory issue solution as a linked PR. Use after implementation with commit/push/PR authorization; does not authorize merging. --- # Publish the pull request Read the [entry point's shared rules](../work-issue/SKILL.md). **Input:** approved solution and release/migration decisions, dedicated branch/base/head, passing verification, independent review, and authorization to commit/push/open a PR. If evidence is missing or stale, return to implementation; never waive a gate to publish. 1. Inspect final diff/status; stage only solution files. Commit and push the dedicated branch, never unrelated work or feature changes directly to the integration branch. Check for an existing branch PR before creating one, including after a command timeout; reuse it instead of duplicating it. 2. Open/update the PR against the resolved target. If the target release branch does not exist yet, create it as the [SDLC releases section](../../../docs/sdlc.md#releases) describes, record its base SHA, and say so in the PR and the release issue. Include the agreed solution, issue/comment references, acceptance-criterion coverage, release classification and version decision, migration strategy/evidence when needed, verification results, known limitations, a short review outcome (rounds run and the result), and which agent ran the independent review, flagging a same-agent review as [work-issue-implement](../work-issue-implement/SKILL.md) step 5 requires. For migrations, link the descriptor and its target version/layout, sequential upgrade order, approval and historical-fixture evidence; verify `docs/updating.md` makes it discoverable. Missing major/breaking migration guidance or a blocked upgrade check is a delivery gap, not compatibility evidence. Keep the description to the final state: when later rounds change the PR, rewrite the affected sections instead of appending, and put the round-by-round review history in a PR comment. 3. For a complete solution targeting the default branch, include `Closes #<issue>` (fully qualified when needed) so GitHub closes it on merge, not creation or approval. Partial work uses `Refs #<issue>` and lists outstanding work. For complete work on a non-default target, end the PR body with `Refs #<issue>: closes when <target> reaches the default branch.` and repeat that in the handoff. **Handoff:** PR and issue URLs, branch/head SHA, actual check state, and remaining human-review steps. Return to the entry point for a requested approval/merge follow-up. PR creation, agent review, or passing checks do not establish human approval, merge authorization, or completion. Do not approve your own PR.