mcpField
M
mastra-docs

mastra-docs

github.com/mastra-aiDocuments29.2k158 installsUpdated today
Repository

About mastra-docs

A documentation-authoring skill for contributors working on Mastra docs. It directs writers to shared standards and page-specific guides for structure, components, diagrams, and editing workflows.

Key features

  1. 01References for style and information architecture
  2. 02Guides for docs, integrations, and reference pages
  3. 03Instructions for shared MDX components
  4. 04Mermaid diagram conventions
  5. 05Editing, redirects, and verification guidance

Use cases

  1. 01Drafting or revising Mastra documentation
  2. 02Choosing the canonical location and route for content
  3. 03Creating or updating documentation diagrams

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mastra-ai/mastra --skill mastra-docs

After installing, type/mastra-docsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
AUTHORING_WORKFLOW.md
COMPONENTS.md
DIAGRAM.md
DOC.md
GUIDE_INTEGRATION.md
INFORMATION_ARCHITECTURE.md
REFERENCE.md
STYLEGUIDE.md

Details

From the project README

Mastra documentation guidelines

Follow the most specific AGENTS.md and use these references:

  1. references/STYLEGUIDE.md: Global writing, accuracy, links, code, and accessibility rules.
  2. references/INFORMATION_ARCHITECTURE.md: Content families, canonical ownership, sidebars, and routes.
  3. Choose the page guide:
    • references/DOC.md: Pages under /docs.
    • references/GUIDE_INTEGRATION.md: Pages under /integrations.
    • references/REFERENCE.md: Pages under /reference.
  4. references/COMPONENTS.md: Shared MDX components and llms-txt markup.
  5. references/DIAGRAM.md: Mermaid diagram shapes, colors, layout, labels, and accessibility.
  6. references/AUTHORING_WORKFLOW.md: Editing, moves, deletions, redirects, and verification.

To replace an existing diagram image with Mermaid, use the docs-diagrams skill.

Treat page patterns as guidance rather than fixed templates. Match the reader's task and the conventions of the current section.

Comments

Markdown supported