Skip to content
Skill

Documentation structure

Guides agents in organizing and reviewing this repo's README, CONTRIBUTING and docs files

Documentation structure is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
175
Last commit
License
MIT
Listing updated

Similar skills

About Documentation structure

This skill sets out how documentation is split across the repository: the README acts as a landing page, the docs folder holds reference material per AI platform, and CONTRIBUTING covers the development workflow. It draws a firm line between user-facing installation steps, which must be fully automated, and developer-only manual setup such as cloning, local plugin directories and config file editing.

When the agent edits these files, it gets a standard layout for vendor directories, including required files like overview and development guides, expected sections in overview pages, and metadata formats for each platform. It also covers link conventions, reciprocal Related sections and a pre-commit checklist for content placement, internal and external links, and code block and table formatting. A separate formatting reference is pointed to for patterns such as tables and collapsibles.

The skill is written for this specific repository and works on Markdown files only. It runs no scripts and needs no particular tools beyond what the agent already uses to read and edit files.

When your agent uses it

Documentation architecture for this repository. Use when creating, updating, or reviewing README.md, CONTRIBUTING.md, or docs/ files. Covers separation of concerns, vendor documentation standards, cross-references, and validation.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/documentation-structure to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/miroapp/miro-ai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/documentation-structure &&
cp -R "$tmp/.agents/skills/documentation-structure" ~/.claude/skills/documentation-structure &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/documentation-structure inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/documentation-structure to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/miroapp/miro-ai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/documentation-structure &&
cp -R "$tmp/.agents/skills/documentation-structure" ~/.agents/skills/documentation-structure &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/documentation-structure inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/documentation-structure to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/miroapp/miro-ai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/documentation-structure &&
cp -R "$tmp/.agents/skills/documentation-structure" ~/.cursor/skills/documentation-structure &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/documentation-structure inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/miroapp/miro-ai.git --path .agents/skills/documentation-structure

Or copy the folder to ~/.gemini/skills/documentation-structure yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/documentation-structure:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/miroapp/miro-ai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/documentation-structure &&
cp -R "$tmp/.agents/skills/documentation-structure" ~/.copilot/skills/documentation-structure &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/documentation-structure inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/miroapp/miro-ai.git

Then copy miro-ai/.agents/skills/documentation-structure into your agent's skills folder as documentation-structure. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Content ownership rules
Defines which document owns each kind of content across README, docs and CONTRIBUTING.
User versus developer split
Separates copy-paste user installation from manual developer setup and configuration.
Vendor directory standard
Lists required files, overview sections and config formats for each AI platform folder.
Cross-reference conventions
Sets relative link formats, required Related sections and reciprocal linking.
Pre-commit validation checklist
Checks content duplication, link resolution, HTTPS external links and code block languages.

Good for

  • Add documentation for a new AI platform integration in the docs folder
  • Review a README change to confirm manual setup steps belong in developer docs
  • Check that internal links and Related sections resolve before committing docs
  • Restructure CONTRIBUTING.md so it covers only the development workflow

Documentation structure FAQ

What does Documentation structure cover?

It defines how documentation is organized in the repository, including the roles of README, docs/ and CONTRIBUTING.md, vendor directory standards, link conventions and a validation checklist.

Does Documentation structure run any scripts?

No. The skill contains instructions only and does not include scripts.

When does the skill trigger?

It applies when creating, updating or reviewing README.md, CONTRIBUTING.md or files in docs/.

How do I install Documentation structure in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/documentation-structure to use it in all your projects, or to .claude/skills/documentation-structure in one project.

Does Documentation structure run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Documentation structure?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Documentation structure?

The closest alternatives to Documentation structure are Agents md, Create readme, Agent skills, Managing readme docs and Technical writing.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from miroapp/miro-ai

  1. Guides authors writing SKILL.md files as compact shortcuts to MCP tool groups

    • Open source
    • 175 GitHub stars
    • Developer tools
  2. Turns a codebase into architecture, structure and behavior diagrams on a Miro board

    • Open source
    • 175 GitHub stars
    • Developer tools
  3. Builds a visual code review on a Miro board from a PR, MR, branch or local changes

    • Open source
    • 175 GitHub stars
    • Developer tools
  4. Extracts Miro board specs into local files for AI-assisted planning and coding

    • Open source
    • 175 GitHub stars
    • Productivity