Install
openclaw skills install @wufei-png/improve-code-commentsUse when auditing, adding, removing, or improving code comments, docstrings, JSDoc/TSDoc, TODO/FIXME/HACK notes, public API comments, inline rationale, stale/comment rot, redundant comments, documentation gaps, or "why not what" comment quality.
openclaw skills install @wufei-png/improve-code-commentsImprove comments with the smallest durable change. Only edit comments and docstrings; do not change code, tests, configuration, or external docs.
AGENTS.md, existing docstring style, lint rules, generated/vendor paths, and nearby examples.file:line, severity, evidence, and proposed action.Use this order:
eslint-disable, biome-ignore, prettier-ignore, @ts-expect-error, coverage pragmas, generated-code markers, and similar comments.Verify comment claims against code before trusting them: thresholds, units, fallbacks, error handling, retries, null/empty cases, references, flags, public signatures, side effects, and tool-marker behavior.
Use severity to keep reports useful:
For audits, return:
For edits, summarize changed paths and validation. If the user asks to "add comments" broadly, stop after the audit report and ask which candidates to apply.