Official framework skill for Mastra: When agents use Mastra (TypeScript) to write agents, workflows, tools, and memory, they first check the documentation bundled with the installed package, then look at the source code, and only lastly consult online documentation, rather than writing APIs based on training data; it also covers using the mastra api command to check traces, logs, and scores.
skills.sh install count 88250 (+1327 / 24h)
Security Audit: Not audited
- Not yet scanned
Rationale
- Verification order is hardcoded: Documentation in
node_modules/@mastra/*/dist/docs/that matches the installed version takes priority, followed by source code and type definitions; online documentation https://mastra.ai/llms.txt is read only if the package is not installed - Before using a model, run the skill's bundled
scripts/provider-registry.mjsto verify the provider and model name; models must be written uniformly asprovider/model-name; if type errors occur, suspect that your own knowledge is outdated first - Lists hard requirements: Must use ES2022 modules, CommonJS will fail; for visual debugging, run
npm run devand then open Mastra Studio atlocalhost:4111 - skills.sh installs 1327 in 24 hours, cumulative 88250 (represents attention only)
Usage
- Triggered when writing Mastra code, checking errors, performing v0 → v1 migrations, or using
mastra apito check traces; requires a Node project - Factory-related operations require installing the
mastra-factoryskill from the same repository separately
Risks
- Not audited in this period, fixed at C-level, install command not displayed; the bundled script
provider-registry.mjswas not read and has not been scanned SKILL.mdrequires agents to automatically submit verified bugs and documentation errors to the Mastra team when conditions are met, without asking for consent on a case-by-case basis (the author claims only anonymized facts are included); if you do not want data sent externally, prohibit this in the prompt