Claude Code doc-catcher for Go comment and code mismatches
Audit Go package comments against real return values, bounds and ownership rules. Rank confirmed contradictions by impact.
中文Install in Claude Code
Open Pebble in Claude Code with the package-understander and doc-auditor project agents. Provide a repo-relative Go package directory.
- Review `.claude/skills/doc-catcher/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/doc-catcher/` in your project and save the reviewed file as `.claude/skills/doc-catcher/SKILL.md`.
- Start Claude Code from that project's root, then select `/doc-catcher` in the slash menu.
Example task
In docs-09, a comment says UpperLimit includes the upper value. Go uses a strictly less-than check. For keys [2, 3, 4] and an upper bound of 4, iteration yields [2, 3].What to check
Cite the relevant comment and code with {documented: 'inclusive', actual: 'exclusive'}. Include the real file and line and leave wording-only differences out of the report.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should tersely written but accurate comments be reported?
The workflow focuses on verified differences with consequences for a reader. Accurate but brief comments belong to a separate documentation task.