mit einem Klick
docs-review
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
Menü
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
Write TypeScript and JavaScript code following Metabase coding standards and best practices. Use when developing or refactoring TypeScript/JavaScript code.
Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best practices. Use when writing, developing, or refactoring Clojure/ClojureScript code.
Export content from a running Metabase instance, validate with checkers, edit YAML, and import back. Use when the user wants to export, import, or run the full serdes round-trip workflow.
Drive Metabase's UI with the Playwright MCP browser tools (mcp__playwright__browser_*). Covers the snapshot/act/check pattern, Mantine component pitfalls (Menu race, Select/MultiSelect, the Escape-closes-modal trap, portal scoping), and Metabase-specific login flows. Use whenever a session needs to interact with the Metabase UI through Playwright MCP.
Review Cypress E2E spec files for Metabase conventions, common gotchas, and flakiness/performance issues. Use when reviewing pull requests or diffs containing Cypress spec files in e2e/test/scenarios/.
| name | docs-review |
| description | Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files. |
| allowed-tools | Read, Grep, Bash, Glob |
@./../_shared/metabase-style-guide.md
IMPORTANT: Before starting the review, determine which mode to use:
PR review mode: If the mcp__github__create_pending_pull_request_review tool is available, you are reviewing a GitHub PR
Local review mode: If the MCP tool is NOT available, output issues in the conversation
mcp__github__create_pending_pull_request_review is availableRun through the diff looking for these issues:
Tone and voice:
Structure and clarity:
Links and references:
Formatting:
Code and examples:
Sentence construction:
| Pattern | Issue |
|---|---|
| we can do X, our feature | Should be "Metabase" or "it" |
| click here, read more here | Need descriptive link text |
| easy, simple, just | Remove condescending qualifiers |
| users | Should be "people" or "companies" if possible |
MANDATORY REQUIREMENT: Every single issue MUST be numbered sequentially starting from Issue 1.
This numbered format is NON-NEGOTIABLE. It allows users to efficiently reference specific issues (e.g., "fix issues 1, 3, and 5") and track which feedback has been addressed.
When outputting issues in the conversation (local mode), use this format:
## Issues
**Issue 1: [Brief title]**
Line X: Succinct description of the issue
[code or example]
Suggested fix or succinct explanation
**Issue 2: [Brief title]**
Line Y: Description of the issue
Suggested fix or explanation
**Issue 3: [Brief title]**
...
Examples:
Issue 1: Formal tone Line 15: This could be more conversational. Consider: "You can't..." instead of "You cannot..."
Issue 2: Vague heading Line 8: The heading could be more specific. Try stating the point directly: "Run migrations before upgrading" vs "Upgrade process"
When posting to GitHub (PR mode), use the pending review workflow:
Workflow steps:
Start a review: Use mcp__github__create_pending_pull_request_review to begin a pending review
Get diff information: Use mcp__github__get_pull_request_diff to understand the code changes and line numbers
Identify ALL issues: Read through all changes and identify every issue worth mentioning
Add review comments: Use mcp__github__add_pull_request_review_comment_to_pending_review for each issue
**Issue N: [Brief title]**Submit the review: Use mcp__github__submit_pending_pull_request_review to publish all comments at once
"COMMENT" (NOT "REQUEST_CHANGES") to make it non-blockingComment format example:
**Issue 1: Formal tone**
This could be more conversational. Consider: "You can't..." instead of "You cannot..."
IMPORTANT:
**Issue N: [Brief title]****Issue N: [Brief title]** where N is the issue number.