mastra-ai

mastra-ai

@mastra-ai Organization

GitHub
48 Skills
1300847 Total Stars
February 2026 Joined

Public Skills

factory-triage

by mastra-ai

Triage a Factory work item's issue — trace history, understand architecture, diagnose root cause, then advance the stage

Comments 27.7K 4d ago

pr-snapshot-release

by mastra-ai

Guide a Mastra maintainer through publishing an npm snapshot from a pull request or a specified repository branch. Use when asked to release, publish, or create a PR snapshot, branch snapshot, canary package build, or branch-specific npm tag. Performs source and branch preflight checks, requires confirmation before the irreversible publish, dispatches the existing Publish to npm workflow, monitors it, and reports installable package tags.

Agents 27.7K 5d ago

factory-review

by mastra-ai

Review a pull request for a Factory work item — history and context first, then a verdict published on the PR — and mark the review complete

Comments 27.7K 6d ago

factory-rereview

by mastra-ai

Re-review a pull request after a push — reconcile the previous review against the new commits, look for new defects the push introduced, then a fresh pass over the whole PR, and finish with a verdict on the PR

Comments 27.7K 7d ago

docs-audit

by mastra-ai

Autonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating contextual code examples or API coverage, checking canonical mastra-docs guidance, or running narrow deterministic checks.

Automation 27.7K 12d ago

docs-diagrams

by mastra-ai

Convert existing docs diagram images to Mermaid, and author new Mermaid diagrams for Mastra docs. Use when replacing an Excalidraw or PNG/JPG/SVG diagram with Mermaid, when a docs page needs a new diagram, when a diagram renders wrong in light or dark mode, or when auditing which docs images should become Mermaid. Triggers on: convert diagram, Excalidraw, mermaid, flowchart, diagram image, diagram styling, diagram looks wrong.

Design 27.7K 13d ago

herdr-kit-workflows

by mastra-ai

Set up and operate Herdr Kit safely: install and configure the plugin and Mastra Code integration, manage Review and Work repository scope, open primary repository workspaces, synchronize managers, materialize or dematerialize managed worktrees, and update Herdr Kit settings or shortcuts.

Code Review 27.7K 17d ago

mastra-docs

by mastra-ai

Documentation guidelines for Mastra. Use this skill when creating, editing, moving, deleting, or reviewing Mastra documentation, sidebars, redirects, or docs components.

Accessibility 27.7K 20d ago

factory-plan

by mastra-ai

Produce a phased implementation plan for a Factory work item, then advance it to execute

Animation 27.7K 20d ago

factory-complete-issue

by mastra-ai

Mark a GitHub issue as done and update its status labels

Comments 27.7K 24d ago

smoke-test

by mastra-ai

Create a Mastra project using create-mastra and smoke test the studio in Chrome using Chrome MCP server

Prompts 27.7K 25d ago

builder-smoke-test

by mastra-ai

Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current worktree). Covers workspace reconciliation, stored agents/skills CRUD, ownership, visibility, stars, registry/library Copy flow, picker allowlists, model policy, RBAC role gating, role impersonation UI, builder defaults, infrastructure diagnostics, channels, and Studio + Agent Builder UI. Trigger when validating the agent-builder feature branch, PRs that touch packages/server, packages/playground, packages/playground-ui agent-builder routes, or builder EE code paths.

API Dev 27.7K 25d ago

label-core-bugs

by mastra-ai

Review open mastra-ai/mastra GitHub issues, identify direct @mastra/core bugs, and apply the @mastra/core label. Use when auditing issues for core ownership, labeling direct core bugs, or periodically reconciling the @mastra/core issue label.

Code Review 27.7K 25d ago

testing-core-processors

by mastra-ai

Use when writing or debugging integration tests for error processors in packages/core/src/processors/. Covers the MockLanguageModelV2 pattern for simulating API errors and verifying retry behavior, plus the build prerequisites for focused vitest runs.

Code Gen 27.7K 26d ago

triage-issue

by mastra-ai

First-contact triage for a GitHub issue

Comments 27.7K 26d ago

react-best-practices

by mastra-ai

React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

File Ops 27.7K 1mo ago

mastra-smoke-test

by mastra-ai

Smoke test Mastra projects locally or deploy to staging/production. Tests Studio UI, agents, tools, workflows, traces, memory, and more. Supports both local development and cloud deployments.

CLI Tools 27.7K 1mo ago

herdr-manager-query

by mastra-ai

Query the authoritative global Herdr Review and Work Manager inventory, recommend actionable PR work, and explicitly materialize confirmed remote-only Review Manager records through the plugin's stable public CLI.

Code Review 27.7K 1mo ago

tailwind-v4

by mastra-ai

Tailwind CSS v4 usage guide and v3-to-v4 differences. This skill should be used when writing, reviewing, or refactoring any Tailwind CSS code in this repo. Triggers on tasks involving Tailwind classes, @theme blocks, CSS-first configuration, or cleanup of v3-era syntax.

Accessibility 27.7K 1mo ago

configure-factory-rules

by mastra-ai

Configure typed Mastra Factory rules and exact-leaf overrides in deployment code

Code Review 27.7K 1mo ago

gh-bulk-issues

by mastra-ai

Orchestrate parallel Mastra Code headless instances to debug and fix multiple GitHub issues simultaneously

Code Review 27.7K 1mo ago

understand-issue

by mastra-ai

Collaboratively investigate a GitHub issue or bug — trace history, understand architecture, diagnose root cause

Comments 27.7K 1mo ago

understand-pr

by mastra-ai

Guided interactive PR review — understand the history and context before forming opinions

Comments 27.7K 1mo ago

mastra

by mastra-ai

Mastra is the modern TypeScript framework for AI-powered applications and agents.

Code Gen 27.7K 1mo ago

playground-msw-tests

by mastra-ai

REQUIRED and PRIMARY testing approach for packages/playground and packages/playground-ui. Triggers on: adding or modifying hooks, pages, route components, data-fetching code, React Query interactions, or any test work in these packages. Generates Vitest tests that drive the real @mastra/client-js + React Query stack through MSW handlers and typed fixtures derived from @mastra/client-js response types. This is the #1 way to test the playground packages — ABOVE Playwright E2E. Use Playwright only for cross-page user journeys that MSW cannot model.

Testing 27.7K 2mo ago

mastra-frontend

by mastra-ai

How to build Mastra frontend interfaces with the @mastra/playground-ui design system. This skill should be used when creating or modifying any application UI — pages, components, styling, or tokens — in this repo or in an external consumer of the design system. The docs site has its own styling and is out of scope.

Design 27.7K 2mo ago

severe-weather

by mastra-ai

Use when conditions include storms, flooding, heat waves, or other hazards.

Finance 27.7K 2mo ago

e2e-tests-studio

by mastra-ai

REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component creation/modification/refactoring, UI changes, new playground features, bug fixes affecting studio UI. Generates Playwright E2E tests that validate PRODUCT BEHAVIOR, not just UI states.

Prompts 27.7K 2mo ago

general-tasks

by mastra-ai

Default process for handling open-ended tasks that touch files, the shell, or the web.

Automation 27.7K 2mo ago

research-tasks

by mastra-ai

Process for answering research questions using the web and saving findings into the workspace.

Academic 27.7K 2mo ago

pr-splitter

by mastra-ai

Use when breaking a large, complex, messy, or hard-to-review pull request into multiple smaller PRs; planning stacked PRs; extracting independent changes from a branch; splitting mixed refactor and behavior changes; managing drift after review feedback; rebasing follow-up PRs as earlier PRs change; or preserving original branch intent while shipping incrementally.

Code Gen 27.7K 3mo ago

agent-prompt-quality-bar

by mastra-ai

Universal quality bar and final audit rubric for any agent system prompt. Activate this whenever you are unsure which archetype skill applies, or as a final review pass before writing the system prompt. It defines the required run contract, completion criteria, fallback paths, response format, and anti-patterns every produced agent prompt must satisfy.

Code Review 27.7K 3mo ago

coding-agent

by mastra-ai

Authoring playbook for building agents that write, edit, review, or refactor code. Use this when the user asks for an agent that writes scripts, generates code, reviews pull requests, refactors a codebase, fixes bugs, implements features, writes tests, or works with programming languages such as Python, TypeScript, JavaScript, Go, Rust, SQL, or shell.

Code Review 27.7K 3mo ago

content-writer-agent

by mastra-ai

Authoring playbook for building agents that draft written content — blog posts, marketing copy, social media posts, newsletters, product descriptions, landing pages, or ad copy. Use this when the user wants an agent that writes, drafts, or rewrites text for publication or marketing.

Design 27.7K 3mo ago

customer-support-agent

by mastra-ai

Authoring playbook for building agents that triage and reply to customer messages — support tickets, email inquiries, chat questions, refund requests, or product issues. Use this when the user wants an agent that handles inbound customer questions, drafts replies, escalates hard cases, summarizes tickets, or follows a support playbook.

Design 27.7K 3mo ago

generic-assistant

by mastra-ai

Fallback authoring playbook for building general-purpose personal assistant agents that do not fit a more specific archetype. Use this only after checking the other archetype skills (coding, spreadsheet, research, customer-support, content-writer, ops-automation). Examples include summarizing emails, drafting short answers, capturing notes, or generic personal-helper agents.

Prompts 27.7K 3mo ago

ops-automation-agent

by mastra-ai

Authoring playbook for building agents that automate recurring internal tasks — running scheduled workflows, syncing data between systems, posting notifications, processing inbound events, or executing operational runbooks. Use this when the user wants an agent that runs on a schedule, reacts to events, automates a process, syncs between tools, or handles ops/internal infrastructure.

Agents 27.7K 3mo ago

research-agent

by mastra-ai

Authoring playbook for building agents that search, read, and synthesize information into a report. Use this when the user wants an agent to research a topic, summarize sources, compare options, do competitive analysis, monitor news, generate briefs, or pull together a citation-backed report from the web or internal documents.

Academic 27.7K 3mo ago

spreadsheet-agent

by mastra-ai

Authoring playbook for building agents that read or write tabular data — Google Sheets, Microsoft Excel, CSV, Airtable, Notion databases, or any spreadsheet. Use this when the user wants an agent that updates rows, reads cells, computes totals, generates reports from sheets, syncs data between spreadsheets, or automates anything involving rows, columns, ranges, or worksheets.

Agents 27.7K 3mo ago

debugging-difficult-bugs

by mastra-ai

Use early when debugging a medium or hard bug, especially when tests alone may not reveal the real runtime failure. Trigger this before extended TDD iteration when a bug involves runtime state, ordering, persistence, streaming, concurrency, UI/manual reproduction, external services, or when a red or newly passing test may not model the real issue. Skip only when the root cause is already directly proven by a stack trace or deterministic test that exercises the real runtime path.

Debugging 27.7K 3mo ago

pr-explainer

by mastra-ai

Use when creating an approachable, self-contained HTML review aid for a pull request; explaining what changed, why it matters, how it works, and how it fits into the broader system; turning PR diffs, commits, tests, and architecture context into a local .pr-review/ HTML page for reviewers; or helping reviewers understand complex code changes without dumping the full diff.

Code Review 27.7K 3mo ago

testing-mastracode-tui

by mastra-ai

Testing mastracode TUI features interactively in Konsole. Covers model configuration, thread lifecycle, task state isolation, and common blockers.

CLI Tools 27.7K 4mo ago

code-standards

by mastra-ai

Code quality standards and style guide for reviewing pull requests

Code Review 27.7K 6mo ago

performance-review

by mastra-ai

Performance-focused code review for identifying bottlenecks and optimization opportunities

Code Review 27.7K 6mo ago

security-review

by mastra-ai

Security-focused code review checklist for identifying vulnerabilities

Code Review 27.7K 6mo ago

ralph-plan

by mastra-ai

Interactive planning assistant that helps create focused, well-structured ralph-loop commands through collaborative conversation

Code Gen 27.7K 7mo ago

tailwind-best-practices

by mastra-ai

Tailwind CSS styling guidelines for Mastra Playground UI. This skill should be used when writing, reviewing, or refactoring styling code in packages/playground-ui and packages/playground to ensure design system consistency. Triggers on tasks involving Tailwind classes, component styling, or design tokens.

Code Gen 27.7K 7mo ago

mastra

by mastra-ai

"Comprehensive Mastra framework guide. Teaches how to find current documentation, verify API signatures, and build agents and workflows. Covers documentation lookup strategies (embedded docs, remote docs), core concepts (agents vs workflows, tools, memory, RAG), TypeScript requirements, and common patterns. Use this skill for all Mastra development to ensure you're using current APIs from the installed version or latest documentation."

Agents 75 6mo ago