一键导入
git-commit
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use whenever commiting changes to git.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use whenever commiting changes to git.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Code reviews of git changes without creating actual PR.
Create thorough implementation plans for complex tasks.
Creates non-technical changelogs from git commits.
Rewrite user requests into clear, precise, and complete AI prompts. Use when a user asks to create, convert, or refine a prompt, or to restate a request as a specification for an AI model.
Create clear, concise technical documentation for a specified file, module, or folder.
Generate pull request summaries and open GitHub PRs from the current branch’s git changes.
| name | git-commit |
| description | Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use whenever commiting changes to git. |
| allowed-tools | Bash |
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
<type>[optional scope]: <short description> [ticket-number]
[optional body]
[optional footer(s)]
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting/style (no logic) |
refactor | Code refactor (no feature/fix) |
perf | Performance improvement |
test | Add/update tests |
build | Build system/dependencies |
ci | CI/config changes |
chore | Maintenance/misc |
revert | Revert commit |
# If files are staged, use staged diff
git diff --staged
# If nothing staged, use working tree diff
git diff
# Also check status
git status --porcelain
If user asks you to group changes
# Stage specific files
git add path/to/file1 path/to/file2
# Stage by pattern
git add *.test.*
git add src/components/*
# Interactive staging
git add -p
Never commit secrets (.env, credentials.json, private keys).
Analyze the diff to determine:
# Single line
git commit -m "<type>[scope]: <description> [ticket-number]"
# Multi-line with body/footer
git commit -m "$(cat <<'EOF'
<type>[scope]: <description> [ticket-number]
<optional body>
<optional footer>
EOF
)"
feat(tabs): add animation for message count badge (HAE-123)
- Use subtle scale animation
- Smoother experience, better than the badge instantly appearing
- style bullet points