一键导入
git-conventions
Git branch naming, commit message conventions (Conventional Commits), workflow patterns, and common operations. Auto-loaded when working with git.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Git branch naming, commit message conventions (Conventional Commits), workflow patterns, and common operations. Auto-loaded when working with git.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
End-of-session routine. Ensures test coverage, performs self-review, runs validation, and commits cleanly. Use when finishing a unit of work.
Full feature implementation workflow with explore, plan, code, test, validate, and commit phases. Use for new features, enhancements, or significant code changes.
Iterate on an open PR until CI passes and all review feedback is addressed. Fetches status, categorizes findings by severity, applies fixes, and loops until clean.
Create a detailed implementation plan without writing code. Read-only analysis and planning with user approval gate. Use before implementing features or making significant changes.
Systematic security audit with confidence-based reporting. Analyzes attack surfaces, checks against OWASP categories, and reports only confirmed or likely vulnerabilities. Use for pre-merge security review or periodic audits.
Run validation checks to ensure code quality, security, and correctness. Supports quick (scoped), full (CI pipeline), fix (auto-correct), and CI mirror modes.
| name | git-conventions |
| description | Git branch naming, commit message conventions (Conventional Commits), workflow patterns, and common operations. Auto-loaded when working with git. |
| category | guideline |
| user-invocable | false |
feature/add-user-authentication
feature/TICKET-123-payment-integration
fix/login-redirect-loop
fix/TICKET-456-null-pointer
hotfix/security-patch-xss
chore/upgrade-dependencies
chore/refactor-api-client
experiment/new-caching-strategy
Attribution: The commit message format and type definitions below are based on the Conventional Commits 1.0.0 specification, licensed under CC BY 3.0.
<type>(<scope>): <subject>
<body>
<footer>
| Type | Description |
|---|---|
feat | New feature for users |
fix | Bug fix for users |
docs | Documentation changes |
style | Formatting, no code change |
refactor | Code change, no feature/fix |
perf | Performance improvement |
test | Adding/fixing tests |
chore | Maintenance, deps, config |
ci | CI/CD changes |
revert | Reverting previous commit |
feat(auth): add OAuth2 login with Google
Implements Google OAuth2 flow for user authentication.
Users can now sign in with their Google accounts.
Closes #123
fix(cart): prevent duplicate items on rapid clicks
Added debounce to add-to-cart button to prevent
race condition when users click rapidly.
feat(api)!: change user endpoint response format
BREAKING CHANGE: User endpoint now returns nested
address object instead of flat fields.
# 1. Start from updated main
git checkout main && git pull
# 2. Create feature branch
git checkout -b feature/my-feature
# 3. Make atomic commits
git add -p
git commit -m "feat(scope): implement X"
# 4. Keep updated
git fetch origin
git rebase origin/main
# 5. Push and create PR
git push -u origin feature/my-feature
--force-with-lease if force push is needed on feature branch# Undo last commit (keep changes)
git reset --soft HEAD~1
# Stash changes
git stash push -m "work in progress"
git stash pop
# Cherry-pick
git cherry-pick <commit-hash>
# Interactive rebase (squash WIP commits before PR)
git rebase -i HEAD~3