build-mastra
Comprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies (embedded docs, remote docs), core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Use this skill for all Mastra development to ensure you're using current APIs from the installed version or latest documentation.
npx skills add majiayu000/claude-skill-registry --skill build-mastra --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Mastra Framework Guide Build AI applications with Mastra. This skill teaches you how to find current documentation and build agents and workflows. ## ⚠️ Critical: Do not trust internal knowledge **Everything you know about Mastra is likely outdated or wrong. Never rely on memory. Always verify against current documentation.** Your training data contains obsolete APIs, deprecated patterns, and incorrect usage. Mastra evolves rapidly - APIs change between versions, constructor signatures shift, and patterns get refactored. ## Prerequisites **Before writing any Mastra code**, check if packages are installed: ```bash ls node_modules/@mastra/ ``` - **If packages exist:** Use embedded docs first (most reliable) - **If no packages:** Install first or use remote docs ## Documentation lookup guide ### Quick Reference | User Question | First Check | How To | | ----------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------- | | "Create/install Mastra project" | [`references/create-mastra.md`](references/create-mastra.md) | Setup guide with CLI and manual steps | | "How do I use Agent/Workflow/Tool?" | [`
- ⚠️ Critical: Do not trust internal knowledge
- Prerequisites
- Documentation lookup guide
- Quick Reference
- Priority order for writing code
- Core concepts
- Agents vs workflows
- Key components
- Critical requirements
- TypeScript config
- Model format
- When you see errors
- Development workflow
- Resources
ls node_modules/@mastra/ cat node_modules/@mastra/core/dist/docs/SOURCE_MAP.json | grep '"Agent"' cat node_modules/@mastra/core/dist/[path-from-source-map] npm run dev # http://localhost:4111
What does the build-mastra skill do?
Comprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies (embedded docs, remote docs), core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Use this skill for all Mastra development to ensure you're using current APIs from the installed version or latest documentation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill build-mastra --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
