mastra

Consult current Mastra documentation to verify API signatures and build agents or workflows.

1|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill mastra-rodrigobranas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mastra
Source: https://github.com/rodrigobranas/formacao_ia_arq_t1_4/tree/main/mastra-rag/.agents/skills/mastra
Command: npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill mastra-rodrigobranas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps developers stay up-to-date with Mastra by guiding them to current documentation, verifying API signatures, and building agents and workflows using the installed version or latest online docs.

Core Features & Use Cases

  • Embedded docs lookup: quickly access up-to-date API details from locally installed Mastra packages to ensure version-accurate implementations.
  • Remote docs guidance: when packages aren't available, consult the Mastra website for the latest concepts and guides.
  • Concepts and patterns: understand core ideas (agents vs workflows, tools, memory, RAG) and common development patterns, including TypeScript requirements.
  • Real-world usage: verify APIs before coding, then implement agents and workflows with confidence.

Quick Start

Check the installed Mastra version's embedded docs first, then verify current API signatures and start building an agent or workflow.

Frequently Asked Questions about mastra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify current Mastra API signatures before building agents?

Verify Mastra API signatures by first checking the installed package's embedded docs for version-accurate details, then consulting remote online docs to ensure up-to-date implementations for building agents.

When should I use embedded docs versus remote docs for Mastra development?

Use embedded Mastra docs when packages are locally installed to guarantee version-accurate implementations, and switch to remote online docs when packages are unavailable to fetch the latest concepts and guides.

What core Mastra concepts do I need to understand for agent and workflow development?

Core Mastra concepts include distinguishing between agents and workflows, utilizing tools, managing memory, implementing RAG, and meeting specific TypeScript requirements for reliable development.

How do I prevent outdated Mastra implementations in my TypeScript projects?

Prevent outdated Mastra implementations by identifying current documentation, verifying API signatures, and applying version checks across both embedded locally installed docs and remote online resources.