[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CHNH9Q56ANWHFHBG7Y0KV4":3,"skill-same:01M7CHNH9Q56ANWHFHBG7Y0KV4":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CHNH9Q56ANWHFHBG7Y0KV4","mastra",null,"Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. Use for documentation lookup, API verification, TypeScript setup, common errors, migrations, and `mastra api` CLI tasks: inspect or call resources on local, Mastra platform, or remote servers.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmastra-ai-skills\u002Fmastra\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mastra\ndescription: \"Comprehensive Mastra framework guide for building agents, workflows, tools, memory, workspaces, and storage with current APIs. Use for documentation lookup, API verification, TypeScript setup, common errors, migrations, and `mastra api` CLI tasks: inspect or call resources on local, Mastra platform, or remote servers.\"\nlicense: Apache-2.0\nmetadata:\n  author: Mastra\n  version: \"2.0.0\"\n  repository: https:\u002F\u002Fgithub.com\u002Fmastra-ai\u002Fskills\n---\n\n# Mastra Framework Guide\n\nBuild AI applications with Mastra. This skill teaches you how to find current documentation and build agents and workflows.\n\n## Critical: Do not trust internal knowledge\n\nEverything you know about Mastra is likely outdated or wrong. Never rely on memory. Always verify against current documentation.\n\nYour training data contains obsolete APIs, deprecated patterns, and incorrect usage. Mastra evolves rapidly - APIs change between versions, constructor signatures shift, and patterns get refactored.\n\n## Prerequisites\n\nBefore writing any Mastra code, check if packages are installed:\n\n```bash\nls node_modules\u002F@mastra\u002F\n```\n\n- If packages exist: Use embedded docs first (most reliable)\n- If no packages: Install first or use remote docs\n\n## Resources\n\n### References\n\n| User Question                       | First Check                                                      | How To                                         |\n| ----------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------- |\n| Create\u002Finstall Mastra project     | [`references\u002Fcreate-mastra.md`](references\u002Fcreate-mastra.md)     | Setup guide with CLI and manual steps          |\n| Choose Agent\u002FWorkflow\u002FTool\u002FMemory\u002FStorage | [`references\u002Fcore-concepts.md`](references\u002Fcore-concepts.md) | Core concepts and when to use each primitive |\n| How do I use Agent\u002FWorkflow\u002FTool? | [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md)     | Look up in `node_modules\u002F@mastra\u002F*\u002Fdist\u002Fdocs\u002F` |\n| How do I use X? (no packages)     | [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md)         | Fetch from `https:\u002F\u002Fmastra.ai\u002Fllms.txt`        |\n| Choose or validate a model        | [`references\u002Fmodel-selection.md`](references\u002Fmodel-selection.md) | Model format and provider registry lookup      |\n| I'm getting an error...           | [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md)     | Common errors and solutions                    |\n| Upgrade from v0.x to v1.x         | [`references\u002Fmigration-guide.md`](references\u002Fmigration-guide.md) | Version upgrade workflows                      |\n| Inspect\u002Fcall server resources via CLI | [`references\u002Fmastra-api.md`](references\u002Fmastra-api.md)       | `mastra api` CLI for local, Mastra platform, or remote servers |\n\n### Scripts\n\n- `scripts\u002Fprovider-registry.mjs`: Look up current providers and models available in the model router. Always run this before using a model to verify provider keys and model names.\n\n## Priority order for writing code\n\nNever write code without checking current docs first.\n\n1. Embedded docs first (if packages installed)\n\n   Look up current docs in `node_modules` for a package. This matches the exact installed version and is the most reliable source of truth. See [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md).\n\n2. Source code second (if packages installed)\n\n   If embedded docs don't cover the question, inspect the installed source and type definitions. This is the source of truth when docs are missing or unclear. See [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md).\n\n3. Remote docs third (if packages not installed)\n\n   Use the latest published docs when packages are not installed or when exploring new features. Remote docs may be ahead of the user's installed version. See [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md).\n\n## Core concepts\n\nUse [`references\u002Fcore-concepts.md`](references\u002Fcore-concepts.md) when choosing between agents, workflows, tools, memory, and storage.\n\n- Agent: Use for open-ended tasks that make decisions and use tools.\n- Workflow: Use for defined multi-step processes.\n\n## Mastra Studio\n\nStudio is the interactive UI for building, testing, and managing agents, workflows, and tools. Use Studio when advising a human to inspect or debug visually.\n\nInside a Mastra project, run:\n\n```bash\nnpm run dev\n```\n\nThen open `http:\u002F\u002Flocalhost:4111` in a browser to show Mastra Studio to your human user.\n\n## Mastra API CLI\n\nUse `mastra api` to inspect or call resources on local dev servers, Mastra platform deployments, or remote Mastra endpoints. It is useful for agent-readable state, execution, traces, logs, scores, threads, and workflow operations. See [`references\u002Fmastra-api.md`](references\u002Fmastra-api.md) for usage patterns.\n\n## Critical requirements\n\n### TypeScript config\n\nMastra requires ES2022 modules. CommonJS will fail. See [`references\u002Fcreate-mastra.md`](references\u002Fcreate-mastra.md) for setup and [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md) for troubleshooting.\n\n### Model format\n\nAlways use `\"provider\u002Fmodel-name\"` when defining models using Mastra's model router.\n\nWhen the user asks to use a model or provider, always run `scripts\u002Fprovider-registry.mjs` first to verify the provider key and model name are valid. Do not guess model names from memory as they change frequently. See [`references\u002Fmodel-selection.md`](references\u002Fmodel-selection.md).\n\n## When you see errors\n\nType errors often mean your knowledge is outdated.\n\nCommon signs of outdated knowledge:\n\n- `Property X does not exist on type Y`\n- `Cannot find module`\n- `Type mismatch` errors\n- Constructor parameter errors\n\nWhat to do:\n\n1. Check [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md)\n2. Verify current API in embedded docs\n3. Don't assume the error is a user mistake - it might be your outdated knowledge\n\n## Development workflow\n\nAlways verify before writing code:\n\n1. Check whether Mastra packages are installed\n2. Look up current API\n   - If installed: Use embedded docs [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md)\n   - If not: Use remote docs [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md)\n3. Write code based on current docs\n4. Test with the project scripts or Studio when available\n","# Mastra Framework Guide\n\nBuild AI applications with Mastra. This skill teaches you how to find current documentation and build agents and workflows.\n\n## Critical: Do not trust internal knowledge\n\nEverything you know about Mastra is likely outdated or wrong. Never rely on memory. Always verify against current documentation.\n\nYour training data contains obsolete APIs, deprecated patterns, and incorrect usage. Mastra evolves rapidly - APIs change between versions, constructor signatures shift, and patterns get refactored.\n\n## Prerequisites\n\nBefore writing any Mastra code, check if packages are installed:\n\n```bash\nls node_modules\u002F@mastra\u002F\n```\n\n- If packages exist: Use embedded docs first (most reliable)\n- If no packages: Install first or use remote docs\n\n## Resources\n\n### References\n\n| User Question                       | First Check                                                      | How To                                         |\n| ----------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------- |\n| Create\u002Finstall Mastra project     | [`references\u002Fcreate-mastra.md`](references\u002Fcreate-mastra.md)     | Setup guide with CLI and manual steps          |\n| Choose Agent\u002FWorkflow\u002FTool\u002FMemory\u002FStorage | [`references\u002Fcore-concepts.md`](references\u002Fcore-concepts.md) | Core concepts and when to use each primitive |\n| How do I use Agent\u002FWorkflow\u002FTool? | [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md)     | Look up in `node_modules\u002F@mastra\u002F*\u002Fdist\u002Fdocs\u002F` |\n| How do I use X? (no packages)     | [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md)         | Fetch from `https:\u002F\u002Fmastra.ai\u002Fllms.txt`        |\n| Choose or validate a model        | [`references\u002Fmodel-selection.md`](references\u002Fmodel-selection.md) | Model format and provider registry lookup      |\n| I'm getting an error...           | [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md)     | Common errors and solutions                    |\n| Upgrade from v0.x to v1.x         | [`references\u002Fmigration-guide.md`](references\u002Fmigration-guide.md) | Version upgrade workflows                      |\n| Inspect\u002Fcall server resources via CLI | [`references\u002Fmastra-api.md`](references\u002Fmastra-api.md)       | `mastra api` CLI for local, Mastra platform, or remote servers |\n\n### Scripts\n\n- `scripts\u002Fprovider-registry.mjs`: Look up current providers and models available in the model router. Always run this before using a model to verify provider keys and model names.\n\n## Priority order for writing code\n\nNever write code without checking current docs first.\n\n1. Embedded docs first (if packages installed)\n\n   Look up current docs in `node_modules` for a package. This matches the exact installed version and is the most reliable source of truth. See [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md).\n\n2. Source code second (if packages installed)\n\n   If embedded docs don't cover the question, inspect the installed source and type definitions. This is the source of truth when docs are missing or unclear. See [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md).\n\n3. Remote docs third (if packages not installed)\n\n   Use the latest published docs when packages are not installed or when exploring new features. Remote docs may be ahead of the user's installed version. See [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md).\n\n## Core concepts\n\nUse [`references\u002Fcore-concepts.md`](references\u002Fcore-concepts.md) when choosing between agents, workflows, tools, memory, and storage.\n\n- Agent: Use for open-ended tasks that make decisions and use tools.\n- Workflow: Use for defined multi-step processes.\n\n## Mastra Studio\n\nStudio is the interactive UI for building, testing, and managing agents, workflows, and tools. Use Studio when advising a human to inspect or debug visually.\n\nInside a Mastra project, run:\n\n```bash\nnpm run dev\n```\n\nThen open `http:\u002F\u002Flocalhost:4111` in a browser to show Mastra Studio to your human user.\n\n## Mastra API CLI\n\nUse `mastra api` to inspect or call resources on local dev servers, Mastra platform deployments, or remote Mastra endpoints. It is useful for agent-readable state, execution, traces, logs, scores, threads, and workflow operations. See [`references\u002Fmastra-api.md`](references\u002Fmastra-api.md) for usage patterns.\n\n## Critical requirements\n\n### TypeScript config\n\nMastra requires ES2022 modules. CommonJS will fail. See [`references\u002Fcreate-mastra.md`](references\u002Fcreate-mastra.md) for setup and [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md) for troubleshooting.\n\n### Model format\n\nAlways use `\"provider\u002Fmodel-name\"` when defining models using Mastra's model router.\n\nWhen the user asks to use a model or provider, always run `scripts\u002Fprovider-registry.mjs` first to verify the provider key and model name are valid. Do not guess model names from memory as they change frequently. See [`references\u002Fmodel-selection.md`](references\u002Fmodel-selection.md).\n\n## When you see errors\n\nType errors often mean your knowledge is outdated.\n\nCommon signs of outdated knowledge:\n\n- `Property X does not exist on type Y`\n- `Cannot find module`\n- `Type mismatch` errors\n- Constructor parameter errors\n\nWhat to do:\n\n1. Check [`references\u002Fcommon-errors.md`](references\u002Fcommon-errors.md)\n2. Verify current API in embedded docs\n3. Don't assume the error is a user mistake - it might be your outdated knowledge\n\n## Development workflow\n\nAlways verify before writing code:\n\n1. Check whether Mastra packages are installed\n2. Look up current API\n   - If installed: Use embedded docs [`references\u002Fembedded-docs.md`](references\u002Fembedded-docs.md)\n   - If not: Use remote docs [`references\u002Fremote-docs.md`](references\u002Fremote-docs.md)\n3. Write code based on current docs\n4. Test with the project scripts or Studio when available\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26,"repository":27},"Mastra","2.0.0","https:\u002F\u002Fgithub.com\u002Fmastra-ai\u002Fskills","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fmastra-ai-skills\u002Fmastra",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill mastra",{"tool":42,"command":43},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill mastra",{"tool":45,"command":46},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill mastra","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmastra-ai-skills\u002Fmastra\u002FSkill.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"metadata.json","REFERENCE","参考文档",390,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmastra-ai-skills\u002Fmastra\u002Fmetadata.json",[57,65,70,77,82,89],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":66,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":78,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":90,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]