with one click
Code quality standards and style guide for reviewing pull requests
npx skills add https://github.com/mastra-ai/mastra --skill code-standardsCopy and paste this command into Claude Code to install the skill
Code quality standards and style guide for reviewing pull requests
npx skills add https://github.com/mastra-ai/mastra --skill code-standardsCopy and paste this command into Claude Code to install the skill
| name | code-standards |
| description | Code quality standards and style guide for reviewing pull requests |
| version | 1.0.0 |
| metadata | {"tags":["code-review","quality","style"]} |
When reviewing code, follow this structured process:
Check for issues that MUST be fixed before merging:
Evaluate overall code quality:
any in TypeScriptCheck against the style guide in references/style-guide.md:
Flag these patterns:
var usage (should be const or let)console.log or debugger statementsTODO or FIXME comments without issue referencesStructure your feedback as:
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.
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.
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.
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.
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.
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.