一键导入
commit
Drafts and creates a git commit following BTP Manager commit message conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Drafts and creates a git commit following BTP Manager commit message conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Drafts and creates a git commit following BTP Manager commit message conventions. |
Create a git commit for staged or unstaged changes in the BTP Manager repository.
/commit [optional hint about what changed]
Examples:
/commit/commit Add network policy reconciliation/commit Fix deprovisioning race conditionCheck current state — run git status and git diff (staged + unstaged) to understand what changed. If nothing has changed, say so and stop.
Stage changes — if files are unstaged and the user didn't already stage them, ask which files to include before staging. Never run git add -A or git add . without asking — that can accidentally commit test data, .env files, or generated files.
Draft the commit message using the conventions below.
Show the message to the user for approval before committing. Ask: "Shall I commit with this message?"
Commit once confirmed.
Ask about pushing — after a successful commit, ask: "Would you like to push the changes to <current-branch>?" If yes, run git push -u origin HEAD. If no, ask which branch to push to and run git push -u origin HEAD:<target-branch>.
<Short summary>
[optional body — only if the why isn't obvious from the diff]
Short summary: imperative mood, title case, no trailing period, ≤72 chars.
Examples:
Add network policy reconciliation
Fix deprovisioning race condition
Handle missing cluster ID gracefully
Add unit tests for BtpOperator provisioning flow
Update CLAUDE.md with state machine documentation
Bump golang to 1.26.3-alpine3.22
.env, credentials*.json, *_key.pem, etc.) — warn the user if such files are staged.--no-verify.--amend.