inline-doc-governance
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.
More from grepug/skills
xcode-archive-release
Bump version/build number, archive an Xcode project, upload to App Store Connect, then tag and push the release in git. Use when a user wants to release an iOS or macOS app to the App Store — tasks like "archive and upload to ASC", "bump version and release", "release version 2.1.0 build 42", "release from git tag", or "retry a failed upload".
13github-issue-workflow
Use when work should be tracked and executed through GitHub Issues instead of repo-local todo files. Helps agents adopt a repo's existing issue templates, labels, and project conventions when present, or fall back to a portable seed plus execution workflow when they are missing.
9plan-driven-change
Approval-gated, plan-first workflow for larger code changes. Use when the user asks to build a new capability or make a non-trivial change that touches multiple files, crosses module boundaries, or involves architectural decisions. Do NOT use for bug fixes, one-line tweaks, dependency bumps, or small config changes. The workflow is: clarify intent, get user approval, write a rich plan with interface stubs and checklist, get user approval again, implement with progress logging, run a gap audit, and record tweaks.
5linear-workflow
产品无关的 Linear 工作流,用于创建、更新、检查和讨论产品 issue、元数据、状态、范围、确认事项和长期产品文档同步。
4module-boundary-governance
Define, audit, and migrate module boundary manifests for codebases that need explicit ownership and dependency rules. Use when Codex is creating a new module, adding a new nested layer, moving code across layers, changing a module's public entrypoints, checking an existing repo's boundary health, or replacing weaker boundary docs and conventions with a canonical manifest-based system.
2