Review the current PR/branch diff against base branch for Teetsh frontend patterns
Reviews frontend PR diffs against Teetsh patterns for React, Query, styling, i18n, and testing standards.
/plugin marketplace add teetsh-org/claude-skills/plugin install code-review@teetsh-claudeReview the current branch's changes compared to the base branch (main/master).
First, determine the base branch and get the merge-base:
git merge-base HEAD main || git merge-base HEAD master
Get the list of changed files in this PR:
git diff --name-only $(git merge-base HEAD main) HEAD
Get the full diff for review:
git diff $(git merge-base HEAD main) HEAD
Read the reference documentation to understand Teetsh patterns:
../../review-skills/skills/frontend-code-review/references/common-mistakes.md - Common antipatterns to catch../../review-skills/skills/frontend-code-review/references/react-patterns.md - Component and hook patterns../../review-skills/skills/frontend-code-review/references/react-query.md - Data fetching patterns../../review-skills/skills/frontend-code-review/references/styling.md - twin.macro and styling conventions../../review-skills/skills/frontend-code-review/references/i18n.md - Internationalization requirements../../review-skills/skills/frontend-code-review/references/testing.md - Testing standardsFor each changed file, review against the patterns. Focus on:
Start with a summary of what the PR changes, then provide structured feedback:
Brief description of what this PR does based on the diff.
Issues that must be fixed before merge (security, broken functionality, accessibility blockers, data loss risks)
Issues that should be fixed (missing error/loading states, incorrect patterns, i18n gaps, test gaps)
Optional improvements (code clarity, performance, better patterns)
What was done well in this PR
For each issue, include: