agentleFS
miroappmiroapp/miro-ai/.agents/skills/documentation-structure/SKILL.md

documentation-structure

Skill159 starsChanged 7 months agoMITView on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. canonical/workshop★ 114same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All manual setup workflows

    line 42
  2. Very specific:

    Within docs/: Use relative paths text

    line 131
  3. Very specific:

    From README to docs/: Use docs/ prefix text

    line 132
  4. Distinctive:

    Every doc file should end with a Related section:

    line 137
  5. Distinctive:

    If doc A links to doc B, doc B should link back to doc A in its Related section.

    line 148
  6. Distinctive:

    Before committing documentation changes:

    line 152

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Structure

This skill defines how documentation is organized and maintained in this repository.

Core Principles

PrincipleDescription
Separation of ConcernsREADME (landing), docs/ (reference), CONTRIBUTING (dev workflow)
Single Source of TruthDefine once, link everywhere. Never duplicate content.
Hub-and-Spokedocs/README.md is the central navigation hub
Vendor IsolationEach AI platform gets its own directory in docs/

Document Responsibilities

User vs Developer Content Separation

CRITICAL RULE: User documentation must ONLY contain fully automated installation methods. All manual setup belongs in developer documentation.

Content TypeUser DocsDeveloper Docs
Marketplace install✓✓
One-command GitHub install✓✓
git clone✗✓
--plugin-dir✗✓
extensions link✗✓
JSON config editing✗✓
Local path setup✗✓
mcp_settings.json✗✓

User Documentation (README.md, docs/*/overview.md)

  • Installation must be copy-paste simple
  • Single command or UI-only steps
  • Link to dev docs for manual alternatives

Developer Documentation (CONTRIBUTING.md, docs//-development.md)

  • All manual setup workflows
  • Local testing procedures
  • Configuration file editing
  • Environment setup

README.md (Landing Page)

Purpose: First impression. Get users started quickly.

Must include:

  • One-line description
  • Quick Start (4 steps: Choose → Install → Authenticate → Try)
  • Capability tables (what users can do)
  • Links to docs/ for details

Must NOT include:

  • Full API reference (→ docs/mcp/)
  • Development workflows (→ CONTRIBUTING.md)
  • Detailed architecture (→ docs/)

docs/ (Reference Documentation)

Purpose: Complete reference for users and developers.

Structure:

docs/
├── README.md              # Navigation hub
├── troubleshooting.md     # Cross-platform issues
├── getting-started/       # Entry points
│   ├── mcp-setup.md       # Generic MCP config
│   └── enterprise.md      # Admin requirements
├── claude-code/           # Vendor: Claude Code
├── kiro/                  # Vendor: Kiro
├── gemini-cli/            # Vendor: Gemini CLI
└── mcp/                   # Protocol reference
    ├── tools-reference.md
    └── tutorials.md

CONTRIBUTING.md (Development Workflow)

Purpose: How to modify THIS repository.

Must include:

  • Clone and local dev setup
  • How to test changes locally (--plugin-dir, etc.)
  • Validation checklists
  • PR process

Must NOT include:

  • Full plugin/power architecture (→ docs/)
  • User-facing tutorials (→ docs/)

Vendor Documentation Standards

Each vendor directory in docs/ follows this pattern:

Required Files

FilePurpose
overview.mdWhat is this integration, why use it, installation
*-development.mdHow to build new plugins/powers/extensions
Individual component docsOne file per plugin/power

Standard Sections in overview.md

## What are [Plugins/Powers/Extensions]?
## Why Use [Plugins/Powers] vs Direct MCP?
## Available [Plugins/Powers]
## Installation
## Authentication
## Related

Vendor-Specific Metadata

VendorConfig FormatLocation
Claude Codeplugin.json.claude-plugin/plugin.json
KiroPOWER.md frontmatterPOWER.md
Gemini CLIJSON extensiongemini-extension.json

Cross-Reference Patterns

Link Format

  • Within docs/: Use relative paths [text](../mcp/tools-reference.md)
  • From README to docs/: Use docs/ prefix [text](docs/claude-code/overview.md)
  • External links: Full URLs [text](https://developers.miro.com)

Required "Related" Section

Every doc file should end with a Related section:

## Related

- [Overview](overview.md) - Introduction to this integration
- [Tools Reference](../mcp/tools-reference.md) - MCP tool documentation

Reciprocal Links

If doc A links to doc B, doc B should link back to doc A in its Related section.

Validation Guidelines

Before committing documentation changes:

Content Checks

  • No duplicated content (link instead)
  • Correct document owns the content (README vs docs/ vs CONTRIBUTING)
  • All sections present per vendor standards

Link Checks

  • All internal links resolve
  • Related sections have reciprocal links
  • External links use HTTPS

Format Checks

  • Code blocks have language specified
  • Tables have consistent formatting
  • Collapsibles have matching tags

See Also

  • references/patterns.md - Formatting patterns (tables, collapsibles, code blocks)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.