Skip to content
Development
Skill

/mastra-docs

Documentation guidelines for Mastra. Use this skill when creating, editing, moving, deleting, or reviewing Mastra documentation, sidebars, redirects, or docs components.

From plugin
mastra
28k32 skills14 commands
Install
$ npx -y skills add mastra-ai/mastra --skill mastra-docs --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mastra-docs

Context preview

The summary Claude sees to decide when to auto-load this skill.

Documentation guidelines for Mastra. Use this skill when creating, editing, moving, deleting, or reviewing Mastra documentation, sidebars, redirects, or docs components.

SKILL.md

mastra-docs.SKILL.md
name: mastra-docs
description: Documentation guidelines for Mastra. Use this skill when creating, editing, moving, deleting, or reviewing Mastra documentation, sidebars, redirects, or docs components.

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.

Ships withmastra

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications.

Get the whole plugin

Other skills on mastra.