ワンクリックで
pr-lifecycle
Manages the full PR lifecycle: creation, review comment handling, CI remediation, and user-approved merge
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manages the full PR lifecycle: creation, review comment handling, CI remediation, and user-approved merge
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Usage: Build feature {task-id} with harness {harness-cmd}. Implements a requested feature by continuously looping a fast worker agent against a strict, passing-import but failing test harness until success is achieved.
Review and maintain institutional learnings in docs/compound/ so the compound library stays accurate, deduplicated, and evidence-backed
Risk-triggered plan reinforcement that deepens verification, rollback, and guardrail detail before plan review
Structured code review using tiered persona subagents, confidence-gated findings, and a merge/dedup pipeline. Use when reviewing code changes before creating a PR, as a build gate, or for standalone review.
SOC 職業分類に基づく
| name | pr-lifecycle |
| description | Manages the full PR lifecycle: creation, review comment handling, CI remediation, and user-approved merge |
| argument-hint | branch=feature/{feature-number}-{slug} |
| input | {"properties":{"branch":{"type":"string","description":"Feature branch to create PR for"},"title":{"type":"string","description":"PR title (optional, defaults to branch name)"}},"required":["branch"]} |
Manage the branch-to-merged workflow for a feature or chore branch. This skill creates or updates the pull request, responds to review feedback, keeps CI healthy, and stops at the user merge gate unless the user explicitly approves the merge.
Use this skill when implementation work is ready to move through pull request execution. It centralizes the PR control loop so higher-level agents can treat review, CI follow-up, and merge approval as one bounded workflow.
When the agent-intercom capability pack is installed, call ping at
session start. If reachable, broadcast at every step. If unreachable,
warn the operator that visibility is degraded and continue locally.
| Event | Level | Message prefix |
|---|---|---|
| Session start | info | [PR-LIFECYCLE] Starting: branch={input.branch} |
| Branch pushed | info | [PR-LIFECYCLE] Branch pushed: {branch} |
| PR created | info | [PR-LIFECYCLE] PR created: {pr_url} |
| PR updated | info | [PR-LIFECYCLE] PR updated: {pr_url} |
| Feedback received | info | [PR-LIFECYCLE] Review feedback: {comment_count} comments |
| Fix applied | info | [PR-LIFECYCLE] Fix applied for: {comment_summary} |
| CI failure | warning | [PR-LIFECYCLE] CI failed — delegating to fix-ci |
| CI green | info | [PR-LIFECYCLE] CI passing |
| Ready for merge | success | [PR-LIFECYCLE] PR ready — awaiting user approval |
| Merged | success | [PR-LIFECYCLE] Merged: {pr_url} |
| Blocked | warning | [PR-LIFECYCLE] Blocked: {reason} |
${input:branch}: (Required) Branch name to ship.${input:title}: (Optional) PR title override. When omitted, derive
the title from the branch name or prepared PR description.gh pr create or gh pr edit) to create or
refresh the pull request.When the repository is hosted on GitHub, request Copilot Review immediately after PR creation or after pushing new commits:
.github/instructions/github-pr-automation.instructions.md §1.1..github/instructions/github-pr-automation.instructions.md Part 1:
categorize comments (§1.3), apply fixes (§1.4), reply to threads
(§1.5), and resolve bot-authored threads via GraphQL (§1.6).fix-ci skill with the active PR or branch
context..github/instructions/github-pr-automation.instructions.md Part 2
for status monitoring, failure extraction, and fix-push-poll loops.fix-ci own the remediation loop for failing checks and
unresolved review comments.When fixes were pushed (from either review or CI remediation):
.github/instructions/github-pr-automation.instructions.md
§1.7.main or any other branch. The calling agent (Ship)
depends on the branch context being preserved for post-merge work.NORMAL_MERGE_READY before executing the merge command.MERGE_SUCCEEDED result with the
merge SHA and finish.REVIEW_REQUIRED_BLOCKCONVERSATION_RESOLUTION_BLOCKCHECKS_BLOCKMERGE_STRATEGY_BLOCKMISSING_ADMIN_RIGHTSUNKNOWN_MERGE_BLOCKadmin_fallback_pre_authorized.
Before fallback, run an immediate headRefOid re-query/comparison and
re-confirm required checks, P-009 merge-commit strategy, P-016 topology, and
scope match.MISSING_ADMIN_RIGHTS.After a user-approved merge:
main and start working on it.
Post-merge closure work belongs on a dedicated post-merge/ branch
created by the Ship agent. This skill's responsibility ends at
reporting the merge result.The skill is complete only when one of these outcomes is explicit:
| Counter | Limit | Action |
|---|---|---|
| Fix-CI delegation cycles | 5 | Halt, leave PR for manual intervention |
| Review-fix cycles | 3 | Accept remaining as backlog follow-ups |
This skill operates at Tier 2 (Standard) — PR creation and follow-up is routine coordination.