Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By balazsbartav0.2.0MIT
Expert Mastra framework assistant for designing architectures, analyzing projects, debugging, testing, and building AI agents and workflows
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
mastra, ai-agents, workflows, typescript, architecture, zod, prompt-engineering
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Expert Mastra framework assistant for designing architectures, analyzing projects, debugging issues, and building AI agents and workflows.
This plugin gives Claude deep expertise in the Mastra AI framework, enabling it to:
All commands verify APIs against the official Mastra skill and embedded docs in node_modules/@mastra/*/dist/docs/, ensuring generated code matches your installed version.
mastra (Official)The official Mastra framework skill (v2.0.0, Apache-2.0). Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies, core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Includes reference files:
embedded-docs.md — How to look up APIs from installed packages in node_modules/@mastra/*/dist/docs/remote-docs.md — How to fetch latest docs from https://mastra.ai/llms.txtcreate-mastra.md — Complete project creation guide (CLI + manual 9-step setup)common-errors.md — Comprehensive error and troubleshooting guidemigration-guide.md — Version upgrade workflows with pre/post checklistsai-agent-designDomain-agnostic expertise in designing effective AI agent systems. Covers writing agent instructions (prompt engineering), tool design principles, model selection and cost optimization, evaluation strategies, and guardrails. Includes reference files:
tool-design-patterns.md — Read-before-write, pagination, confirmation, composite results, error patternsinstruction-templates.md — Starter templates for support, research, analysis, code review, and orchestrator agentszod-schema-architectAdvanced Zod schema patterns specifically for Mastra development. Covers self-documenting schemas, constraint patterns, schema composition and reuse, discriminated unions for branching, transforms, refinements, and recursive schemas. Includes:
workflow-schema-patterns.md — Step chain alignment, branch schemas, parallel step schemas, state patternsmastra-testingTesting strategies at every level of the Mastra testing pyramid. Covers schema validation tests, tool unit tests, workflow tests (including suspend/resume and state), agent integration tests, eval suites with scorers, and Studio testing. Includes:
test-templates.md — Copy-paste templates for tool, agent, workflow, eval suite, and network tests| Command | Description |
|---|---|
/mastra-design | Design a complete Mastra architecture for a given problem, with full implementation code |
/mastra-analyze | Analyze a project for bugs and improvements; produces a detailed report with prioritized task breakdown |
/mastra-brainstorm | Interactive research session; produces a brainstorm report with recommended direction and next steps |
/mastra-scaffold | Generate boilerplate for a project, agent, workflow, tool, or agent network |
/mastra-migrate | Plan and execute migration to a newer Mastra version with breaking change analysis |
/mastra-debug | Diagnose and fix a specific Mastra error, with root cause analysis |
Automated checks that run before and after Claude's tool calls to catch common Mastra mistakes in real time. Configured in hooks/hooks.json.
Pre-tool checks (run before Bash commands):
| Hook | What it does |
|---|---|
migration-safety-gate | Blocks package upgrades when there are uncommitted changes, ensuring safe rollback |
check-env-vars | Verifies required environment variables (API keys, database URLs) are set before running Mastra commands |
check-db-connectivity | Tests PostgreSQL connectivity before dev/test commands if the project uses PostgresStore |
Post-tool checks (run after file writes and edits):
Generated from the plugin's indexed repository (balazsbarta/mastra-claude-plugin) — no native marketplace selected
npx claudepluginhub p/balazsbarta-mastra-expertBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground