What problem does it solve?
Code comments in Go packages drift out of sync with the code over time, and misleading documentation causes engineers to write incorrect calling code, debug in the wrong direction, or violate invariants. This Skill finds confirmed comment/code mismatches so documentation can be trusted again.
Core Features & Use Cases
- Two-stage audit workflow: First builds a package understanding artifact, then audits comments against the actual code contract using dedicated subagents.
- Severity-ranked report: Produces a conservative, evidence-backed report ordered by severity (high/medium/low), with file:line citations and quoted comments.
- Pebble/CRDB-aware focus: Prioritizes load-bearing comment areas such as iterator semantics, ownership of returned slices, sequence-number visibility, tombstone rules, and locking preconditions.
- Use Case: Point it at a Pebble package like the iterator or sstable package to surface stale godoc claims about SeekGE semantics or zero-value validity before they mislead a new contributor.
Quick Start
Run the doc-catcher skill on the Go package at internal/manifest to audit its comments for contradictions with the code.