Skip to content
Back to skills

No Comments

ASecurity

Review the current diff for comments that apologize for the code (workarounds, "hack", "TODO fix later", "do not touch") and fix the cause instead of explaining it. Use when the user says "limpia comentarios", "no-comments", "quita los hacks comentados", "hay muchos comentarios raros", or after a change that left workaround comments behind.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add educlopez/mallard --skill no-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of No Comments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for No Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/educlopez-no-comments/badge)](https://www.skillsdirectory.com/skills/educlopez-no-comments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: no-comments
description: >
  Review the current diff for comments that apologize for the code (workarounds,
  "hack", "TODO fix later", "do not touch") and fix the cause instead of
  explaining it. Use when the user says "limpia comentarios", "no-comments",
  "quita los hacks comentados", "hay muchos comentarios raros", or after a
  change that left workaround comments behind.
version: "0.2.0"
metadata:
  author: Eduardo Calvo
---

# no-comments

Adapted from pstack's `no-comments`. A comment that explains a workaround is a flag: the code surprised its author. Fix the surprise, then drop the comment. It does not strip useful comments, edit code outside the diff, or run a separate reviewer agent.

## Scope

The caller's files or the diff against the base branch (`main` or `master`), including the working tree.

## Steps

1. List comments in scope and sort each:
   - **Describes what the code does:** delete only if the code is already clear.
   - **Explains a workaround or a surprise:** a flag. Find the root cause.
   - **States a constraint** ("do not remove", "talk to X first", vendor quirk, PrestaShop core behavior): keep, unless a type, test or lint can enforce it.
   - **Lint or type suppression** (`biome-ignore`, `eslint-disable`, `@ts-expect-error`, `@ts-ignore`): never delete or rewrite it, even when its reason looks stale. Report it as "possibly stale" with the evidence, and leave the decision to the user.
2. For each flag, make the smallest root-cause fix in scope: delete the dead path, use the real API, drop the parameter. If the root cause is out of scope, make the smallest in-scope fix and report the rest as open.
3. For each kept constraint, offer the cheapest in-scope enforcement (test, lint, check) and wait for the user's OK before adding it. If approved, encode, then delete the comment.
4. Never delete a comment you were not asked to touch in files outside the diff. Never add a symptom guard. Never change code to make a lint or type suppression unnecessary.

## Report

Comments deleted, flags fixed (file, one line), constraints kept with reason, suppressions that look stale (left untouched), enforcement offers, open items.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.