agentleFS
yezzzpyezzzp/agent-relay-protocol/skills/no-comments/SKILL.md

no-comments

Skill0 starsChanged 8 days agoMITView on GitHub

Remove code comments that restate what the code does, and turn comments that claim a constraint into a check. Use before committing or review, when touching a file with many comments, or when asked to clean up comments.

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 10 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

Files
SKILL.md

no-comments

Agents read comments as truth, so a stale one misleads them. Keep only what the code cannot say.

For each comment in the diff (or the named files)

CommentAction
Says what the code does ("loop over orders")Delete it. Rename instead if the code is unclear.
Commented-out codeDelete it. Git has it.
Claims a constraint ("never call this twice", "amount must be positive")Encode it as a type, an assertion at the boundary, a database constraint, or a test. Then delete the comment.
A why that cannot be encoded (an owner decision, an external quirk)Keep one line pointing to where it is recorded: # why: see docs/ai/memory/decision_x.md.
A license header, or a docstring that is public APIKeep it.

Enforce

  • Python: enable ruff ERA (commented-out code).
  • Report what was deleted, what was encoded and with what, and what was kept and why.

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.