comment-review-criteria

Flag comments revealing design rationale, LLM traces, or redundant explanations during code reviews.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sato-dev1234/claude-code-sample --skill comment-review-criteria
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comment-review-criteria
Source: https://github.com/sato-dev1234/claude-code-sample/tree/main/skills/comment-review-criteria
Command: npx skills add https://github.com/sato-dev1234/claude-code-sample --skill comment-review-criteria

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comment quality in source code can directly affect maintainability and correctness. This Skill defines what information comments should provide and establishes a standard for what constitutes acceptable explanations versus violations.

Core Features & Use Cases

  • Comment Explainability: Comments should explain constraints and correctness factors, not unnecessary design rationale.
  • Violation Flags: Detect and flag design rationale, LLM traces, redundant comments, and historical implementation notes.
  • Review Scope: Applies to multiple languages and projects during code reviews to improve clarity and maintainability.

Quick Start

Review a codebase and apply the comment-review policy to flag non-informative or misaligned comments.

Frequently Asked Questions about comment-review-criteria

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

FAQPage Schema
What should code comments explain to improve correctness?

Code comments should explain constraints and correctness factors rather than unnecessary design rationale. This standard helps maintain source code clarity by ensuring comments provide informative, actionable context for reviewers.

How do I flag LLM traces and redundant comments during a code review?

Apply a comment-review policy during code reviews to flag violations such as LLM traces, redundant explanations, and historical implementation notes. This detects non-informative comments across multiple languages and projects.

Can I use this comment review criteria across multiple programming languages?

Yes, the comment review criteria applies to multiple languages and projects. It defines metadata and operational guidelines to enforce consistent, correctness-focused commenting practices across diverse codebases.

What is the best way to enforce static analysis rules for code comments?

The best way to enforce static analysis for code comments is to define what constitutes acceptable explanations versus violations. Establish operational guidelines to flag design rationale and LLM traces to improve maintainability.

Why does code comment quality affect maintainability?

Code comment quality affects maintainability because non-informative comments obscure correctness factors. Establishing a standard for acceptable explanations versus violations prevents misaligned comments from degrading source code clarity.

When should I not use design rationale in source code comments?

You should not use design rationale in source code comments when it does not directly explain constraints or correctness factors. Comment review flags these as violations alongside LLM traces and historical implementation notes.