Official agent skill

Documentation

by github in github/gh-aw

Write concise Diataxis docs for gh-aw with Starlight markdown conventions.

OfficialMITAuto-check passedDocuments & Office

Install Documentation

skills CLI
$ npx skills add github/gh-aw --skill documentation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install github/gh-aw documentation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/documentation .claude/skills/documentation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
documentation
GitHub stars
5.3k
Token cost
~1.9k tokens
SKILL.md length
772 words
Files
1
Skills in repo
52
Repo updated
First seen
Licence
MIT

At a glance

Write concise Diataxis docs for gh-aw with Starlight markdown conventions.

  • Works in 4 steps: Tutorials (Learning-Oriented) → How-to Guides (Goal-Oriented) → Reference (Information-Oriented) → …
  • Tasks that involve Markdown
  • SKILL.md covers Diátaxis Framework, General Style Guidelines, GitHub-Flavored Markdown Syntax and Content to Avoid, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Documentation is an agent skill from github/gh-aw, published by the product's own GitHub organization. Write concise Diataxis docs for gh-aw with Starlight markdown conventions.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Markdown. It works with GitHub. The repository describes itself as: GitHub Agentic Workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Markdown

Example prompts

  • “/documentation”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Tutorials (Learning-Oriented)
  2. How-to Guides (Goal-Oriented)
  3. Reference (Information-Oriented)
  4. Explanation (Understanding-Oriented)

What it can do on your machine

Read from SKILL.md and the folder at commit eb63040. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and aw).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Documentation loads about 1.9k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 772 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from github/gh-aw at commit eb63040, republished under its MIT licence (© github). 772 words, ~1,938 tokens.

Download SKILL.mdSave it as .claude/skills/documentation/SKILL.md (or your agent's skills folder).
name
documentation
description
Write concise Diataxis docs for gh-aw with Starlight markdown conventions.
Documentation

Documentation lives in docs/, uses GitHub-flavored Markdown, renders with Astro Starlight, and follows Diátaxis.

Diátaxis Framework

Organize documentation into four Diátaxis types:

1. Tutorials (Learning-Oriented)

Purpose: Guide beginners through achieving a specific outcome to build confidence.

  • Start with what the user will build or achieve
  • Provide a clear, step-by-step path from start to finish
  • Include concrete examples and working code
  • Assume minimal prior knowledge
  • Focus on the happy path (avoid edge cases and alternatives)
  • End with a working result the user can see and use
  • Use imperative mood: "Create a file", "Run the command"

Avoid: Explaining concepts in depth, multiple options, troubleshooting

2. How-to Guides (Goal-Oriented)

Purpose: Show how to solve a specific real-world problem or accomplish a particular task.

  • Title format: "How to [accomplish specific goal]"
  • Assume the user knows the basics
  • Focus on practical steps to solve one problem
  • Include necessary context but stay focused
  • Show multiple approaches only when genuinely useful
  • End when the goal is achieved
  • Use imperative mood: "Configure the setting", "Add the following"

Avoid: Teaching fundamentals, explaining every detail, being exhaustive

3. Reference (Information-Oriented)

Purpose: Provide accurate, complete technical descriptions of the system.

  • Organized by structure (CLI commands, configuration options, API endpoints)
  • Comprehensive and authoritative
  • Consistent format across all entries
  • Technical accuracy is paramount
  • Include all parameters, options, and return values
  • Use descriptive mood: "The command accepts", "Returns a string"
  • Minimal narrative or explanation

Avoid: Instructions, tutorials, opinions on usage

4. Explanation (Understanding-Oriented)

Purpose: Clarify and illuminate topics to deepen understanding.

  • Discuss why things are the way they are
  • Explain design decisions and tradeoffs
  • Provide context and background
  • Connect concepts to help form mental models
  • Discuss alternatives and their implications
  • Use indicative mood: "This approach provides", "The engine uses"

Avoid: Step-by-step instructions, exhaustive reference material

General Style Guidelines

  • Tone: Neutral, technical, not promotional
  • Voice: Avoid "we", "our", "us" (use "the tool", "this command")
  • Headings: Use markdown heading syntax, not bold text as headings
  • Lists: Avoid long bullet point lists; prefer prose with structure
  • Code samples: Minimal and focused; exclude optional fields unless relevant
  • Language tag: Use aw for agentic workflow snippets with YAML frontmatter

Example workflow code block:

aw
on: push
# Your workflow steps here

GitHub-Flavored Markdown Syntax

Documentation files use GitHub-flavored markdown with Astro Starlight for rendering. Key syntax elements:

Frontmatter

Every documentation page must have frontmatter:

markdown
title: Page Title
description: Brief description for SEO and navigation
GitHub Alerts

Use GitHub's alert syntax for notes, tips, warnings, and cautions:

markdown
> [!NOTE]
> Important information the reader should notice.

> [!TIP]
> Helpful advice for the reader.

> [!WARNING]
> Warning about potential issues or pitfalls.

> [!CAUTION]
> Critical warning about dangerous operations.

> [!IMPORTANT]
> Key information users need to know.
Code Blocks
  • Use syntax highlighting with language tags
  • Add title attribute for file names: ```yaml title=".github/workflows/example.yml"
  • Use aw language for agentic workflow files with YAML frontmatter
  • Add wrap for line wrapping: ```aw wrap
  • Internal links: Use relative paths between documentation pages
  • External links: Open in new tab automatically
  • Link text: Use descriptive text, avoid "click here"
Tabs

Use tabs for showing alternatives (e.g., different languages, platforms):

markdown
import { Tabs, TabItem } from '@astrojs/starlight/components';

<Tabs>
  <TabItem label="npm">
    ```bash
    npm install package
    ```
  </TabItem>
  <TabItem label="yarn">
    ```bash
    yarn add package
    ```
  </TabItem>
</Tabs>
Show full SKILL.md (315 more words)Show less
Cards

Use cards for navigation or highlighting multiple options:

markdown
import { Card, CardGrid } from '@astrojs/starlight/components';

<CardGrid>
  <Card title="Getting Started" icon="rocket">
    Quick introduction to the basics.
  </Card>
  <Card title="Advanced Usage" icon="setting">
    Deep dive into advanced features.
  </Card>
</CardGrid>

Remember: Keep components minimal. Prefer standard markdown when possible.

Content to Avoid

  • "Key Features" sections
  • Marketing language or selling points
  • Excessive bullet points (prefer structured prose)
  • Overly verbose examples with all optional parameters
  • Mixing documentation types (e.g., tutorials that become reference)

Avoiding Documentation Bloat

Documentation bloat reduces clarity and makes content harder to navigate. Common types of bloat include:

Types of Documentation Bloat
  1. Duplicate content: Same information repeated in different sections
  2. Excessive bullet points: Long lists that could be condensed into prose or tables
  3. Redundant examples: Multiple examples showing the same concept
  4. Verbose descriptions: Overly wordy explanations that could be more concise
  5. Repetitive structure: The same "What it does" / "Why it's valuable" pattern overused
Writing Concise Documentation

When editing documentation, focus on:

Consolidate bullet points:

  • Convert long bullet lists into concise prose or tables
  • Remove redundant points that say the same thing differently

Eliminate duplicates:

  • Remove repeated information
  • Consolidate similar sections

Condense verbose text:

  • Make descriptions more direct and concise
  • Remove filler words and phrases
  • Keep technical accuracy while reducing word count

Standardize structure:

  • Reduce repetitive "What it does" / "Why it's valuable" patterns
  • Use varied, natural language

Simplify code samples:

  • Remove unnecessary complexity from code examples
  • Focus on demonstrating the core concept clearly
  • Eliminate boilerplate or setup code unless essential for understanding
  • Keep examples minimal yet complete
  • Use realistic but simple scenarios
Example: Before and After

Before (Bloated):

markdown
### Tool Name
Description of the tool.

- **What it does**: This tool does X, Y, and Z
- **Why it's valuable**: It's valuable because A, B, and C
- **How to use**: You use it by doing steps 1, 2, 3, 4, 5
- **When to use**: Use it when you need X
- **Benefits**: Gets you benefit A, benefit B, benefit C
- **Learn more**: [Link](url)

After (Concise):

markdown
### Tool Name
Description of the tool that does X, Y, and Z to achieve A, B, and C.

Use it when you need X by following steps 1-5. [Learn more](url)
Documentation Quality Guidelines
  1. Preserve meaning: Never lose important information
  2. Be surgical: Make precise edits, don't rewrite everything
  3. Maintain tone: Keep the neutral, technical tone
  4. Test locally: Verify links and formatting are still correct

Structure by File Type

  • Getting Started: Tutorial format
  • How-to Guides: Goal-oriented, one task per guide
  • CLI Reference: Reference format, complete command documentation
  • Concepts: Explanation format, building understanding
  • API Reference: Reference format, complete API documentation

© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/documentation of github/gh-aw.

Open the folder on GitHubat commit eb63040

Compare with similar skills

Documentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Documentation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Documentation this skillgithub/gh-aw5.3k—~1.9kAutomated safety check: PassMIT
Markitshift-labs-ai/markit1.3k—~299Automated safety check: PassMIT
Deepxiv Baseline TableDeepXiv/deepxiv_sdk802—~1.6kAutomated safety check: PassMIT
Openclaw Ghsa MaintainerSafeAI-Lab-X/ClawKeeper1k—~728Automated safety check: PassNone
Juejin Publishereunomia-bpf/eunomia.dev236—~4.8kAutomated safety check: PassMIT
Fetch Markdown Specstats-u/markdown-cjk-friendly167—~179Automated safety check: PassMIT

Similar skills

  • Markit

    shift-labs-ai/markit

    Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.

    1.3k GitHub stars~299 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Deepxiv Baseline Table

    DeepXiv/deepxiv_sdk

    Build a markdown baseline table for a research topic using deepxiv search, brief, head, and experiment-section reads, extracting paper title, URL, open-source status, datasets, benchmark scores, and…

    802 GitHub stars~1.6k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Openclaw Ghsa Maintainer

    SafeAI-Lab-X/ClawKeeper

    Maintainer workflow for OpenClaw GitHub Security Advisories (GHSA).

    1k GitHub stars~728 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Juejin Publisher

    eunomia-bpf/eunomia.dev

    Prepare or publish eunomia.dev Markdown articles on Juejin. An agent skill from eunomia-bpf/eunomia.dev.

    236 GitHub stars~4.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Fetch Markdown Specs

    tats-u/markdown-cjk-friendly

    Read if you want to refer to the CommonMark/GFM specifications

    167 GitHub stars~179 tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Learn

    iurykrieger/claude-bedrock

    Ingests an external data source into the Second Brain. An agent skill from iurykrieger/claude-bedrock.

    105 GitHub stars~6.5k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check: notes

More from github/gh-aw

All 52 skills in this repo
  • Official

    Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.

    5.3k GitHub starsUsed in 23 repos~2.8k tokens
    Auto-check passed
  • Official

    Designs and verifies a deterministic grader that measures whether a GitHub Agentic Workflow run reached its real-world or repository outcome.

    5.3k GitHub stars~6.8k tokensUpdated today
    Auto-check passed
  • Official

    Scaffolds, edits, reloads and debugs a canvas extension that the GitHub Copilot CLI can open in its side panel.

    5.3k GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Official

    Drives an open pull request to merge-ready from inside a GitHub Copilot cloud agent, resolving review threads and local checks concurrently, without merging or retriggering CI.

    5.3k GitHub stars~3.8k tokensUpdated today
    Auto-check: warnings
  • Official

    Bumps gh-aw's pinned gh-aw-firewall version, rebuilds generated artifacts, and flags upstream spec or schema changes that need follow-up work.

    5.3k GitHub stars~899 tokensUpdated today
    Auto-check passed
  • Official

    Guide to the console struct tag system in gh-aw: headers, titles, number and cost formats, omitempty, and how structs, slices and maps render in the terminal.

    5.3k GitHub stars~736 tokensUpdated today
    Auto-check passed

Works with

Questions about Documentation

What does Documentation do?

Write concise Diataxis docs for gh-aw with Starlight markdown conventions. Documentation is an agent skill from github/gh-aw, published by the product's own GitHub organization. Write concise Diataxis docs for gh-aw with Starlight markdown conventions.

When should I use Documentation?

Documentation fits situations like: tasks that involve Markdown.

How do I install Documentation in Claude Code?

Run `npx skills add github/gh-aw --skill documentation -a claude-code`. Or copy the skill folder (.github/skills/documentation in github/gh-aw) into .claude/skills/documentation in your project. Claude Code loads it when a task matches its description.

How do I install Documentation in Codex?

Run `npx skills add github/gh-aw --skill documentation -a codex`. Or copy the skill folder (.github/skills/documentation in github/gh-aw) into .agents/skills/documentation in your project. Codex loads it when a task matches its description.

Can I use Documentation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/gh-aw --skill documentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/documentation, .gemini/skills/documentation, .github/skills/documentation and .opencode/skills/documentation in your project.

What does Documentation need to run?

SKILL.md names no scripts, command-line tools or credentials: Documentation is instructions for the agent only. Our summary lists: Node.js.

Does Documentation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Documentation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Documentation use?

Documentation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Documentation use?

About 1.9k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Documentation?

Skills that share tags, products or a category with Documentation: Markit (shift-labs-ai/markit, 1.3k stars), Deepxiv Baseline Table (DeepXiv/deepxiv_sdk, 802 stars), Openclaw Ghsa Maintainer (SafeAI-Lab-X/ClawKeeper, 1k stars) and Juejin Publisher (eunomia-bpf/eunomia.dev, 236 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Documentation?

github (a GitHub organization, an official publisher) maintains it in github/gh-aw, which has 5,350 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 7, 2026.

Source: github/gh-aw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.