# Documentation Structure

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-miroapp-miro-ai-documentation-structure`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [miroapp](https://agentstack.voostack.com/s/miroapp)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [miroapp](https://github.com/miroapp)
- **Source:** https://github.com/miroapp/miro-ai/tree/main/.agents/skills/documentation-structure

## Install

```sh
agentstack add skill-miroapp-miro-ai-documentation-structure
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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)
- 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

| 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

```markdown
## 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

- **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:

```markdown
## 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)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [miroapp](https://github.com/miroapp)
- **Source:** [miroapp/miro-ai](https://github.com/miroapp/miro-ai)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-miroapp-miro-ai-documentation-structure
- Seller: https://agentstack.voostack.com/s/miroapp
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
