Claude Code skill that validates Mastra AI agent projects with 66 checks across configuration, agents, workflows, memory, tools, prompts, and security.
git clone https://github.com/goldk3y/mastra-system-check.gitMastra System Check is a Claude Code skill that performs comprehensive validation of Mastra AI agent projects. It runs 66 checks organized across 10 categories—configuration, agents, workflows, context, prompts, memory, tools, observability, security, and performance—identifying issues at critical, high, medium, and low priority levels. The skill catches common problems like missing storage providers, incorrect model formats, uninitialized API keys, and workflows without .commit() calls that would fail at runtime. It provides specific file locations, clear explanations of each issue, corrected code examples, and links to relevant documentation. Teams preparing projects for production can ask Claude to validate their setup and receive a detailed report organized by severity.
Install via npx (npx mastra-system-check), Git clone, or manual download to ~/.claude/skills/mastra-system-check/. The skill activates automatically when working with Mastra projects. Ask Claude to 'check my mastra project', 'validate mastra', 'prepare for production', or request specific checks like agent configurations or workflow setup.
Validate Mastra agent configurations before deployment to catch breaking issues early
Review workflow setup to ensure all steps are properly committed and error handling is configured
Check security configuration for authentication, CORS, PII handling, and prompt injection protection
Audit memory and context data flow for type safety and proper propagation across components
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/goldk3y/mastra-system-checkCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Validate my Mastra AI agent project with the 66-point system check. Here's the project details: [PROJECT_NAME], [INDUSTRY], [KEY_OBJECTIVES]. Please provide a detailed report with any issues found and recommendations for improvement.
# Mastra AI Agent Project Validation Report ## Project Overview - **Project Name**: SmartRetail Assistant - **Industry**: Retail - **Key Objectives**: Improve customer service, streamline inventory management, and enhance sales analytics ## Validation Results ### Configuration ✅ All required configuration files are present ⚠️ `agent_config.yaml` has deprecated parameters (lines 12-15) ### Agents ✅ All agents have unique and descriptive names ⚠️ `inventory_agent` lacks a fallback mechanism for API failures ### Workflows ✅ Workflows are well-structured and follow best practices ⚠️ `order_processing_workflow` has a potential deadlock scenario in step 3 ### Memory ✅ Memory settings are optimized for the project's scale ⚠️ `customer_service_agent` memory retention period is too short (currently 7 days, consider 30 days) ### Tools ✅ All tools are properly integrated and documented ⚠️ `inventory_management_tool` lacks error handling for rate limits ### Prompts ✅ Prompts are clear, concise, and context-aware ⚠️ `customer_support_prompt` could benefit from more specific examples ### Security ✅ Security measures are in place and up-to-date ⚠️ Consider implementing role-based access control for sensitive operations ## Recommendations 1. Update deprecated parameters in `agent_config.yaml` 2. Implement a fallback mechanism for `inventory_agent` 3. Review and resolve the deadlock scenario in `order_processing_workflow` 4. Extend memory retention period for `customer_service_agent` 5. Add error handling for rate limits in `inventory_management_tool` 6. Enhance `customer_support_prompt` with specific examples 7. Implement role-based access control for sensitive operations ## Overall Assessment The project is well-structured and follows best practices in most areas. However, there are several areas that could be improved to enhance reliability, security, and user experience. Addressing the issues mentioned above will significantly improve the project's robustness and performance.
JavaScript framework for AI agents
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan