code-comments
Decide whether a source comment belongs, what it may contain, and where displaced information goes instead.
Skill by iamthenop
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/iamthenop-code-comments
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-comments
What's inside
- Skill name
code-comments- Description
- Decide whether a source comment belongs, what it may contain, and where displaced information goes instead. Use when writing or reviewing code comments, when tempted to record history, tickets, or approvals in source, or when cleaning comments during a code change.
- License
- MIT
- Metadata
- skill-type: standard · skill-dependency: prose-discipline
- Instructions
- 81 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- identifier-naming.md · references/
- information-location.md · references/
SKILL.md (first lines)
# Code comments Code should explain itself through clear names, small units, direct control flow, and simple data structures. Prefer self-describing code over comments. ## When a comment earns its place Do not add comments that merely restate: * names; * assignments; * conditions; * loops; * obvious control flow; * plainly visible declarations (including SQL definitions). A comment is useful only when it adds information the code cannot express clearly, such as: * a non-obvious invariant; * a transaction, locking, concurrency, or ordering rule; * a subtle failure condition; * an external data format or technical standard; * an intentional limitation that affects correct use. ## Comments are descriptive, not authoritative Comments describe only the code that currently exists. They must not contain: * workorder, issue, pull-request, branch, commit, or ticket references; * approval or authorization history; * acceptance criteria, test plans, or test results; * implementation history or descriptions of replaced code; * rejected alternatives or review discussion; * speculative behaviour or future requirements; * policy or architecture not directly implemented by the code. ## One home per kind of information Each kind of information has one authoritative home. See [`references/information-location.md`](references/information-location.md) for the canonical table. ## Discipline * Do not require comments as a completion quota. * If code requires extensive explanation, simplify the code. Simple code with few comments is better than complicated code surrounded by commentary. * When changing code, update or remove comments within scope that no longer describe it accurately. Do not expand scope solely to clean unrelated comments. * Temporary code must be authorized by the commissioning instruction. A source comment is permitted to describe the temporary behaviour and its concrete removal condition, but must not carry the authorization itself. * Inline comments are two sentences maximum. Docstrings and block comments are three sentences maximum. A comment that requires more is a signal the code needs simplifying or the information belongs elsewhere. * Prose density and vocabulary sprawl are checked by the prose checker declared in the repository's build bindings. Run it locally before commits reach review. Retained findings are reported according to `builder-report`. ## Identifier naming Identifiers name one responsibility. They do not narrate setup, causality, control flow, comparisons, or multiple outcomes. See [`references/identifier-naming.md`](references/identifier-naming.md) for naming rules by identifier kind, examples, length guidance, and mechanical enforcement. ## References * [`references/information-location.md`](references/information-location.md) — canonical table of information homes * [`references/identifier-naming.md`](references/identifier-naming.md) — naming rules by identifier kind, examples, length guidance, linter mandate ## Final rule A comment states what the code cannot. Everything else has another home.
From iamthenop/infurnet-skills, MIT.
More from iamthenop/infurnet-skills
- 0.563score
purrification
iamthenop
Apply sparse feline phonetic slips to creative dialogue or monologues, using cross-language IPA similarity and salience-based spacing.
SkillAFreshness: AClaude Code +9 - 0.529score
api-docs
iamthenop
Author and structure API and interface documentation for HTTP APIs, internal RPC surfaces, and inbound webhooks.
SkillBFreshness: BClaude Code +9 - 0.529score
brand-designer
iamthenop
Author and structure brand identity documentation — brand books, style guides, logo/color/type systems, voice and slogans, and platform-specific…
SkillBFreshness: BClaude Code +9 - 0.529score
schema-design
iamthenop
Database schema design discipline — initialization strata, stratum boundaries, SQL design and comments, privileges, writers, seeds, and schema validation.
SkillBFreshness: BClaude Code +9 - 0.529score
deploy-standard
iamthenop
Container build, distribution, and release promotion discipline.
SkillBFreshness: BClaude Code +9 - 0.529score
doc-comment-tags
iamthenop
Write structured documentation comments using the custom architectural tag system (@layer, @owner, @boundary, @authority, @privacy, @temporary, and related…
SkillBFreshness: BClaude Code +9 - 0.529score
java-standard
iamthenop
Java implementation rules for source layout, test placement, and documentation.
SkillBFreshness: BClaude Code +9 - 0.529score
plan-review
iamthenop
Review an agent's proposed work plan before execution begins.
SkillBFreshness: BClaude Code +9 - 0.529score
project-bindings
iamthenop
Author and maintain the repository bindings file — the single mutable declaration of project-specific values that standards dereference.
SkillBFreshness: BClaude Code +9 - 0.526score
designer
iamthenop
Assigned Designer profile.
SkillBFreshness: BClaude Code +9 - 0.526score
prose-discipline
iamthenop
Always-required standard wherever prose is used.
SkillBFreshness: BClaude Code +9 - 0.526score
builder
iamthenop
Assigned Builder profile.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 5
- Last commit (this folder)
- Sep 3, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/iamthenop/infurnet-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from iamthenop
- 0.563score
purrification
iamthenop
Apply sparse feline phonetic slips to creative dialogue or monologues, using cross-language IPA similarity and salience-based spacing.
SkillAFreshness: AClaude Code +9 - 0.529score
deploy-standard
iamthenop
Container build, distribution, and release promotion discipline.
SkillBFreshness: BClaude Code +9 - 0.529score
doc-comment-tags
iamthenop
Write structured documentation comments using the custom architectural tag system (@layer, @owner, @boundary, @authority, @privacy, @temporary, and related…
SkillBFreshness: BClaude Code +9 - 0.529score
brand-designer
iamthenop
Author and structure brand identity documentation — brand books, style guides, logo/color/type systems, voice and slogans, and platform-specific…
SkillBFreshness: BClaude Code +9 - 0.529score
api-docs
iamthenop
Author and structure API and interface documentation for HTTP APIs, internal RPC surfaces, and inbound webhooks.
SkillBFreshness: BClaude Code +9 - 0.529score
java-standard
iamthenop
Java implementation rules for source layout, test placement, and documentation.
SkillBFreshness: BClaude Code +9
Cite this page
code-comments skill. Agent Mart. https://agentmart.dev/skills/iamthenop-code-comments (last updated 2026-10-24)