auto-comments

Guide when to add, prune, or tighten comments across languages during writing, review, and refactoring.

6|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-comments
Source: https://github.com/Corvalis-LLC/Crow-Stack/tree/main/skills/auto-comments
Command: npx skills add https://github.com/Corvalis-LLC/Crow-Stack --skill auto-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code commenting discipline: when to comment, when silence IS the comment, and the specific anti-patterns Claude defaults to. Corrects over-commenting, restating-the-obvious, and missing high-value 'why not' comments. Use when writing new code, reviewing code, or refactoring. Triggers: comment, comments, commenting, docstring, jsdoc, rustdoc, documentation, annotate, explain code, self-documenting.

Core Features & Use Cases

  • The litmus test for value: comments must reveal unseen intent or risk; avoid narrating the obvious.
  • Comment value hierarchy (highest to lowest) covers Why not, Why, Beware, Context, What, How; relevant across languages.
  • Anti-patterns you default to: Narrating the code, Restating the function name, Commenting control flow, and several other noisy patterns to avoid.

Quick Start

Apply these guidelines when you write or review code to ensure comments add value and avoid noise.

Frequently Asked Questions about auto-comments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce best practices for code commenting during code review?

Code commenting best practices during review enforce a value hierarchy where comments reveal unseen intent or risk rather than narrating obvious code. You apply litmus rules to prune noisy comments, tighten context, and ensure high-value documentation across languages.

What is the best way to write code comments that explain reasoning without restating the obvious?

Writing purposeful code comments requires applying a value hierarchy that prioritizes 'why not', 'why', and 'beware' notes over 'what' or 'how' descriptions. You avoid anti-patterns like restating function names or narrating control flow to capture genuine reasoning and risk.

When should I add or remove comments when refactoring code?

When refactoring code, add comments to capture behavioral intent, anti-pattern avoidance, and hidden risks, and remove comments that merely narrate the obvious or restate code structure. Litmus rules determine whether a comment adds unseen value or creates noise.

Does this approach to commenting work across different programming languages?

This commenting approach works across all programming languages by applying universal litmus rules and a comment-value hierarchy to guide when to add, prune, or tighten documentation. It handles language-agnostic formats like docstrings, JSDoc, and RustDoc identically.

What are common code commenting anti-patterns to avoid?

Common code commenting anti-patterns to avoid include narrating the code, restating the function name, and commenting control flow. These noisy patterns fail the value litmus test because they restate the obvious instead of revealing underlying context, reasoning, or risk.

How do I document the 'why not' reasoning behind code decisions?

Documenting 'why not' reasoning involves writing comments at the top of the value hierarchy to capture why specific approaches or anti-patterns were avoided. This ensures future developers understand the hidden risks and behavioral intent behind the chosen implementation path.