بنقرة واحدة
git-commit-message
Best practices for writing clear, structured, and meaningful git commit message.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Best practices for writing clear, structured, and meaningful git commit message.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | git-commit-message |
| description | Best practices for writing clear, structured, and meaningful git commit message. |
type(scope): summary
| type | 用途 |
|---|---|
| feat | 新功能(用户能感知) |
| fix | bug |
| refactor | 重构(不改变行为) |
| perf | 性能优化 |
| chore | 杂项 |
| docs | 文档 |
| style | 格式 |
| test | 测试 |
A commit represents a logical change (intent), not a sequence of actions.
Classify the change:
featfixrefactorperfchoreUse the most relevant module:
Examples:
Rules:
Good:
feat(texture): add Perlin noise with turbulence
perf(bvh): optimize traversal performance
refactor(camera): simplify ray generation logic
Bad:
feat: update texture
feat: improve things
feat: fix bug
If multiple commits represent iterations of the same idea:
feat: tweak interpolation
feat: fix interpolation
feat: tweak again
→ Rewrite as:
perf(texture): improve interpolation stability
featDO NOT use feat for:
If change is not a core feature:
chore(scene): update Cornell box setup
DO NOT describe process:
feat: try new method
feat: fix previous mistake
refactor(texture): replace interpolation method
A good commit should:
Return ONLY the commit message:
type(scope): summary
No explanation unless explicitly requested.
type(scope): summary
- key change 1
- key change 2
- reason (optional)
Make git history readable as a high-level evolution of the system, not a log of developer actions.