Skip to content
Development
Command

/commit-push-pr

建立一個 Git 提交、推送到遠端,並開啟一個 Pull Request

From plugin
claude-plugin-marketplace
2914 skills18 agents14 commands
> /plugin marketplace add DennisLiuCk/claude-plugin-marketplace

Command definition

commit-push-pr.md
description: 建立一個 Git 提交、推送到遠端,並開啟一個 Pull Request
allowedTools:
  - 'Bash(git checkout --branch:*)'
  - 'Bash(git add:*)'
  - 'Bash(git status:*)'
  - 'Bash(git push:*)'
  - 'Bash(git commit:*)'
  - 'Bash(gh pr create:*)'

背景資訊

以下是目前的 Git 狀態:

${GIT_STATUS}

以下是目前的 Git 差異(包括已暫存和未暫存的變更):

${GIT_DIFF}

目前分支:${GIT_BRANCH}

指示

執行以下步驟:

1. 如果目前在 main 分支上,建立一個新分支 2. 暫存相關變更 3. 建立一個提交並附上適當的訊息 4. 推送分支到 origin 5. 使用 GitHub CLI 開啟一個 Pull Request

**重要提示**:

  • 您有能力在單一回應中呼叫多個工具
  • 您必須在單一訊息中完成以上所有步驟
  • 不要使用其他工具
  • 不要輸出額外的溝通內容
@dennisliuck
Ships withclaude-plugin-marketplace

專為繁體中文使用者設計的 Claude Code 插件集合,提供開發、生產力、安全與學習等工具。

295 skills18 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29
Star history of DennisLiuCk/claude-plugin-marketplace on GitHub, a chart by star-history.com

Other commands on claude-plugin-marketplace.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command