builder-smoke-test
Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current…
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
Claude Code
$ npx -y skills add mastra-ai/mastra --skill pr-explainer --agent claude-code
Codex
$ npx skills add mastra-ai/mastra --skill pr-explainer -a codex -y
Cursor
$ npx skills add mastra-ai/mastra --skill pr-explainer -a cursor -y
Gemini CLI
$ npx skills add mastra-ai/mastra --skill pr-explainer -a gemini-cli -y
GitHub Copilot
$ npx skills add mastra-ai/mastra --skill pr-explainer -a github-copilot -y
OpenCode
$ npx skills add mastra-ai/mastra --skill pr-explainer -a opencode -y
Windsurf
$ npx skills add mastra-ai/mastra --skill pr-explainer -a windsurf -y
name: pr-explainer description: 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.
Create a local, self-contained HTML page that teaches a reviewer the PR story: what changed, why it matters, how it works, how it fits into the system, and how it was verified.
1. **Understand the PR before writing HTML**
2. **Find the explanation path**
1. problem, 2. system context, 3. before/after data or control flow, 4. key code changes, 5. proof from tests/builds/manual checks, 6. reviewer takeaway.
3. **Write for approachability**
4. **Create a local self-contained HTML file**
Use this structure unless the PR clearly needs a different teaching order:
1. **Hero**
2. **Problem**
3. **System Context**
4. **Before/After Flow**
5. **Code Walkthrough**
6. **Tests / Verification**
7. **Reviewer Takeaway**
Add diagrams when they reduce cognitive load. Prefer simple HTML/CSS diagrams over external dependencies.
Good diagram types:
Each diagram must answer: “What does this help the reviewer understand faster?”
Show snippets along the explanation path, not giant patches. Each important snippet should include:
Use this pattern:
<div class="diff"> <div class="diff-title">packages/example/src/file.ts</div> <pre> <span class="del">- old behavior</span> <span class="add">+ new behavior</span> </pre> </div>
A reviewer should understand the PR without opening GitHub, but the page should not replace the final full diff review.
End with proof. Include exact commands when available, for example:
pnpm --filter @scope/package test path/to/test.ts -- --run pnpm turbo build --filter ./packages/package
If verification was not run, say so clearly and list the recommended commands.
Before calling the page done, confirm it has:
When asked to create a PR explainer, produce or update a `.pr-review/*.html` file and summarize:
1. output path, 2. PR story covered, 3. key sections included, 4. verification evidence included, 5. whether `.pr-review/` remains untracked or excluded.
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications.
Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current…
Use early when debugging a medium or hard bug, especially when tests alone may not reveal the real runtime failure. Trigger this…
Autonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating…
Convert existing docs diagram images to Mermaid, and author new Mermaid diagrams for Mastra docs. Use when replacing an…
REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component…
Review open mastra-ai/mastra GitHub issues, identify direct @mastra/core bugs, and apply the @mastra/core label. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.