commit-push-pr
Commit, push, and open a reviewable PR, or execute an explicitly authorized merge. Use for delivery requests; --no-pr stops after push.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- commit-push-pr
- description
- Commit, push, and open a reviewable PR, or execute an explicitly authorized merge. Use for delivery requests; --no-pr stops after push.
- argument-hint
- [--no-pr]
02 资源文件 4
- 参考文档REFERENCE.md18.9 KB
- 参考文档references/merge.md3.3 KB
- 参考文档references/metadata.md6.3 KB
- 参考文档VIDEO.md4.7 KB
03 SKILL.md 正文
Read Poteto.
Use REFERENCE.md and dependencies.
Explicit merge only: contract.
Preflight
- Check status/diff/branch/log/PR; push/PR auto-rebase behind owned PRs.
- Resolve endpoint: commit only, push (
--no-pr), or PR. Commit-only skips remote andghpreflight. - Push/PR: auto-setup safeguards; honor narrower endpoints.
- For PR, run
gh stack view --json. Own one layer; never implicitgh stack submit. - Review with owning skills; authorized council preserves coverage; do not block merely over skill invocation.
- Load dogfood for runnable PR work; require current PASS. BLOCKED needs user waiver.
- Stage by purpose; ask on unclear ownership.
Commit
With Changesets, load changesets after checks.
- Keep feature branches; on default, create
type/description. - Per coherent group,
git add <explicit paths>thentype(scope): description: lowercase, 5-72 chars, no period. - Explicit commit-only intent stops here after clean-tree check.
- Push/PR, any CI fix or rebase: show
origin/<branch>..HEAD, then push with tracking. - User-owned feature rewrites use
--force-with-leasewithout another permission prompt. Never plain-force; default/shared/foreign/concurrent rewrites need explicit permission.
Pull request
--no-pr never creates a PR. After push: existing PR upkeep, then check tree. Prepare evidence.
- Base:
"${CLAUDE_PLUGIN_ROOT:-.}/scripts/resolve-pr-base.sh". Keep follow-up in current PR and metadata, including draft state. Draft PRs open without approval; stacks:/stacked-prs. - Every PR: load PR, impact and body separately; keep drafts/value.
- Require visual evidence or a scoped exception.
- Public repo (
gh repo view --json visibility): scrub internal org, repo, product, person names and private links from commits, title, body, and evidence before push. - Summarize checks/limits and dogfood inline; read back body/media access. Refresh invalidated evidence; no separate evidence file.
Upkeep: maintenance owner, select native transport before watching; no duplicate dispatcher.
Do not run /visual-recap or /make-pr-easy-to-review unless the user explicitly requests.
Completion
- Read CI:
gh pr checks <number>; absent/pending/skipped is not green. - Automatically fix applicable feedback/CI/conflicts; verify/push; continue one authorized transport.
- Report head/PR/checks/review gaps and continuation/blocker; honor narrower stops.
- Follow CLAUDE.md: intent/impact/status and full PR URL on final status line, including updates.
Preserve unrelated work; expose failures/recovery.
04 同仓库更多 Skills
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.