MCPInstall

mastra-docs

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

Installs
158
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

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

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads mastra-docs automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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.

FAQ

What does the mastra-docs skill do?

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

How do I install mastra-docs?

Run npx skills add https://github.com/mastra-ai/mastra --skill mastra-docs in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/mastra-docs/ (personal) or .claude/skills/mastra-docs/ (project).

Which AI agents can use mastra-docs?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is mastra-docs safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains mastra-docs?

It is published by mastra-ai in mastra-ai/mastra, and it is an official skill from the maker of the technology it covers. It has 158 recorded installs.

More from mastra-ai/mastra

View all →

react-best-practices

mastra-ai/mastra

React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

OfficialCode Quality & Workflow2.8K installs

ralph-plan

mastra-ai/mastra

Interactive planning assistant that helps create focused, well-structured ralph-loop commands through collaborative conversation

OfficialCode Quality & Workflow2.6K installs

smoke-test

mastra-ai/mastra

Create a Mastra project using create-mastra and smoke test the studio in Chrome using Chrome MCP server

OfficialTesting & QA2.5K installs

e2e-tests-studio

mastra-ai/mastra

REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component creation/modification/refactoring, UI changes, new playground features, bug fixes affecting studio UI. Generates Playwright E2E tests that validate PRODUCT BEHAVIOR, not just UI states.

OfficialTesting & QA2.5K installs

tailwind-best-practices

mastra-ai/mastra

Tailwind CSS styling guidelines for Mastra Playground UI. This skill should be used when writing, reviewing, or refactoring styling code in packages/playground-ui and packages/playground to ensure design system consistency. Triggers on tasks involving Tailwind classes, component styling, or design tokens.

OfficialFrontend & Design2K installs

tailwind-v4

mastra-ai/mastra

Tailwind CSS v4 usage guide and v3-to-v4 differences. This skill should be used when writing, reviewing, or refactoring any Tailwind CSS code in this repo. Triggers on tasks involving Tailwind classes, @theme blocks, CSS-first configuration, or cleanup of v3-era syntax.

Frontend & Design105 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs