Skip to main content

commit-pr

Stage changes, commit, push, and create/update PR with review-ready hygiene.

来源信息

仓库
sunpar/agentic_development
最近来源活动
2026年5月22日 15:56
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
commit-pr
description
Stage changes, commit, push, and create/update PR with review-ready hygiene.
# Commit PR ## Trigger Use when implementation branch is ready for publish. ## Inputs - Staged diff and current branch. - Task completion summary. ## Outputs - Commit with concise message. - Pushed branch and PR URL. ## Procedure 1. Validate branch not protected unless forced. 2. Show and confirm staged set. 3. Stage all only if `--stage-all`. 4. Commit with concise generated message. 5. Push and create/update PR. ## Guardrails - Refuse on protected branch unless explicit override. - Do not commit if gh unavailable or unauthenticated. ## Success criteria - Branch is pushed and PR exists with review-ready body. ## Prefer Superpowers - Use `receiving-code-review` and `requesting-code-review` for review lifecycle. ## Avoid scope creep - No unrelated file changes after commit.
在 GitHub 查看