Agent Skills
› mastra-ai/mastra
› mastra-docs
mastra-docs
GitHubMastra文档编写规范,涵盖写作、架构、组件及图表标准,用于创建、编辑和审查文档内容。
Trigger Scenarios
创建或编辑Mastra文档
审查文档准确性与格式
更新侧边栏或重定向配置
Install
npx skills add mastra-ai/mastra --skill mastra-docs -g -y
SKILL.md
Frontmatter
{
"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:
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.
Version History
- fb538c4 Current 2026-08-20 17:26


