git-conventional-commit
Create Conventional Commit messages with consistent type, scope, and body. Use when asked to write commit messages, enforce commit conventions, or improve commit history clarity.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- git-conventional-commit
- description
- Create Conventional Commit messages with consistent type, scope, and body. Use when asked to write commit messages, enforce commit conventions, or improve commit history clarity.
02 资源文件 3
- 参考文档agents/openai.yaml206 B
- 参考文档references/conventional-types.md562 B
- 脚本scripts/compose-conventional-commit.sh380 B
03 SKILL.md 正文
Git Conventional Commit
Write commit messages in Conventional Commits format and ensure checks passed before commit.
Required Format
type(scope)!: short imperative summary
Optional body explains why and impact. Optional footer includes ticket links and breaking changes.
Type Selection
Use this default mapping:
feat: user-visible behavior or capabilityfix: bug fixrefactor: internal change with no behavior changeperf: measurable performance improvementtest: test-only updatesdocs: documentation-only updatesbuild: dependency/build pipeline changesci: CI configuration changeschore: maintenance that does not fit above
See ./references/conventional-types.md for examples.
Process
- Confirm
git-run-checkspassed for the staged slice. - Read staged diff:
git diff --cached. - Pick the narrowest type and accurate scope.
- Keep subject line under 72 chars and in imperative mood.
- Add body only when it adds decision context.
- Use
!+BREAKING CHANGE:footer for incompatible changes.
Optional Helper Script
Use ./scripts/compose-conventional-commit.sh to draft a message skeleton.
Boris-Inspired Operating Rules
- Prefer precision over verbosity.
- Explicitly state assumptions when scope is ambiguous.
- Keep semantic history clean so reviews and bisects stay fast.
Claude Mapping (Optional)
- If project uses slash commands, expose
/commit-msgto call the helper script.
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.