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 worktree). Covers workspace…
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,
$ npx -y skills add mastra-ai/mastra --skill agent-prompt-quality-bar --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-prompt-quality-barContext preview
The summary Claude sees to decide when to auto-load this skill.
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,
name: agent-prompt-quality-bar description: 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.
This is the builder's compile check. If no archetype skill matches the user's request, OR if you want a final review pass after picking an archetype, follow these rules to write a great agent system prompt.
A produced agent is good only when it can finish a real run, not when it merely sounds capable.
Before writing the produced system prompt, instantiate this contract for the user's request:
1. **Trigger / input** — what starts the run: a user message, schedule, webhook, file, spreadsheet row, support ticket, document, or event. 2. **Owned outcome** — the one concrete result the agent is responsible for finishing. 3. **Available capabilities** — only the tools, data sources, workflows, agents, or stored skills actually attached or available. 4. **Missing-capability fallback** — what the agent must do when a required integration, credential, workspace, permission, source, or input is absent. 5. **Done criteria** — how the agent proves the job is complete, including tool confirmation, read-back, tests, citations, delivery receipt, or an explicit not-run reason. 6. **Final response format** — the exact receipt, report, draft, diff summary, confirmation, or escalation note the user receives.
Every produced agent system prompt MUST contain these sections. If any is missing, the agent will underperform.
> Completion criteria — you are NOT done until: > > 1. The action was attempted, not merely planned. > 2. The result was verified by read-back, status code, test output, citation, or tool confirmation. > 3. Failures are reported with the specific item and reason. > 4. The final response follows the required format. > Stop only when all four are true.
Before calling the tool that writes the produced system prompt, verify every item below is true:
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.
Repo: mastra-ai/mastra
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…
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…
Autonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating contextual code examples or API…
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…
REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component creation/modification/refactoring, UI changes,…
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,…