From comment-rule
Defines when Claude should and should NOT write code comments. Apply on any code edit/write/refactor. The companion UserPromptSubmit hook nudges Claude to recall this skill every turn — the skill itself is what the reminder points at.
How this skill is triggered — by the user, by Claude, or both
Slash command
/comment-rule:comment-ruleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Default: write no comments.** A comment must justify its existence; the absence of a comment is the right answer almost always.
Default: write no comments. A comment must justify its existence; the absence of a comment is the right answer almost always.
Only when the WHY is non-obvious and a future reader would otherwise be confused or break the code:
focus twice — debounce").Keep it to one line wherever possible. Two lines max. Never a paragraph, never a multi-line block, never a docstring with sections.
The companion hook injects Remember the code commenting rule. into every prompt. That string is intentionally short — its job is just to make sure Claude looks at this skill before writing code, not to re-state the rule inline.
npx claudepluginhub amims71/claude-plugins --plugin comment-ruleProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.