Comment Analyzer

Check comments in a pull request with Comment Analyzer and find explanations that no longer match the implementation.

Published by Anthropic

Open publisher guide

Try a first task

Review the comments on a cache invalidation change. Flag any claim that a record is always refreshed on save if the code only refreshes it when the locale changes.

Setup and access

Use the publisher’s package if the subagent comes with a plugin. For a standalone agent definition, use the project’s .claude/agents/ directory and check that it appears under /agents.

Comment Analyzer is one of the agents defined in Anthropic’s PR Review Toolkit. Bring both the diff and the implementation the comments describe.

How Claude Code loads subagents

What to know before you start

Ask the reviewer to compare changed comments with the implementation and flag unsupported promises or stale details. Useful edits explain an invariant or decision that the code itself cannot make obvious.

Publisher references

Anthropic

Browse Agents