← 返回 Skills 市场
82
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install git-commit-pr-workflow
功能描述
Use when the user wants the full git workflow: branch creation if needed, commit, push, and PR create or update with a concise summary and test plan.
使用说明 (SKILL.md)
Git Commit PR Workflow
Use this skill for end-to-end git delivery from working tree to pull request.
Workflow
- Inspect branch state, diff against default branch, and existing PR state.
- Create a feature branch if still on the default branch.
- Stage and commit the relevant changes.
- Push the branch.
- Create or update the PR with a short title, summary bullets, and test plan.
Guardrails
- No destructive git commands unless explicitly requested.
- No force push to default branches.
- Keep PR titles short and bodies structured.
- Avoid committing secrets or unrelated changes.
Example Requests
- Commit this work, push it, and open a PR.
- Take the current changes to a polished PR with a test plan.
Inputs
- Current git state
- Default branch
- Optional user instructions
Outputs
- New commit
- Pushed branch
- Created or updated PR
Success Criteria
- The right files were committed.
- The branch was pushed safely.
- The PR body accurately reflects the diff.
Non-Goals
- Force-push workflows by default
- Interactive git rebases
Source Provenance
Derived from src/commands/commit-push-pr.ts.
安全使用建议
This skill appears to implement a normal git commit/push/PR workflow, but it omits key operational details. Before installing or using it: 1) Confirm which git hosting provider (GitHub/GitLab/Bitbucket) it will interact with. 2) Ask whether it requires the git CLI, the provider's CLI (e.g., gh), or specific environment credentials (GITHUB_TOKEN, GITLAB_TOKEN, or access to SSH keys). 3) Require explicit confirmation prompts before staging, committing, pushing, or creating PRs (especially pushes to remotes). 4) Run it in a safe/forked repository first and verify its behavior. 5) If you need stricter controls, request the skill declare required binaries and credentials or restrict it from performing remote PR creation automatically.
功能分析
Type: OpenClaw Skill
Name: git-commit-pr-workflow
Version: 1.0.0
The skill bundle defines a standard Git workflow automation for branching, committing, pushing, and creating pull requests. It includes explicit guardrails in SKILL.md to prevent destructive commands, force-pushing to default branches, and the accidental commitment of secrets, with no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The name/description align with committing, pushing, and opening/updating PRs. However, creating/updating PRs normally requires a git client plus remote-host authentication (e.g., gh/Hub API tokens or ssh keys). The skill declares no required binaries or credentials, which is unexpected for the stated purpose.
Instruction Scope
Runtime instructions tell the agent to inspect branch state, diffs, and existing PR state and then create or update PRs. Those operations imply reading repository state and interacting with an external git hosting service, but the skill doesn't specify which host or how to authenticate. The guardrails are reasonable but high-level; the skill grants the agent open discretion to determine 'relevant changes' to stage/commit.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest installation risk. There is nothing being downloaded or written to disk by the skill bundle itself.
Credentials
The skill requests no environment variables or config paths, yet performing remote PR operations normally requires credentials (API tokens or SSH keys) or a CLI (gh) that uses stored credentials. The omission is disproportionate/ambiguous: either the skill assumes existing host-level credentials (not declared) or it lacks a mechanism to create PRs as claimed.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. It does not request persistent installation or elevated platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-commit-pr-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-commit-pr-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial extraction from local Claude Code source
元数据
常见问题
Git Commit PR Workflow 是什么?
Use when the user wants the full git workflow: branch creation if needed, commit, push, and PR create or update with a concise summary and test plan. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。
如何安装 Git Commit PR Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-commit-pr-workflow」即可一键安装,无需额外配置。
Git Commit PR Workflow 是免费的吗?
是的,Git Commit PR Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Commit PR Workflow 支持哪些平台?
Git Commit PR Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Commit PR Workflow?
由 wimi321(@wimi321)开发并维护,当前版本 v1.0.0。
推荐 Skills