Documentation structure

From miroapp/miro-ai · View interactive version

Documentation structure is an AI agent skill from the GitHub repository miroapp/miro-ai. 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.

How to use this skill

Skill file

Documentation Structure

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

Core Principles

| Principle | Description |

|-----------|-------------|

| Separation of Concerns | README (landing), docs/ (reference), CONTRIBUTING (dev workflow) |

| Single Source of Truth | Define once, link everywhere. Never duplicate content. |

| Hub-and-Spoke | docs/README.md is the central navigation hub |

| Vendor Isolation | Each 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 Type | User Docs | Developer 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)

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

README.md (Landing Page)

Purpose: First impression. Get users started quickly.

Must include:

Must NOT include:

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:

Must NOT include:

Vendor Documentation Standards

Each vendor directory in docs/ follows this pattern:

Required Files

| File | Purpose |

|------|---------|

| overview.md | What is this integration, why use it, installation |

| *-development.md | How to build new plugins/powers/extensions |

| Individual component docs | One 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

| Vendor | Config Format | Location |

|--------|--------------|----------|

| Claude Code | plugin.json | .claude-plugin/plugin.json |

| Kiro | POWER.md frontmatter | POWER.md |

| Gemini CLI | JSON extension | gemini-extension.json |

Cross-Reference Patterns

Link Format

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

Link Checks

Format Checks

See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.