
Description
Mastra is an agent skill that serves as a reference guide for building AI agents and workflows with the Mastra framework. Its most important instruction is to distrust what the model already knows about Mastra. The skill says that APIs, constructor signatures and patterns change quickly between versions, so before writing code the agent must verify against the documentation that ships with the installed package, found in node_modules under the @mastra packages' dist docs folder, or against the remote documentation index on mastra.ai. The skill begins with a prerequisites check that lists the installed Mastra packages in node_modules. Once it has the current docs, it covers the framework's building blocks: agents, workflows, tools, memory, workspaces and storage. It is intended for developers building AI applications in TypeScript with Mastra, who want generated code that matches the version they have installed instead of older examples. The skill is listed on skills.sh under the mastra-ai skills repository, which has about 96 stars, with about 74.0K installs. The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.…
Highlights
- Checks the installed Mastra version before coding
- Uses the docs shipped in node_modules
- Covers agents, workflows, tools, memory and storage
- Falls back to the remote docs index
- Built to avoid outdated API patterns
Ratings & Reviews
No ratings yet
Be the first to rate mastra.
People also visit

migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn
mastra FAQ
What does the skill do?
It guides building agents and workflows with Mastra, using the current documentation for the installed version.
Why does it tell the agent not to trust its memory?
The skill says Mastra's APIs change quickly, so training data can contain outdated or deprecated patterns.
Where are the docs checked?
In the dist docs folders of the installed @mastra packages, or the remote docs index at mastra.ai.
How do I install it?
Run npx skills add https://github.com/mastra-ai/skills --skill mastra.
What are the best mastra alternatives?
Popular alternatives to mastra include loop-me, migrate-to-shoehorn and setup-ts-deep-modules. See all mastra alternatives






