mastra (Official Mastra Framework)

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.

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.mjs to verify the provider and model name; models must be written uniformly as provider/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 dev and then open Mastra Studio at localhost: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 api to check traces; requires a Node project
  • Factory-related operations require installing the mastra-factory skill from the same repository separately

Risks

  • Not audited in this period, fixed at C-level, install command not displayed; the bundled script provider-registry.mjs was not read and has not been scanned
  • SKILL.md requires 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

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates