Documentation Writing Guidelines

Create documentation guidelines enforcing Markdown structure, progressive disclosure, and 500-line limits.

1|1|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/wtn/claude-arsenal --skill documentation-writing-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Documentation Writing Guidelines
Source: https://github.com/wtn/claude-arsenal/tree/main/context/skills/documentation-writing
Command: npx skills add https://github.com/wtn/claude-arsenal --skill documentation-writing-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to documentation, preventing information overload and ensuring consistency. It solves the problem of developers struggling to write clear, maintainable, and AI-friendly documentation, ultimately saving time in context management and review cycles.

Core Features & Use Cases

  • 500-Line Rule: Enforces concise documentation for faster AI processing and improved human readability.
  • Progressive Disclosure: Organizes information from high-level overviews to detailed specifics, preventing context loss.
  • Show, Don't Just Tell: Emphasizes concrete code examples over abstract explanations to enhance understanding.
  • Scannable Structure: Promotes the use of clear headings, lists, and formatting for easy navigation.
  • Use Case: When documenting a new feature or updating a README, this skill ensures your documentation is structured, scannable, and adheres to best practices, making it easy for both humans and AI to understand and utilize.

Quick Start

Use the documentation-writing skill to help me write a SKILL.md for my new backend-api skill, ensuring it follows the 500-line rule and progressive disclosure.

Frequently Asked Questions about Documentation Writing Guidelines

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

FAQPage Schema
How do I write documentation that's clear and concise for AI tools?

Clear documentation balances readability with AI processing efficiency through structured formatting, progressive disclosure from overview to details, and a 500-line rule that breaks lengthy content into scannable sections with references to dedicated resources.

What's the best way to structure a README or SKILL.md file?

Use progressive disclosure: lead with a high-level problem statement, follow with concrete code examples, organize with clear headings and lists, maintain consistent Markdown formatting, include frontmatter, and cap the main file at 500 lines by moving detailed content to separate reference files.

How do I make documentation scannable and easy to navigate?

Apply scannable structure through hierarchical headings, bullet points, short paragraphs, code blocks with language hints, and consistent formatting conventions that help readers—human and AI—quickly find information without cognitive overload.

Why should I keep documentation files under 500 lines?

The 500-line rule improves both human readability and AI context efficiency by preventing information overload, reducing review cycles, and forcing content organization that separates essential guidance from detailed references.

Can I use this approach with Markdown files and code documentation?

Yes. This Skill applies to README.md files, SKILL.md context documentation, dev guides, getting-started resources, and other Markdown-based files, enforcing kebab-case naming, consistent formatting, code-block language hints, and progressive disclosure across all file types.

What's the difference between showing examples and explaining concepts in documentation?

Show, don't just tell: concrete code examples and actionable patterns enhance understanding faster than abstract explanations alone, reducing ambiguity and providing immediate, applicable guidance for implementing features or workflows.