Mastra Skills
Official agent skills for building with the Mastra TypeScript AI framework.
About
Mastra Skills is the official skill repository for coding agents working with Mastra, the TypeScript framework for building AI-powered applications and agents. It ships a single comprehensive skill using progressive disclosure, with reference files covering project setup (create-mastra CLI), embedded and remote docs lookup, common errors, and migration guides — patterns validated against the current Mastra codebase.
Install with npx skills add mastra-ai/skills, or clone the repo directly; Mastra also supports the .well-known skills discovery standard at mastra.ai/.well-known/skills/ for automatic agent discovery. The repo is Apache-2.0 licensed and maintained by the Mastra team, so it tracks the framework's rapid API evolution better than training-data knowledge — the skill itself warns agents to verify against installed docs before writing code.
What it can do
- Mastra project scaffolding guidance
- Agent, workflow, tool and memory patterns
- Embedded and remote docs lookup
- Common-error troubleshooting
- Version migration guides
- .well-known automatic skill discovery
Setup
Run npx skills add mastra-ai/skills or npx skills add https://mastra.ai/; or git clone https://github.com/mastra-ai/skills.git.
Prerequisites
A skills-compatible coding agent (Claude Code, Cursor, Codex, etc.); a Mastra project or API key from a model provider.
Use cases
Works with
Trust score — 7/10
Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 64; Trending score 74/100 from researcher assessment.
Sources
Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.