Agent skill

Speckit Review Comments

by opsmill in opsmill/infrahub

Code comment accuracy verification, documentation completeness assessment, comment rot detection.

Apache-2.0Auto-check passedDevelopment

Install Speckit Review Comments

skills CLI
$ npx skills add opsmill/infrahub --skill speckit-review-comments -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opsmill/infrahub speckit-review-comments --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opsmill/infrahub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/speckit-review-comments .claude/skills/speckit-review-comments && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
speckit-review-comments
GitHub stars
531
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
642 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

Code comment accuracy verification, documentation completeness assessment, comment rot detection.

  • Works in 5 steps: Verify Factual Accuracy: Cross-reference… → Assess Completeness: Evaluate whether… → Evaluate Long-term Value: Consider the… → …
  • Tasks that involve Spec-driven development
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Technical documentation

What it does

Speckit Review Comments is an agent skill from opsmill/infrahub. Code comment accuracy verification, documentation completeness assessment, comment rot detection.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory

It sits in Development, covering Spec-driven development and Technical documentation. The repository describes itself as: Infrahub is a graph-based data management platform with built-in version control, CI workflows, peer review, and API access. It’s purpose-built to power reliable infrastructure… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Spec-driven development
  • Tasks that involve Technical documentation

Example prompts

  • “/speckit-review-comments”

Requirements

  • Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Verify Factual Accuracy: Cross-reference every claim in the comment against the actual code implementation. Check
  2. Assess Completeness: Evaluate whether the comment provides sufficient context without being redundant
  3. Evaluate Long-term Value: Consider the comment's utility over the codebase's lifetime
  4. Identify Misleading Elements: Actively search for ways comments could be misinterpreted
  5. Suggest Improvements: Provide specific, actionable feedback

What it can do on your machine

Read from SKILL.md and the folder at commit 460d724. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires spec-kit project structure with .specify/ directory

    From compatibility in the SKILL.md frontmatter.

Context cost

Speckit Review Comments loads about 1.3k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 642 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opsmill/infrahub at commit 460d724, republished under its Apache-2.0 licence (© opsmill). 642 words, ~1,297 tokens.

Download SKILL.mdSave it as .claude/skills/speckit-review-comments/SKILL.md (or your agent's skills folder).
name
speckit-review-comments
description
Code comment accuracy verification, documentation completeness assessment, comment rot detection.
compatibility
Requires spec-kit project structure with .specify/ directory
metadata.author
github-spec-kit
metadata.source
review:commands/comments.md

You are a meticulous code comment analyzer with deep expertise in technical documentation and long-term code maintainability. You approach every comment with healthy skepticism, understanding that inaccurate or outdated comments create technical debt that compounds over time.

Your primary mission is to protect codebases from comment rot by ensuring every comment adds genuine value and remains accurate as code evolves. You analyze comments through the lens of a developer encountering the code months or years later, potentially without context about the original implementation.

Determine Changed Files:

If the user provided a file list or explicit instructions on how to retrieve files (e.g., only staged, only unstaged, a specific folder, etc.), follow those instructions directly.

Otherwise, you MUST execute the .specify/scripts/bash/detect-changed-files.sh with --json to detect changed files. Do not attempt to detect changes by running git commands directly, reading git state manually, or using any other method — always delegate to the script. The script automatically picks the best detection mode:

  • Mode A (feature branch): diffs the current branch against the default branch (main/master) from the merge-base, plus any staged and unstaged changes.
  • Mode B (working directory): falls back to staged + unstaged changes when there is no feature branch (e.g., working directly on the default branch).

JSON output: {"branch", "default_branch", "mode", "changed_files": [...]}

Note: The folder containing the script may be excluded from version control or hidden by search indexing. You must still locate and execute it — do not skip it or substitute your own file-detection logic.

Comments Framework:

When analyzing comments, you will:

  1. Verify Factual Accuracy: Cross-reference every claim in the comment against the actual code implementation. Check:

    • Function signatures match documented parameters and return types
    • Described behavior aligns with actual code logic
    • Referenced types, functions, and variables exist and are used correctly
    • Edge cases mentioned are actually handled in the code
    • Performance characteristics or complexity claims are accurate
  2. Assess Completeness: Evaluate whether the comment provides sufficient context without being redundant:

    • Critical assumptions or preconditions are documented
    • Non-obvious side effects are mentioned
    • Important error conditions are described
    • Complex algorithms have their approach explained
    • Business logic rationale is captured when not self-evident
  3. Evaluate Long-term Value: Consider the comment's utility over the codebase's lifetime:

    • Comments that merely restate obvious code should be flagged for removal
    • Comments explaining 'why' are more valuable than those explaining 'what'
    • Comments that will become outdated with likely code changes should be reconsidered
    • Comments should be written for the least experienced future maintainer
    • Avoid comments that reference temporary states or transitional implementations
  4. Identify Misleading Elements: Actively search for ways comments could be misinterpreted:

    • Ambiguous language that could have multiple meanings
    • Outdated references to refactored code
    • Assumptions that may no longer hold true
    • Examples that don't match current implementation
    • TODOs or FIXMEs that may have already been addressed
  5. Suggest Improvements: Provide specific, actionable feedback:

    • Rewrite suggestions for unclear or inaccurate portions
    • Recommendations for additional context where needed
    • Clear rationale for why comments should be removed
    • Alternative approaches for conveying the same information
Show full SKILL.md (146 more words)Show less

Your analysis output should be structured as:

Summary: Brief overview of the comment analysis scope and findings

Critical Issues: Comments that are factually incorrect or highly misleading

  • Location: [file:line]
  • Issue: [specific problem]
  • Suggestion: [recommended fix]

Improvement Opportunities: Comments that could be enhanced

  • Location: [file:line]
  • Current state: [what's lacking]
  • Suggestion: [how to improve]

Recommended Removals: Comments that add no value or create confusion

  • Location: [file:line]
  • Rationale: [why it should be removed]

Positive Findings: Well-written comments that serve as good examples (if any)

Remember: You are the guardian against technical debt from poor documentation. Be thorough, be skeptical, and always prioritize the needs of future maintainers. Every comment should earn its place in the codebase by providing clear, lasting value.

IMPORTANT: You analyze and provide feedback only. Do not modify code or comments directly. Your role is advisory - to identify issues and suggest improvements for others to implement.

© opsmill, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/speckit-review-comments of opsmill/infrahub.

Open the folder on GitHubat commit 460d724

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in opsmill/infrahub, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Speckit Review Comments next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Speckit Review Comments compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Speckit Review Comments this skillopsmill/infrahub5311 repos~1.3kAutomated safety check: PassApache-2.0
BiSheng SDD Document Reviewdataelement/bisheng12k—~717Automated safety check: PassApache-2.0
Caveman Spec CompressionJuliusBrussee/cavekit1.1k—~721Automated safety check: PassMIT
MVP Technical DesignKhazP/vibe-coding-prompt-template3.1k—~512Automated safety check: PassMIT
Documentation Research Methodologyprime-radiant-inc/greenfield292—~4.6kAutomated safety check: PassApache-2.0
Feature Specificationowainlewis/blueprint412—~938Automated safety check: PassMIT

Similar skills

  • BiSheng SDD Document Review

    dataelement/bisheng

    Reviews BiSheng spec, design and tasks documents with checklists for PRD gaps, handover readiness and acceptance traceability, producing a report or an LGTM.

    12k GitHub stars~717 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Caveman Spec Compression

    JuliusBrussee/cavekit

    Compresses SPEC.md writes and spec-referencing prose into terse, symbol-heavy fragments that drop articles, filler and hedging while keeping facts intact.

    1.1k GitHub stars~721 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • MVP Technical Design

    KhazP/vibe-coding-prompt-template

    Writes an MVP technical design from agreed requirements, covering architecture, data ownership, integration contracts, deployment and tradeoffs, then hands off to the next stage.

    3.1k GitHub stars~512 tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Documentation Research Methodology

    prime-radiant-inc/greenfield

    Method for extracting behavioral specifications from a product's public documentation: tiered search order, claim extraction rules, output structure, stop criteria and gap analysis.

    292 GitHub stars~4.6k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Feature Specification

    owainlewis/blueprint

    Writes one implementation-ready spec for a feature or major change, settling behavior, technical design, failure handling and acceptance checks before delivery.

    412 GitHub stars~938 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed

More from opsmill/infrahub

All 32 skills in this repo
  • Analyzing CI Flakiness

    opsmill/infrahub

    Analyzes recent CI failures on pull requests to identify flaky tests, using retry outcomes (failed attempt → green re-run) and cross-PR recurrence as evidence, and maintains a local longitudinal…

    531 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Audit Docs

    opsmill/infrahub

    Audits internal (dev/) and external (docs/) documentation completeness for a feature, subject, or set of existing docs, maps changes indicated by the user, across Infrahub's documentation layers…

    531 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Commit

    opsmill/infrahub

    Stages and commits the current changes onto a safe working branch, enforcing branch discipline and optionally pushing upstream.

    531 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check: notes
  • A skill your agent uses when you've fixed a bug, added a feature, or made any user-facing change in a project that uses Towncrier and need to record it for the changelog — before committing or…

    531 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Creating Issues

    opsmill/infrahub

    Turns a single feature idea, improvement, or bug into ONE well-structured GitHub issue.

    531 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Creating Prd

    opsmill/infrahub

    Synthesises the current conversation context into a Product Requirements Document and publishes it to GitHub (as a comment on a referenced issue, or a new issue).

    531 GitHub stars~4k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Speckit Review Comments

What does Speckit Review Comments do?

Code comment accuracy verification, documentation completeness assessment, comment rot detection. Speckit Review Comments is an agent skill from opsmill/infrahub. Code comment accuracy verification, documentation completeness assessment, comment rot detection.

When should I use Speckit Review Comments?

Speckit Review Comments fits situations like: tasks that involve Spec-driven development; tasks that involve Technical documentation.

How do I install Speckit Review Comments in Claude Code?

Run `npx skills add opsmill/infrahub --skill speckit-review-comments -a claude-code`. Or copy the skill folder (.agents/skills/speckit-review-comments in opsmill/infrahub) into .claude/skills/speckit-review-comments in your project. Claude Code loads it when a task matches its description.

How do I install Speckit Review Comments in Codex?

Run `npx skills add opsmill/infrahub --skill speckit-review-comments -a codex`. Or copy the skill folder (.agents/skills/speckit-review-comments in opsmill/infrahub) into .agents/skills/speckit-review-comments in your project. Codex loads it when a task matches its description.

Can I use Speckit Review Comments in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opsmill/infrahub --skill speckit-review-comments -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-review-comments, .gemini/skills/speckit-review-comments, .github/skills/speckit-review-comments and .opencode/skills/speckit-review-comments in your project.

What does Speckit Review Comments need to run?

SKILL.md names no scripts, command-line tools or credentials: Speckit Review Comments is instructions for the agent only. Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.

Does Speckit Review Comments access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Speckit Review Comments safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Speckit Review Comments use?

Speckit Review Comments is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Speckit Review Comments use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Speckit Review Comments?

Skills that share tags, products or a category with Speckit Review Comments: BiSheng SDD Document Review (dataelement/bisheng, 12k stars), Caveman Spec Compression (JuliusBrussee/cavekit, 1.1k stars), MVP Technical Design (KhazP/vibe-coding-prompt-template, 3.1k stars) and Documentation Research Methodology (prime-radiant-inc/greenfield, 292 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Speckit Review Comments?

opsmill (a GitHub organization) maintains it in opsmill/infrahub, which has 531 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.

Source: opsmill/infrahub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.