speckit-review-comments

Verify code comment accuracy and completeness in changed speck-kit files.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/payangar-dev/texlab --skill speckit-review-comments-payangar-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-review-comments
Source: https://github.com/payangar-dev/texlab/tree/main/.agents/skills/speckit-review-comments
Command: npx skills add https://github.com/payangar-dev/texlab --skill speckit-review-comments-payangar-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents outdated, inaccurate, or misleading code comments from lingering in a repository, reducing long-term technical debt and improving maintainability.

Core Features & Use Cases

It verifies that each comment’s claims match the actual implementation behavior. It assesses documentation completeness by checking for missing assumptions, side effects, error conditions, and rationale where it’s not obvious. It detects comment rot by flagging references to obsolete logic and misleading or ambiguous statements, and it provides targeted rewrite guidance for what to change and what to remove.

Quick Start

Run the skill to analyze recently changed files’ comments and receive structured feedback covering summary, critical issues, improvement opportunities, recommended removals, and positive findings.

Frequently Asked Questions about speckit-review-comments

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

FAQPage Schema
How do I detect comment rot in my codebase?

To detect comment rot, you verify factual accuracy and completeness of code comments against actual implementation behavior. This process flags misleading statements, obsolete logic references, and missing assumptions to prevent outdated documentation from accumulating.

What is the best way to review code comments for technical debt?

The best way to review code comments for technical debt is evaluating each comment against real code behavior, edge cases, and misinterpretation risks. This identifies misleading documentation and provides targeted rewrite guidance for necessary changes.

How do I check if code comments match actual implementation behavior?

You check if code comments match implementation behavior by assessing documentation completeness against actual code execution. This verifies claims, checks for missing error conditions or side effects, and flags ambiguous statements that no longer reflect the code.

Does spec-kit comment review work with recently changed files?

Yes, spec-kit comment review works with recently changed files by using deterministic changed-file detection. It analyzes comments within modified files to ensure accurate documentation tracks evolving code without reviewing the entire repository.

When should I not use automated comment accuracy checks?

You should not use automated comment accuracy checks when no deterministic changed-file detection mechanism is available. The review process requires identifying specific modified files to evaluate comments against real code behavior and edge cases.

How do I assess documentation completeness for missing assumptions and side effects?

You assess documentation completeness by checking each comment for missing assumptions, side effects, error conditions, and rationale. The review provides structured feedback covering critical issues, improvement opportunities, and recommended removals.