inline-doc-governance

Installation
SKILL.md

Inline Doc Governance

Overview

Use this skill to keep documentation close to the code it explains without creating low-signal comment noise. It combines a deterministic audit for coverage checks with a judgment-based review for contracts, side effects, and "why" comments.

The default posture is repo-agnostic: discover local rules first, skip generated and vendor-owned files, and adapt strictness to the project instead of imposing a universal comment quota.

Default Recommendation

Prefer this baseline for new repos:

  • Require file headers for repo-owned source files.
  • Require docs for exported, public, package-visible, cross-boundary, or otherwise important types.
  • Require function and method contract docs only for public surfaces, cross-module seams, services, stores, adapters, coordinators, resolvers, and side-effectful operations.
  • Add inline comments only when they explain a decision the code does not make obvious.
  • Use strict "all types need docs" mode only when the repo has adopted that rule.

If a repo already has stronger rules, follow the repo. If the repo has no rules, propose the baseline and explain the strictness options before making broad edits.

Related skills

More from grepug/skills

Installs
2
Repository
grepug/skills
First Seen
3 days ago