Skip to content
Development
Command

/commit

建立一個 Git 提交

From plugin
claude-plugin-marketplace
2614 skills18 agents14 commands
Install
$ npx -y skills add DennisLiuCk/claude-plugin-marketplace --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/commit

Context preview

What this command does when you run it.

建立一個 Git 提交

Command definition

commit.md
description: 建立一個 Git 提交
allowedTools:
  - 'Bash(git add:*)'
  - 'Bash(git status:*)'
  - 'Bash(git commit:*)'

背景資訊

以下是目前的 Git 狀態:

${GIT_STATUS}

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

${GIT_DIFF}

目前分支:${GIT_BRANCH}

最近的提交記錄:

${GIT_LOG}

指示

根據上面顯示的變更,建立一個 Git 提交。

**重要提示**:

  • 您可以在單一回應中呼叫多個工具
  • 您必須在單一訊息中使用多個工具呼叫來暫存和提交,並使用單一訊息
  • 不要使用其他工具
  • 不要輸出額外的溝通內容
Ships withclaude-plugin-marketplace

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

Get the whole plugin, auto-invoked
Stats
26
Stars
1
Views
5
Forks
Maintained
Maintenance
Python
Language
5mo ago
Last commit
8mo ago
Created

Repo: DennisLiuCk/claude-plugin-marketplace