doc-standards

Validate documentation against repository-owned contracts and operational requirements.

2|Updated May 18, 2022
One-click install
npx skills add https://github.com/alexfalkowski/bin --skill doc-standards-alexfalkowski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-standards
Source: https://github.com/alexfalkowski/bin/tree/main/skills/doc-standards
Command: npx skills add https://github.com/alexfalkowski/bin --skill doc-standards-alexfalkowski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common issue of stale, inaccurate, or superficial documentation that fails to protect users and maintainers from operational risks.

Core Features & Use Cases

  • Adequacy Gate: Validates documentation against strict criteria including audience, action, and non-obvious contracts.
  • Contextual Review: Provides specialized guidance for READMEs, public API comments, and code docstrings.
  • Use Case: Use this during a pull request review to ensure that new code changes are accompanied by documentation that accurately reflects the updated behavior and non-obvious constraints.

Quick Start

Use the doc-standards skill to audit the current README and all public API comments in this repository for adequacy and accuracy.

Frequently Asked Questions about doc-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate documentation adequacy during a code review?

Validate documentation adequacy by checking technical content against repository-owned contracts, audience requirements, and non-obvious constraints. This ensures accuracy and completeness during pull request assessments, preventing user misunderstanding and reducing maintenance risk.

What is the best way to audit a README and public API comments for accuracy?

Auditing a README and public API comments requires validating them against strict criteria including audience, action, and operational requirements. This contextual review ensures high-quality, maintainable documentation that correctly reflects updated code behavior.

When do I need to enforce strict documentation standards in a repository?

Enforce strict documentation standards when stale or superficial documentation threatens operational stability. Apply these standards during pull request assessments and documentation audits to ensure technical content satisfies non-obvious contracts and protects maintainers from operational risks.

Does doc-standards check code docstrings as well as README files?

Yes, doc-standards provides specialized contextual review for READMEs, public API comments, and code docstrings. It validates all these documentation types against strict adequacy criteria to ensure correct placement and completeness across the repository.

How do I prevent stale documentation from causing maintenance risks?

Prevent stale documentation by applying an adequacy gate that validates technical content against repository-owned contracts during code reviews. This ensures new code changes are accompanied by documentation that accurately reflects updated behavior and non-obvious constraints.