一键导入
commit
Create well-structured git commits following Conventional Commits format. Use when user says "commit", "create a commit", or "save these changes".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create well-structured git commits following Conventional Commits format. Use when user says "commit", "create a commit", or "save these changes".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Create well-structured git commits following Conventional Commits format. Use when user says "commit", "create a commit", or "save these changes". |
<type>(<scope>): <description>
| Type | When to Use |
|---|---|
feat | New feature or capability |
fix | Bug fix |
docs | Documentation only |
style | Formatting, no logic change |
refactor | Code restructuring, no behavior change |
test | Adding or fixing tests |
chore | Maintenance, dependencies, CI/CD |
Run in parallel:
git status
git diff --staged
git log --oneline -5
Use git log to confirm existing scope naming conventions in this repo before choosing a scope.
(fixes #N) or (closes #N)CLAUDE.md or .github/ directory exists, check for any commit conventions defined therePrefer staging named files over git add -A to avoid accidentally including secrets or unrelated changes:
git add path/to/file1 path/to/file2
Always pass the message via HEREDOC to preserve formatting:
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description> (fixes #N if applicable)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git status
git log --oneline -3
When Claude creates a commit, add a co-author line in the commit body:
Co-Authored-By: Claude <noreply@anthropic.com>The human remains the commit author; the co-author line credits Claude.
feat(auth): add OAuth2 login with GitHub (closes #14)
fix(api): handle null response from payment gateway (fixes #31)
refactor(jobs): extract retry logic into base job class
chore(ci): add matrix testing for Ruby 3.2 and 3.3
docs(readme): update local setup instructions
ALWAYS:
git diff --staged before writing the messageNEVER:
--no-verify to skip hooks.env, credentials)Bootstrap or update a AGENTS.md file that gives Codex persistent project instructions. Use when starting a new project, onboarding Codex to an existing repo, or updating project conventions.
Create well-structured git commits following Conventional Commits format. Use when user says "commit", "create a commit", or "save these changes".
Create well-structured GitHub issues following a consistent format. Use when user says "create an issue", "draft a task", "log a bug", or "document this feature".
Create a GitHub pull request from the current branch or fork. Use when user says "create a PR", "open a PR", "make a pull request", or "PR these changes".
Triage and fix GitHub issues end-to-end. Fetches the issue, explores relevant code, plans the fix, implements with TDD, and verifies. Use when user says "fix issue #N", "work on this issue", or references a GitHub issue number.
Review GitHub pull requests by fetching diffs, analyzing code quality, checking conventions, and optionally posting review comments. Use when user says "review this PR", "check PR #N", or shares a PR URL.