Create Mastra

🏢Official
by mastra-ai · vlatest · Repository

Generates detailed, structured marketing plans including target audience, channels, budget, and KPIs based on provided product details.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add create-mastra npx -- -y @trustedskills/create-mastra
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "create-mastra": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/create-mastra"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The create-mastra skill enables developers to initialize and configure new Mastra projects directly within their AI agent environment. It streamlines the setup process by generating the necessary project structure, configuration files, and default agent definitions required for immediate development.

When to use it

  • Starting a fresh conversational or autonomous agent project from scratch without manual file creation.
  • Rapidly prototyping new agent logic by instantly scaffolding the Mastra application framework.
  • Setting up a standardized project baseline that includes essential dependencies and configuration templates.
  • Integrating new agent capabilities into an existing workflow by generating compatible starter code.

Key capabilities

  • Generates complete project scaffolds with pre-configured Mastra settings.
  • Creates default agent definitions ready for customization and extension.
  • Establishes the foundational file structure required for building intelligent agents.
  • Automates the initial setup phase to reduce boilerplate coding time.

Example prompts

  • "Initialize a new Mastra project named 'support-bot' with a default conversational agent."
  • "Create a fresh Mastra application scaffold including configuration files and an empty agent class."
  • "Set up a new Mastra workspace ready for building autonomous task-execution agents."

Tips & gotchas

Ensure your development environment has the necessary Node.js prerequisites installed before running the skill, as it relies on standard build tools. While the skill generates a robust starting point, you must manually customize agent prompts and logic to match specific business requirements.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
mastra-ai
Installs
90

🏢 Official

Published by the company or team that built the technology.