ワンクリックで
pr-workflow
Prepare and publish GitHub PRs from branch evidence with Korean brief, checklist gates, and approval-gated push/create.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prepare and publish GitHub PRs from branch evidence with Korean brief, checklist gates, and approval-gated push/create.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create, repair, validate, visually QA, and package Codex-compatible v2 animated pets from character art, generated images, company or prospect brand cues, or visual references. Use for any new Codex pet, custom mascot, non-pixel pet style, brand-inspired pet, existing-pet repair, or 8x11 spritesheet workflow requiring all 9 standard animation rows, 16 look directions, deterministic assembly, QA artifacts, and spriteVersionNumber 2 packaging.
Rewrite current branch into N semantic commits with a legacy backup branch and optional rebase onto origin/main.
Merge origin/main into current branch while preserving branch intent, context, and ownership decisions.
Chain branch onboarding, code-health, and non-test analysis into a branch-scoped remediation plan.
Summarize current branch diff from fork point with intent, scope, risks, and context for follow-on work.
Audit codebase architecture: module dependencies, layering, circular imports, ownership, and structural decay.
| name | pr-workflow |
| description | Prepare and publish GitHub PRs from branch evidence with Korean brief, checklist gates, and approval-gated push/create. |
Resolve <skill-dir> to the directory containing this file, then run from the target repository root:
python3 <skill-dir>/scripts/launch_pr_workflow.py \
--repo-root . \
--pr-title "한국어 PR 제목" \
--status-json .codex_tmp/pr-workflow/status.json
This creates branch evidence, code-health/checklist evidence, and a Korean Markdown PR brief without pushing or creating a PR. After explicit publish approval, use:
python3 <skill-dir>/scripts/launch_pr_workflow.py \
--repo-root . \
--pr-title "한국어 PR 제목" \
--push-branch \
--execute
git rev-parse --is-inside-work-tree, current branch, dirty state, upstream, fork point, commit count, changed files, and net LOC. Use branch-onboarding-brief or collect_branch_info.py if available. For stacked PRs, prove the intended base/head topology from diff evidence; do not default to main when the branch is stacked.scripts/launch_pr_workflow.py. Use run_pr_workflow.py only when you need separate JSON generation, and generate_pr_brief.py only when you already have workflow JSON.standard_test_status=passed as satisfying the standard test item; if coverage pytest failed or never ran, the standard test item is not satisfied.CONTEXT.md or docs/adr/ files are added or changed in the branch, read those first and use them as the primary source for the PR body narrative, decisions, and constraints. Then supplement gaps from branch history, commit subjects, diff stats, and changed files. The body must be evidence-backed, directly publishable, and free of placeholder/meta automation wording. If generator output is weak, polish the Markdown artifact before publishing.scripts/evaluate_pr_checklist.py for machine-readable status. Failed or blocked required items stop push/PR creation unless the user explicitly approves a nonpassing publish.scripts/create_pr_from_workflow.py or launch_pr_workflow.py --push-branch --execute. If an open PR already exists for the branch, update its title/body instead of creating a duplicate.| Script | Use |
|---|---|
scripts/launch_pr_workflow.py | Single entrypoint: workflow JSON, Markdown brief, optional push/create/update. |
scripts/run_pr_workflow.py | Branch evidence, code-health, lint/format, optional full-dataset, checklist JSON. |
scripts/evaluate_pr_checklist.py | Deterministic checklist verdict from code-health JSON plus explicit statuses. |
scripts/generate_pr_brief.py | Markdown PR body from workflow JSON; always polish before publish. |
scripts/create_pr_from_workflow.py | Push branch and create/update PR from workflow JSON + Markdown. |
All workflow scripts emit progress to stderr and support --status-json; poll status files for long-running stages.
evaluate_pr_checklist.py --standard-test-override passed --standard-test-override-detail ... only if the targeted rerun passes. Use a full standard-test rerun only when failure evidence is truncated or infrastructure-level and no failed node/file can be identified.gh authentication or permission fails, stop at that boundary and report the exact command/output.gh: GH_FORCE_TTY=0 GIT_TERMINAL_PROMPT=0 GH_PAGER=cat.gh pr create cannot infer the PR from the current branch, inspect open PRs for the head branch and continue with explicit base/head evidence.See REFERENCE.md for the required Korean PR body sections, checklist semantics, stacked-PR playbook, and troubleshooting details.