Claude-skill-registry conventional-comments
Write structured code review comments using Conventional Comments format. Use when reviewing PRs, writing code review feedback, or asked to "comment on this code" or "review this PR".
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/conventional-comments" ~/.claude/skills/majiayu000-claude-skill-registry-conventional-comments && rm -rf "$T"
manifest:
skills/data/conventional-comments/SKILL.mdsource content
Conventional Comments
Write code review comments in Conventional Comments format (https://conventionalcomments.org).
Format
<label>[!] [(decorations)]: <subject> [discussion]
| Part | Required | Description |
|---|---|---|
| Yes | Comment type (see Labels below) |
| No | Blocking indicator—must resolve before approval |
| No | Comma-separated context tags (e.g., ) |
| Yes | Main message (1 line) |
| No | Additional reasoning or suggested fix (1-3 lines) |
Labels
| Label | Description |
|---|---|
| Identifies a problem that needs to be addressed. |
| Proposes an improvement with an explicit change. |
| Small, necessary change. Less severe than an issue. |
| Seeks clarification or investigation. |
| Information for the reader. Does not require action. |
| Points out a typographical error. |
Do NOT use:
praise, nitpick, quibble — focus on actionable feedback only.
Decorations
| Decoration | Use when |
|---|---|
| Comment relates to security vulnerabilities. |
| Comment relates to performance impact. |
| Comment relates to accessibility. |
| Comment relates to user experience. |
Examples
Basic suggestion
suggestion: Consider using optional chaining here. `user && user.profile && user.profile.name` can be simplified to `user?.profile?.name`.
Blocking issue
issue!: This function silently swallows exceptions. Either log the error or propagate it to the caller.
With security decoration
suggestion! (security): User input should not be directly embedded in SQL. Use prepared statements to prevent SQL injection.
With performance decoration
issue (performance): This query runs inside a loop causing N+1 problem. Batch the IDs and fetch all records in a single query.
Simple todo
todo: Add null check before accessing `user.email`.
Question
question: Is this timeout value intentional? 300ms seems short for API calls that may span regions.
Note (informational)
note: This pattern is also used in `auth-service.ts:45`.