Debug Mastra Framework

Debug bugs inside the @mastra/* packages from the smoke suite. Use when a smoke test fails with a stack trace pointing at node_modules/@mastra/* or .mastra/output/*, when you see framework-specific error strings (keyValidator._parse, SQLITE_ERROR mastra_*, "Background task started" instead of a tool result, "Tool not found" 500s, ZodObject._parse crashes), or when the user asks to investigate a regression in the published alpha. This skill teaches you how to map a published version back to upstream source, fetch and grep the original TypeScript, instrument the compiled dist for diagnostic logging, and (only when needed) clone the upstream repo locally to build a patched core.

mastra-ai 3ce872c 3 files · 14.6 KB Updated

File contents

mastra-ai/mastra-smoke/tree/main/.agents/skills/debug-mastra-framework commit 3ce872c15c

Frequently asked questions

npx skillmds@latest add mastra-ai/debug-mastra-framework