一键导入
git-commit
Complete git commit workflow in a worktree. Includes review, staging, and message generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete git commit workflow in a worktree. Includes review, staging, and message generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | git-commit |
| description | Complete git commit workflow in a worktree. Includes review, staging, and message generation. |
Verify you're in a worktree (not main clone):
# Should show a worktree path, not the main repo
git rev-parse --show-toplevel
git worktree list
git diff --name-only
git diff --cached --name-only
Determine testing needs:
| File Types Changed | Run Code Review | Run Testing |
|---|---|---|
Code (.py, tests) | Yes | Yes |
Docs only (.md) | Yes | Skip |
Config (.yaml, .toml, .github/) | Yes | Skip |
| Mixed (code + docs/config) | Yes | Yes |
Launch code-review and testing as appropriate (in parallel when possible).
Fix any problems found by review or testing before proceeding.
git add path/to/changed/files
git diff --staged # Review
Never stage: Build artifacts (dist/, *.egg-info), .env, __pycache__/, coverage files
Format: type(scope): description (72 chars max)
Types: feat, fix, refactor, test, docs, style, chore, perf Scope: Module/component (client, types, cli, http, sampling)
git commit -m "type(scope): description
Detailed explanation if needed.
Fixes #ISSUE_NUMBER"
Good examples:
feat(client): add async export-sampler support
fix(http): handle connection timeout gracefully
test(types): add model input serialization tests
No AI co-author lines.
git show HEAD --name-only
git log -1
Run the full Weaver provisioner regression test suite against the production service. Covers full_ft, LoRA, debug modes, and edge cases.
Address GitHub PR review comments. Navigate to the correct worktree, make fixes, push updates.
Review code changes against Weaver SDK project standards before committing. Works in any worktree.
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, plans and implements fix, then creates PR.
Create a GitHub PR from a worktree branch. Use after committing changes.
Run linting and tests for Weaver SDK. Works in any worktree.