Skip to content
Skills Library
Programming · Review & audit

hunt-comments

/hunt-comments

Use when hunting down verbose, narrative, or dead comments in the codebase to reduce comment noise and character counts.

Repository
adeu ↗
Licence
MIT
Last repository change
16.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 16.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when hunting down verbose, narrative, or dead comments in the codebase to reduce comment noise and character counts.

Original author description

Use when hunting down verbose, narrative, or dead comments in the codebase to reduce comment noise and character counts.

How it works

  1. Workflow
Original SKILL.md headings · 29 lines, 173 words
SKILL.md preview
---
name: hunt-comments
description: Use when hunting down verbose, narrative, or dead comments in the codebase to reduce comment noise and character counts.
---

# Hunt Comments Skill

This skill provides a systematic approach to finding and reducing comment density and character bloat across source code files.

## Workflow

1. **Run the Comment Density Spotter**:
   Execute `python scripts/count_comment_chars.py` to rank files by comment character count:
   
   ```bash
   uv run python scripts/count_comment_chars.py -n 25
   ```

2. **Target High-Density Files**:
   Focus on top-ranked files with high comment ratios (>20% comment characters).

3. **Identify & Remove Non-Essential Commentary**:
   - Delete narrative historical explanations ("Why we added this in 2024...", "Fix for issue #123 where...").
   - Strip redundant docstrings that simply restate function signatures, types, or obvious operations.
   - Collapse multi-paragraph block comments into brief 1-line "why" notes or remove them entirely if code is self-explanatory.
   - Retain only essential architectural invariants (e.g., OPC part boundaries, Word signed int32 overflow rules, security guards).

4. **Verify Behavior**:
   Always run test suites to verify zero functional or formatting regressions:
   - Python: `uv run pytest` & `uv run mypy src`
   - Node: `npm run build && npm test`
   - LangChain: `uv run pytest` in `langchain`

Versions

The database has no other skills named hunt-comments.

Database snapshot: 13.11.2026 · package version 6667df8a70e5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100code-comment-style
    Write and tighten code comments so they state the why or the invariant in 1-3 lines. Use when adding comments to code, or when pruning verbose comments in a diff or PR.
  • 90no-comments
    Use when a diff or a set of files is ready to be reviewed and its comments have to be audited: narration, banners, commented-out corpses, workaround sermons, and lint or type suppressions. It runs an adversarial read, deletes what the read proves is dead, fixes what the comment…
  • 100code-comments
    Write, review, or remove code comments. Use when adding comments or doc comments, reviewing the comments in a diff, or cleaning up or removing comments.
  • 100comments-docs
    Reviews comment quality and documentation practices: the four comment types, comments-first workflow, and comment rot. Use when reviewing comments or docs, when comments just repeat the code, or when something is hard to describe in a sentence. Not for naming or code obviousness…
  • 100comment-cleanup
    This skill should be used when the user asks to "clean up comments", "remove superfluous comments", "remove redundant comments", "trim verbose comments", "remove changelog comments from code", "clean up the README", or "run a comment cleanup" on a set of files or directories, or…
  • 100comment-sweep
    Use when the user wants the comments in their branch or diff cleaned up or audited before review, such as "clean up the comments I added", "strip the AI slop", "remove the commented-out code", or "do these comments earn their place?".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.