mastra-docs
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mastra-docs" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9f141bdc482496f97bdd99868b846358b06bddf94ff7966b7ddab732d9558075. Verify the upstream source and version against https://skills.sh/mastra-ai/mastra/mastra-docs before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skills.sh
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Mastra documentation writing guide. Used to provide guidance and standards when writing or editing documentation related to Mastra. Triggers for tasks that involve creating or updating documents.
Introduction source: third_party · mastra-ai · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Documentation guidelines for Mastra. This skill should be used when writing or editing documentation for Mastra. Triggers on tasks involving documentation creation or updates.
- Testing
- Not tested
Browse files
Frontmatter
name: mastra-docs
description: Documentation guidelines for Mastra. This skill should be used when writing or editing documentation for Mastra. Triggers on tasks involving documentation creation or updates.Mastra Documentation Guidelines
Use this skill when you create or update Mastra docs. Keep the docs clear and consistent. Follow the most specific AGENTS.md for the area you change. After making your changes to the docs and sidebars, run the linters to check your work.
Styleguides
Start with references/STYLEGUIDE.md for all docs. Then use the guide that matches the content:
- references/DOC.md: General docs that do not fit the categories below
- Choose the right guide for the file's content:
- references/GUIDE_QUICKSTART.md: Quickstarts that help readers get working fast with a specific library or framework
- references/GUIDE_TUTORIAL.md: Tutorials that teach readers how to build something with Mastra
- references/GUIDE_INTEGRATION.md: Integration guides for using Mastra with an external library or ecosystem
- references/GUIDE_DEPLOYMENT.md: Deployment guides for shipping a Mastra app to a platform
- references/REFERENCE.md: Reference and API docs
Linting
Use these tools to keep docs consistent:
- oxfmt: Formats docs code, Markdown, config, and style files through the docs-local config.
- oxfmt-mdx: Formats MDX through the docs-local custom parser so admonitions, JSX expressions, and fenced code blocks remain supported.
- remark: Checks markdown issues like heading levels, list styles, and formatting consistency. This is the middle layer.
- vale: Checks grammar, style, and wording. This is the top layer.
- In order to use Vale, you must download the Vale binary and install
mdx2vastglobally.pnpm run vale:download,npm install -g mdx2vast.
- In order to use Vale, you must download the Vale binary and install
Run these commands in docs/:
- pnpm run format: Format docs files with oxfmt and docs-local oxfmt-mdx
- pnpm run format:check: Check docs formatting with oxfmt and docs-local oxfmt-mdx
- pnpm run lint:remark: Check MDX with Remark
- pnpm run lint:vale:ai: Check prose with Vale using the error alert level
- pnpm run validate: Check frontmatter values and if all sidebars are valid
- pnpm run generate-vercel-redirects: Generate vercel.json redirects after editing vercel.redirects.json
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 Mastra 框架提供专业的文档编写规范,解决开发者文档一致性问题
- 集成完整的 linting 工具链(oxfmt/remark/vale),具备实际可操作性
Highlights
- 触发条件明确限定于 Mastra 文档编写与更新场景,边界清晰无歧义
Highlights
- 结构清晰分 Styleguides 与 Linting 两大模块,步骤完整
- 提供具体文件路径引用与可执行命令示例,frontmatter 规范完整
Highlights
- 工具来源明确,命令参数具体,覆盖格式检查与语法校验全流程
- 提供检查类命令(format:check/lint)确保变更可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 30
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.