一键导入
risk-aware-commit
This skill describes how to make a make a commit with the risk-aware-commit notation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill describes how to make a make a commit with the risk-aware-commit notation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | risk-aware-commit |
| description | This skill describes how to make a make a commit with the risk-aware-commit notation. |
STARTER_CHARACTER = 🔒
When commiting, use a commit notation that allows developers to convey how risky the commit is and what the intention is.
The Risk-Aware Commit Notation is a system that prefixes commit messages with concise codes to convey:
This notation aids in rapid assessment of commits, facilitating safer and more efficient code reviews and integrations.
Each commit message starts with a symbol indicating its risk level:
Following the risk symbol, a letter denotes the intention of the commit:
The casing signals roughly to "pay more attention to the ones in uppercase". It should be used to show how visible the change is. An implemented feature that is not visible to the user would be a lower-case f. A refactoring for an important internal Api would be an upper-case R.
The general format for commit messages is:
<Risk Symbol> <Intention Letter>: <Title>
[Optional Body: Explain the 'why' and 'what' in more detail.]
. R: extract validation logic to separate function with automated refactoring^ F: implement user-visible login validation! B: fix null pointer in data processing^ t: add test for edge case in sorting. d: add documentation, always safe, unless user-facingALWAYS add the 2 character prefix to commit messages.
IMPORTANT: Never mix R commits with F or B commits. This enforces the separation of structural and behavioral changes.