一键导入
commit
Stage and commit current changes with an auto-generated message
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stage and commit current changes with an auto-generated message
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Stage and commit current changes with an auto-generated message |
| argument-hint | [optional commit message override] |
Commit current changes following the project's git commit conventions. Analyzes staged and unstaged changes, generates a descriptive commit message, and creates the commit.
Usage:
/commit — auto-generate commit message from changes/commit fix typo in TypeMapper — use the provided messageRun these in parallel:
git status — see all staged, unstaged, and untracked filesgit diff --cached — see staged changesgit diff — see unstaged changesgit log --oneline -5 — see recent commit message styleIf there are unstaged or untracked changes:
git add -A or git add ..env, credentials.json, etc.) — warn the user if such files are presentIf $ARGUMENTS is non-empty, use it as the commit message body.
If $ARGUMENTS is empty, analyze the staged diff and generate a message:
git log output (this repo uses conventional commits: feat:, fix:, refactor:, test:, chore:, docs:)git commit -m "$(cat <<'EOF'
<generated or provided message>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
Run git status after the commit to confirm success. Report the commit hash.
--amend)/format manuallySuggest and apply a semver version bump based on commits since the last tag
Push current branch to remote origin
Scaffold a new Sharpy.Stdlib module (spy-sourced or handwritten C#) with all required files, conventions, docs, and tests
Implement a plan with a coordinated agent team
Run compiler or cross-language benchmarks and compare results
Regenerate C# snapshot tests and spy stdlib after intentional codegen changes