ワンクリックで
he-github
Opens/updates GitHub PRs, checks CI, responds to feedback, and merges after GO using gh CLI with explicit consent gates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Opens/updates GitHub PRs, checks CI, responds to feedback, and merges after GO using gh CLI with explicit consent gates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Bootstraps a repository for the harness-engineered workflow by creating AGENTS.md, docs/specs, docs/spikes, docs/plans, docs/generated, and baseline tracking files aligned to the PLANS.md contract.
Captures paired browser bug evidence videos using agent-browser (`failure` before fix and `resolution` after fix), stores raw captures in `tmp/artifacts`, and supports minimal manual promotion for durable review evidence. Use for browser/UI bug fixes and release evidence.
Produces a PLANS.md-compliant executable plan from a spec. Use after intake.
Converts fuzzy requests into a concrete initiative spec in docs/specs using a single slug and measurable success criteria. Use at the start of non-trivial work.
Converts post-release outcomes into durable docs and mechanical guardrails, clears generated scratchpads, and archives the initiative plan for reuse.
Runs agent-first review fanout across correctness, architecture, security, data, and simplicity, then enforces priority gates before release verification.
| name | he-github |
| description | Opens/updates GitHub PRs, checks CI, responds to feedback, and merges after GO using gh CLI with explicit consent gates. |
| argument-hint | [slug, docs/plans/active/<slug>-plan.md, or PR number/url] |
Drive the PR lifecycle end-to-end with gh, while keeping harness artifacts (spec/plan/evidence) as the system of record.
he-implement when code is ready for a PRhe-verify-release decision is GO and merge is approveddocs/specs/ and docs/plans/.docs/runbooks/ci-failures.md.called_from matches this skill (bash scripts/runbooks/select-runbooks.sh --skill he-github).| Operation | On feature branch | On main/protected branch |
|---|---|---|
git push | Autonomous | Consent required |
gh pr create | Autonomous | N/A |
gh pr edit / respond to feedback | Autonomous | N/A |
| Request agent review | Autonomous | N/A |
| Request human review | Consent required | Consent required |
gh pr merge | Consent required | Consent required |
git push --force | Consent required | Consent required |
Safety invariants (non-negotiable):
he-verify-release GO decisiondocs/plans/active/<slug>-plan.md or accept initiative slug/PR reference.he-worktree.Artifacts and Notes or Decision Log:
git status --short --branchgit remote -vgh auth statusbash scripts/runbooks/select-runbooks.sh --skill he-github and read any returned runbooks. Apply their additions throughout — they must not waive or override gates codified here.Creating a new PR:
git push -u origin HEADgh pr create --filldocs/specs/<slug>-spec.mddocs/plans/active/<slug>-plan.mdtmp/artifacts/<slug>/ and promoted minimal set under docs/artifacts/<slug>/ (if any)## Pull Request section with pr URL, branch name, current commit SHA, CI link/status.Updating an existing PR:
gh pr edit --body-file <file>gh pr checks## Pull Request in the plan stays current.gh pr view --commentsgh pr view --json reviewsReview Findings, Progress, and any evidence references.git pushgh pr checksgh pr checks to identify failing jobs quickly.gh run view --log-failed (or the repo's equivalent) to pull actionable logs.docs/runbooks/ci-failures.md for triage order and escalation.Merge preconditions (canonical — runbooks may add repo-specific items but must not remove these):
he-verify-release decision is GO in the active plan.critical or high review findings.When approved, merge using the repo policy in docs/runbooks/merge-change.md (often via gh pr merge).
## Pull Request section in the active plan kept current.## Pull Request section reflects current PR metadatagh auth status fails — auth must be resolved before any remote ops; do not proceed unauthenticated.docs/runbooks/ci-failures.md; do not merge with failing checks.| Anti-Pattern | Better Approach |
|---|---|
| Pushing to main without consent | Tiered consent: autonomous on feature branches, consent for main/merge/force-push |
| PR description replaces the plan | PR links to the plan; plan is the system of record |
| Merging with failing CI | CI is evidence; failures must be resolved |
| Force-pushing without explicit approval | Always get consent for destructive remote ops |
| Ignoring PR feedback | Respond by updating code + plan + evidence |
This skill is typically invoked from within the workflow rather than transitioning to a next phase. After merge, the workflow continues to he-learn.