agentleFS
ngxcccngxccc/engineered-skills/skills/no-comments/SKILL.md

no-comments

Skill0 starsChanged 58 days agoMITView on GitHub

Strip ~99% of code comments, dead commented-out blocks, and unverified lint/type suppressions from a diff or target path before review. Use before /code-review, when cleaning up AI-generated slop, or when comments excuse brittle workarounds.

97 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, make-bot-ui and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 25 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 17 projects that use this

  • shiwenbin1617Skill

    ketchup-video

    Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.

    Also in 13 projects that use this

  • shiwenbin1617Skill

    statechart

    Check a TLA+ model of a system that moves between states, such as a product flow, a protocol, or a service, and draw it as a Mermaid statechart. The report gives the shortest path to each state that breaks a rule. Use for /statechart, or to show a bug as a path through states.

    Also in 18 projects that use this

  • mukcoSkill

    principles

    General software engineering principles — DRY, SOLID, YAGNI, KISS, naming, code smells, and refactoring. Language-agnostic. Use alongside language-specific skills.

    Also in 5 projects that use this

  • ElyzeSolutionsSkill

    control-cli

    Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 94 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Delete ~99% of comments and unverified suppressions in scoped changes before review.

    line 11
  2. Very specific:

    Challenge suppressions: remove eslint-disable, @ts-ignore, @ts-expect-error, # type: ignore, // nolint, and #[allow(...)], then fix the …

    line 20
  3. Very specific:

    Encode constraint comments: when you find a load-bearing constraint comment ("do not remove...", "must match X..."), propose the cheapest …

    line 21
  4. Very specific:

    Preserve (~1% exceptions): keep only (a) public contract docstrings carrying invariants types cannot express, (b) verified load-bearing …

    line 22

“Common” is measured: kept by at least 6 in 10 of the 94 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

No Comments (no-comments)

Delete ~99% of comments and unverified suppressions in scoped changes before review.

1. Scope the target

Target changed files in the current diff (git diff --name-only <base>...HEAD, or git status --short for uncommitted work), or an explicit path if specified. Leave unrelated files untouched.

2. Audit comments and suppressions

  1. Delete unconditionally: echoing/narrative comments (// get user), section banners, commented-out dead code, changelog/author tags, and excuse comments justifying hacks. If removing an excuse exposes brittle code, fix the code.
  2. Challenge suppressions: remove eslint-disable, @ts-ignore, @ts-expect-error, # type: ignore, // nolint, and #[allow(...)], then fix the underlying type, boundary, or lint error.
  3. Encode constraint comments: when you find a load-bearing constraint comment ("do not remove...", "must match X..."), propose the cheapest type, test, or CI/lint check that enforces it programmatically, implement it on approval, and delete the comment.
  4. Preserve (~1% exceptions): keep only (a) public contract docstrings carrying invariants types cannot express, (b) verified load-bearing constraints that no check can encode, and (c) tracked // TODO(<ticket-id>): <context> with a real issue ID.

3. Verify after cleanup

Re-run typecheck, lint, and touched tests on the scoped files.

When to skip

  • Generated files, lockfiles, vendored code, and license headers.

Done when

  • Scoped diff has zero echoing, dead-code, or excuse comments, zero unverified suppressions, and all checks pass.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.