documentation

Organize project documentation into Diátaxis-structured pages with Astro Starlight.

4.9k|489|Updated Aug 12, 2025
One-click install
npx skills add https://github.com/github/gh-aw --skill documentation-github
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation
Source: https://github.com/github/gh-aw/tree/main/skills/documentation
Command: npx skills add https://github.com/github/gh-aw --skill documentation-github

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The documentation for a project can be hard to discover, inconsistent, and difficult to maintain. This Skill helps you structure, standardize, and publish documentation using the Diátaxis framework.

Core Features & Use Cases

  • Structured content: Organize tutorials, how-to guides, reference material, and explanations for clear navigation.
  • SEO-friendly pages: Frontmatter and Astro Starlight rendering for fast, searchable docs.
  • Scalable governance: Enforce consistent style and templates across docs for larger projects.

Quick Start

Start by outlining your documentation goals, then create a docs/ directory following the four Diátaxis types and the required frontmatter conventions. Then build your first example page and render it with Astro Starlight.

Frequently Asked Questions about documentation

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

FAQPage Schema
What is the Diátaxis framework for structuring project documentation?

The Diátaxis framework structures project documentation into four distinct types: tutorials, how-to guides, reference material, and explanations. This separation ensures content is organized by user intent, improving overall discoverability and maintainability.

How do I organize project documentation to improve discoverability and maintainability?

Organize project documentation by creating a docs directory and categorizing content into the four Diátaxis types. Enforce standardized frontmatter conventions and use Astro Starlight rendering to ensure pages remain consistent and SEO-friendly.

Does Astro Starlight support frontmatter-based documentation pages?

Yes, Astro Starlight supports frontmatter-based pages to render fast and searchable documentation. Combining standardized frontmatter with Astro Starlight ensures your project documentation remains SEO-friendly and consistently styled.

What's the best way to scale documentation governance for larger software projects?

To scale documentation governance for larger software projects, enforce consistent style and standardized templates across all pages. Applying the Diátaxis framework ensures content types remain organized and maintainable as the project grows.

Can I use this approach for tutorials and reference material simultaneously?

Yes, this approach explicitly supports organizing both tutorials and reference material simultaneously. By separating these content types into distinct Diátaxis categories, users can navigate learning materials and technical specifications without confusion.