
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- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads mastra-docs automatically when relevant.
- 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:
references/STYLEGUIDE.md: Global writing, accuracy, links, code, and accessibility rules.references/INFORMATION_ARCHITECTURE.md: Content families, canonical ownership, sidebars, and routes.- Choose the page guide:
references/DOC.md: Pages under/docs.references/GUIDE_INTEGRATION.md: Pages under/integrations.references/REFERENCE.md: Pages under/reference.
references/COMPONENTS.md: Shared MDX components and llms-txt markup.references/DIAGRAM.md: Mermaid diagram shapes, colors, layout, labels, and accessibility.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
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.
ralph-plan
mastra-ai/mastra
Interactive planning assistant that helps create focused, well-structured ralph-loop commands through collaborative conversation
smoke-test
mastra-ai/mastra
Create a Mastra project using create-mastra and smoke test the studio in Chrome using Chrome MCP server
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.
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.
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.
Popular docs & writing skills
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.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.