SkillCheatSheet
How to install

mastra-ai/mastra

C

AI skills in the GitHub repository mastra-ai/mastra, each scored out of 100 by fixed code checks, no AI.

Mastra is the modern TypeScript framework for AI-powered applications and agents.
Repository score63/100
Skills50
Verified2 of 50
Average code score64/100
GitHub stars30k

Other · Snapshot of 2026-11-23

How the repository score works

Repository score out of 100: 60 from the average code score of its skills, 15 from skills that meet the spec, 10 from verified skills, 10 for a license and 5 for an update in the last 90 days. Stars are shown but do not count.

e2e-tests-studio

Verified
mastra-ai/mastra / .claude/skills/e2e-tests-studio
30k

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.

BCode 83/100Builder 2/10
npx skills add mastra-ai/mastra --skill e2e-tests-studio

playground-msw-tests

Verified
mastra-ai/mastra / .claude/skills/playground-msw-tests
30k

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 t…

BCode 82/100Builder 3/10
npx skills add mastra-ai/mastra --skill playground-msw-tests

factory-review

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/factory-review
30k

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

BCode 77/100Builder 1/10
npx skills add mastra-ai/mastra --skill factory-review

mastra-smoke-test

Unverified
mastra-ai/mastra / .claude/skills/mastra-smoke-test
30k

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.

BCode 76/100Builder 0/10
npx skills add mastra-ai/mastra --skill mastra-smoke-test

real-world-testing

Unverified
mastra-ai/mastra / .agents/skills/real-world-testing
30k

Use when fixing a bug, writing or reviewing tests, or adding a regression test anywhere in Mastra (core, storage adapters, server adapters, memory, client SDKs, integrations). Especially use before mocking a class, model, storage, or server; before writing a unit test that only checks wiring or that a value is defined; before writing a one-off test for a single engine, adapter, or code path; befo…

BCode 76/100Builder 2/10
npx skills add mastra-ai/mastra --skill real-world-testing

agent-prompt-quality-bar

Unverified
mastra-ai/mastra / packages/editor/src/ee/workspace/skills/agent-prompt-quality-bar
30k

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.

BCode 74/100Builder 0/10
npx skills add mastra-ai/mastra --skill agent-prompt-quality-bar

debugging-difficult-bugs

Unverified
mastra-ai/mastra / .claude/skills/debugging-difficult-bugs
30k

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…

BCode 72/100Builder 2/10
npx skills add mastra-ai/mastra --skill debugging-difficult-bugs

smoke-test

Unverified
mastra-ai/mastra / .claude/skills/smoke-test
30k

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

BCode 72/100Builder 4/10
npx skills add mastra-ai/mastra --skill smoke-test

factory-rereview

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/factory-rereview
30k

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

BCode 71/100Builder 1/10
npx skills add mastra-ai/mastra --skill factory-rereview

understand-pr

Unverified
mastra-ai/mastra / .mastracode/skills/understand-pr
30k

Review a PR the way a seasoned maintainer would — build an independent model before seeing the diff, investigate the implementation and history, verify material claims, and return a concise briefing. Use for any PR review, self-review, or re-review.

BCode 71/100Builder 0/10
npx skills add mastra-ai/mastra --skill understand-pr

update-slack-users

Unverified
mastra-ai/mastra / .claude/skills/update-slack-users
30k

Update .github/slack-users.json, the GitHub login to Slack member ID map that CI alerts use to tag people. Use when a maintainer joins or leaves, when a CI alert shows a plain @login instead of a Slack tag, or when asked to refresh the map. Needs a Slack token that can read the workspace's user list.

BCode 71/100Builder 1/10
npx skills add mastra-ai/mastra --skill update-slack-users

builder-smoke-test

Needs fixing
mastra-ai/mastra / .claude/skills/builder-smoke-test
30k

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…

CCode 69/100Builder 0/10
npx skills add mastra-ai/mastra --skill builder-smoke-test

coding-agent

Unverified
mastra-ai/mastra / packages/editor/src/ee/workspace/skills/coding-agent
30k

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.

CCode 68/100Builder 0/10
npx skills add mastra-ai/mastra --skill coding-agent

docs-audit

Unverified
mastra-ai/mastra / .claude/skills/docs-audit
30k

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.

CCode 68/100Builder 1/10
npx skills add mastra-ai/mastra --skill docs-audit

factory-build

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/factory-build
30k

Implement a Factory work item's approved plan on its work branch, prove it with the plan's gates, push it, open its change request, and hand it on to review (or to self-review on a board that has a self-review phase)

CCode 68/100Builder 1/10
npx skills add mastra-ai/mastra --skill factory-build

mastra-frontend

Unverified
mastra-ai/mastra / .claude/skills/mastra-frontend
30k

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.

CCode 68/100Builder 0/10
npx skills add mastra-ai/mastra --skill mastra-frontend

factory-triage

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/factory-triage
30k

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

CCode 67/100Builder 1/10
npx skills add mastra-ai/mastra --skill factory-triage

gh-review

Unverified
mastra-ai/mastra / .mastracode/skills/gh-review
30k

Draft and post direct, unhedged GitHub PR reviews and issue comments — every item is a required change with a pointer and reason, PR reviews land as "request changes" or "approve" (never a bare comment), and nothing is marked optional or deferred to a follow-up. Use whenever understand-pr or understand-issue (or any review) is about to draft or post to GitHub.

CCode 67/100Builder 0/10
npx skills add mastra-ai/mastra --skill gh-review

herdr-kit-workflows

Unverified
mastra-ai/mastra / .mastracode/skills/herdr-kit-workflows
30k

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.

CCode 67/100Builder 0/10
npx skills add mastra-ai/mastra --skill herdr-kit-workflows

label-core-bugs

Unverified
mastra-ai/mastra / .agents/skills/label-core-bugs
30k

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.

CCode 67/100Builder 1/10
npx skills add mastra-ai/mastra --skill label-core-bugs

playground-snapshot-release

Unverified
mastra-ai/mastra / .mastracode/skills/playground-snapshot-release
30k

Publish a Playground UI snapshot (`@mastra/playground-ui`, `@mastra/observability`, `@mastra/mcp-apps-components`, and their workspace dependencies) from `main` or the current branch via the `playground-snapshot` mode of the Publish to npm workflow, wait for it to finish, then open a PR on `mastra-ai/platform` bumping the frontend to the published snapshot version. Use when asked to release, publ…

CCode 67/100Builder 0/10
npx skills add mastra-ai/mastra --skill playground-snapshot-release

understand-issue

Unverified
mastra-ai/mastra / .mastracode/skills/understand-issue
30k

Investigate a GitHub issue or reported bug the way a seasoned maintainer would — form an independent model before reading the thread's theories, trace the mechanism and history, verify the diagnosis, and return a concise briefing with a verdict and fix direction. Use for triage, root-cause analysis, or re-investigation.

CCode 67/100Builder 0/10
npx skills add mastra-ai/mastra --skill understand-issue

research-agent

Unverified
mastra-ai/mastra / packages/editor/src/ee/workspace/skills/research-agent
30k

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.

CCode 66/100Builder 0/10
npx skills add mastra-ai/mastra --skill research-agent

gh-bulk-issues

Unverified
mastra-ai/mastra / .mastracode/skills/gh-bulk-issues
30k

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

CCode 65/100Builder 0/10
npx skills add mastra-ai/mastra --skill gh-bulk-issues

pr-splitter

Unverified
mastra-ai/mastra / .claude/skills/pr-splitter
30k

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.

CCode 65/100Builder 1/10
npx skills add mastra-ai/mastra --skill pr-splitter

pr-explainer

Unverified
mastra-ai/mastra / .claude/skills/pr-explainer
30k

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.

CCode 64/100Builder 2/10
npx skills add mastra-ai/mastra --skill pr-explainer

spreadsheet-agent

Unverified
mastra-ai/mastra / packages/editor/src/ee/workspace/skills/spreadsheet-agent
30k

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.

CCode 64/100Builder 0/10
npx skills add mastra-ai/mastra --skill spreadsheet-agent

configure-factory-rules

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/configure-factory-rules
30k

Configure board-owned lifecycle, policy, phase-semantics, and tool-result rules, plus integration event rules

CCode 63/100Builder 0/10
npx skills add mastra-ai/mastra --skill configure-factory-rules

testing-core-processors

Unverified
mastra-ai/mastra / .agents/skills/testing-core-processors
30k

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.

CCode 63/100Builder 0/10
npx skills add mastra-ai/mastra --skill testing-core-processors

factory-gitlab-review

Unverified
mastra-ai/mastra / mastracode/factory/factory-skills/factory-gitlab-review
30k

Review a GitLab merge request for a Factory work item using brokered source-control tools

CCode 62/100Builder 0/10
npx skills add mastra-ai/mastra --skill factory-gitlab-review

Maintain this repository? Open a skill and import it into the Builder, free and without an account, to see what to fix to reach 80.

Open the Builder

Occupations: this page includes information from the O*NET 31.0 Database by the U.S. Department of Labor, Employment and Training Administration (USDOL/ETA). Used under the CC BY 4.0 license. O*NET® is a trademark of USDOL/ETA. SkillCheatSheet has modified all or some of this information. USDOL/ETA has not approved, endorsed, or tested these modifications. The areas are SkillCheatSheet’s own grouping, not O*NET’s.