code-review-comment-analyzer
Analyze code comments for accuracy, completeness, and long-term maintainability.
Best use case
code-review-comment-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze code comments for accuracy, completeness, and long-term maintainability.
Teams using code-review-comment-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/code-review-comment-analyzer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How code-review-comment-analyzer Compares
| Feature / Agent | code-review-comment-analyzer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze code comments for accuracy, completeness, and long-term maintainability.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
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. 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 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] 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.
Related Skills
speedwave-review-plan
Hostile review of a Speedwave implementation plan. Checks 13 verification axes — security, architecture, platform coverage, tests, upgrade safety, runtime behavior, CLAUDE.md compliance, and more. Use this skill to verify any implementation plan before starting work.
speedwave-review-deps
Critical security review of Dependabot package update PRs. Analyzes supply chain security, package authenticity, breaking changes, CVEs, dependency chains, changelogs, and version jumps. Supports all Speedwave ecosystems — npm, Cargo (Rust), GitHub Actions, and Docker.
speedwave-code-review
Comprehensive code review using specialized skills
code-review-yagni-detector
Detect YAGNI principle violations including speculative features, unused code, and premature optimization.
code-review-type-design-analyzer
Analyze type design for encapsulation, invariant expression, usefulness, and enforcement quality.
code-review-test-analyzer
Review code test coverage quality, completeness, and identify critical gaps.
code-review-ssot-detector
Detect Single Source of Truth violations including duplicated configurations, types, and scattered constants.
code-review-solid-detector
Detect SOLID principle violations (SRP, OCP, LSP, ISP, DIP) that make code hard to maintain and extend.
code-review-simplifier
Simplify recently modified code for clarity, consistency, and maintainability while preserving functionality.
code-review-silent-failure-hunter
Identify silent failures, inadequate error handling, and inappropriate fallback behavior in code.
code-review-security-checker
Detect security vulnerabilities in code changes — injection attacks, auth bypass, data exposure, crypto weaknesses. Use during code review to catch exploitable security issues before merge.
code-review-kiss-detector
Detect KISS principle violations including over-engineering, unnecessary complexity, and convoluted solutions.