Skip to content
FunCoding

no-comments

Audit and remove unnecessary comments in a diff or file set, fix underlying workarounds exposed by bad comments, and offer structural encodings for claimed constraints. Apply proactively before finalizing code changes or reviewing diffs to eliminate narration, stale comments, unsafe suppressions, and comment-masked workarounds.

Star
886
Last commit
Dec 1, 2026

packages/subagents/skills/no-comments/SKILL.md

View on GitHub

No comments

Run a fresh-context comment audit, act on accepted findings, and replace claimed constraints with real checks where possible.

Defer to the auditor's fresh perspective.

Scope

Use the caller's files or diff. Otherwise use the current diff against the base branch, default main, including the working tree.

Steps

  1. Discover available Atomic agents with subagent({ action: "list" }). Keep the agent's declared model and fallback policy unless the user explicitly requested an override.
  2. Launch a fresh-context worker subagent with references/comment-audit-prompt.md and the exact scope. Do not restate its rules in your own words. Wait for it to finish with subagent({ action: "wait", id }).
  3. Inspect the subagent's report and diff:
    • Reject application-code edits, scope escapes, exception-protected deletions, misstated refactor flags, and flags that treat kept intentional code as guilty.
    • Keep reshape flags on surprising internal code actionable and do not restore those comments.
    • A kept comment survives only with proof it documents something external we cannot change.
    • Audit missed lint and type suppressions in scope. Suppressions that silence correctness or safety checks stay actionable refactor flags.
    • Restore deletions only with an exact exception from references/comment-audit-prompt.md and scoped proof.
    • Before accepting thin IMPORTANT or do not remove deletions or keeps, trace the named symbol or apply the why skill (skill://why). If a deletion is ambiguous, do not restore it. If a keep is refuted or still ambiguous, delete it.
    • Revert and rerun once on a rejected report, naming the failure. Reject a second failed report, record it as open, and stop /skill:no-comments with a failure.
  4. Fix trivial accepted flags directly by deleting a dead path, dropping an unused parameter, or calling the real API. If any fix needs a structural change, sketch the smallest sound shape for the accepted set and surrounding code first (using codebase-analyzer if helpful). Stop at the sketch, then implement in Step 5.
  5. Implement the smallest root-cause fix in scope and remove every named workaround. Fix root causes from first principles rather than adding symptom guards, and never widen the scope fence. If the root cause sits outside scope, land the smallest in-scope fix and report the rest open.
  6. Handle constraint comments (do not remove, do not change wording, or talk to X before changing):
    • Leave keeps that describe external constraints we cannot change.
    • Offer the cheapest in-scope type, runtime check, test, or lint rule to enforce the constraint.
    • Ask for approval with ask_user_question in interactive sessions (or require caller pre-approval in unattended runs).
    • If approved, add the check and delete the comment. Otherwise delete the comment, report the constraint open, and sketch any out-of-scope enforcement.
  7. Report the deletion count, restored comments, reruns, design sketch, fixes landed, encoding offers, encodings landed, unenforced constraints, and any other open work.

Similar Skills

rea-analysis-optimization

MOmorluto/rea485k7,690 new stars in the last 7 days

codebase-design

MAmattpocock/skills336k4,217 new stars in the last 7 days

Featured

diagnosing-bugs

Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.

MAmattpocock/skills336k4,217 new stars in the last 7 days

setup-ts-deep-modules

MAmattpocock/skills336k4,217 new stars in the last 7 days

code-review

MAmattpocock/skills336k4,217 new stars in the last 7 days

implement

MAmattpocock/skills336k4,217 new stars in the last 7 days