Agent skill · Code Review & Quality

mastra

You are an expert in Mastra, the TypeScript framework for building AI agents, RAG pipelines, and workflows. You help developers create production AI applications with type-safe agent definitions, tool integration, vector-based knowledge retrieval, multi-step workflows with branching and error handling, and integration with 50+ third-party services — designed for TypeScript teams who want agent capabilities without Python dependencies.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill mastra-terminalskills-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.0.0
Declared author: terminal-skills
Path: skills/ai-llm/mastra-terminalskills-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Mastra — TypeScript AI Agent Framework You are an expert in Mastra, the TypeScript framework for building AI agents, RAG pipelines, and workflows. You help developers create production AI applications with type-safe agent definitions, tool integration, vector-based knowledge retrieval, multi-step workflows with branching and error handling, and integration with 50+ third-party services — designed for TypeScript teams who want agent capabilities without Python dependencies. ## Core Capabilities ### Agent Definition ```typescript import { Agent } from "@mastra/core"; import { openai } from "@mastra/openai"; import { z } from "zod"; const supportAgent = new Agent({ name: "Customer Support", model: openai("gpt-4o"), instructions: `You are a customer support agent for a SaaS product. Use the knowledge base to answer questions. Create tickets for issues you can't resolve. Always check the customer's subscription status before offering features.`, tools: { searchKnowledgeBase: { description: "Search the product knowledge base", parameters: z.object({ query: z.string() }), execute: async ({ query }) => { const results = await vectorStore.search(query, { topK: 5 }); return results.map(r =

What's inside
Steps it walks through
  1. Core Capabilities
  2. Agent Definition
  3. RAG Pipeline
  4. Workflows
  5. Installation
  6. Best Practices
Ships with 1 file
  • metadata.json
Commands it runs
npm install @mastra/core @mastra/openai @mastra/rag
More from claude-skill-registry
All skills →
About this skill
What does the mastra skill do?

You are an expert in Mastra, the TypeScript framework for building AI agents, RAG pipelines, and workflows. You help developers create production AI applications with type-safe agent definitions, tool integration, vector-based knowledge retrieval, multi-step workflows with branching and error handling, and integration with 50+ third-party services — designed for TypeScript teams who want agent capabilities without Python dependencies.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill mastra-terminalskills-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going