references/doc-coverage-checklist.md
references/doc-coverage-checklist.mdBrowse 3 files
550 tokens
2,850 bytes
Token encoding: o200k_base
Snapshot 506f736
← Back to SKILL.md
Doc Coverage Checklist
Use this checklist within the requested topic or diff. A comprehensive inventory requires a comprehensive audit request; the current branch does not determine the scope. Released-documentation corrections remain in scope even when unrelated to that branch.
Feature inventory targets
- Public exports: classes, functions, types, and module entry points.
- Configuration options:
*Optionstypes, default config objects, and builder patterns. - Environment variables or runtime flags.
- CLI commands, scripts, and example entry points that define supported usage.
- User-facing behaviors: retry, timeouts, streaming, errors, logging, telemetry, and data handling.
- Deprecations, removals, or renamed settings.
Doc-first pass (page-by-page)
- Review each relevant English page (excluding
docs/src/content/docs/openai). - Look for missing opt-in flags, env vars, or customization options that the page implies.
- Add new features that belong on that page based on user intent and navigation.
Code-first pass (feature inventory)
- Map features to the closest existing page based on package or feature area.
- Prefer updating existing pages over creating new ones unless the topic is clearly new.
- Use conceptual pages for cross-cutting concerns (auth, errors, streaming, rate limits).
- Keep quick-start flows minimal; move advanced details into deeper pages.
- Exclude
docs/src/content/docs/openaifrom coverage checks and updates.
Evidence capture
- Record the inspected revision, file path, and symbol/setting name for the requested scope.
- Note defaults or behavior-critical details for accuracy checks.
- Avoid large code dumps; a short identifier is enough.
Red flags for outdated or incorrect docs
- Option names/types no longer exist or differ from code.
- Default values or allowed ranges do not match implementation.
- Features removed in code but still documented.
- Released behaviors missing necessary guidance. Apply the repository's Documentation Release Timing policy before proposing documentation for unreleased behavior.
When to propose structural changes
- A page mixes unrelated audiences (quick-start + deep reference) without clear separation.
- Multiple pages duplicate the same concept without cross-links.
- New feature areas have no obvious home in the nav structure.
Diff mode guidance (only for branch-scoped requests)
- Focus only on changed behavior: new exports/options, modified defaults, removed features, or renamed settings.
- Use
git diff main...HEAD(or equivalent) to constrain analysis. - Document removals explicitly so docs can be pruned if needed.
Patch guidance
- Keep edits scoped and aligned to existing tone and format.
- Update cross-links when moving or renaming sections.
- Leave translated docs untouched; English-only updates.