documentation-best-practices

Provides templates, standards, and best practices for writing clear, comprehensive technical documentation

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "documentation-best-practices" with this command: npx skills add bejranonda/llm-autonomous-agent-plugin-for-claude/bejranonda-llm-autonomous-agent-plugin-for-claude-documentation-best-practices

Overview

This skill provides guidelines for creating high-quality documentation including docstrings, API documentation, README files, and usage guides.

Documentation Coverage Targets

  • Public APIs: 100% documented
  • Internal Functions: 80%+ documented
  • Complex Logic: Must have explanation comments
  • Overall: 85%+ coverage

Docstring Templates

Python (Google Style)

def function_name(param1: str, param2: int) -> bool:
    """Brief one-line description.

    Longer detailed explanation if needed.

    Args:
        param1: Description of param1
        param2: Description of param2

    Returns:
        Description of return value

    Raises:
        ValueError: When and why
    """

JavaScript (JSDoc)

/**
 * Brief one-line description.
 *
 * @param {string} param1 - Description of param1
 * @param {number} param2 - Description of param2
 * @returns {boolean} Description of return value
 * @throws {Error} When and why
 */

README Structure

  1. Project Title & Description
  2. Installation: Step-by-step setup
  3. Usage: Basic examples
  4. API Documentation: Overview or link
  5. Contributing: Guidelines (if applicable)
  6. License: Project license

When to Apply

Use when generating documentation, updating docstrings, creating README files, or maintaining API documentation.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

web-validation

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

git-automation

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

gui-design-principles

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

frontend-aesthetics

No summary provided by upstream source.

Repository SourceNeeds Review