Review a pull request in fundamental-styles against SCSS coding standards, accessibility guidelines, BEM conventions, and project patterns. Use when the user says "review pr", "review pull request", "check pr", or provides a PR number to review.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Review a pull request in fundamental-styles against SCSS coding standards, accessibility guidelines, BEM conventions, and project patterns. Use when the user says "review pr", "review pull request", "check pr", or provides a PR number to review.
argument-hint
PR-number
PR Review: #$0
Perform a comprehensive review of pull request #$0 in the fundamental-styles repository, checking against project coding standards, accessibility requirements, and architectural patterns.
Setup
If $0 is empty or not a number, ask the user for a PR number before proceeding.
Fetch PR Context
Gather all necessary information about the PR:
# PR metadata and description
gh pr view $0 --json title,body,author,state,isDraft,labels
# Full diff for review
gh pr diff $0# List of changed files
gh pr diff $0 --name-only
Review Checklist
Review each changed file against the applicable sections below. Report findings grouped by severity:
Blocking: Must fix before merge (breaks functionality, violates critical standards)
Suggestion: Should fix (best practices, maintainability)
Nit: Optional improvements (style preferences, minor optimizations)
1. Commit & PR Format
Verify commit messages and PR title follow the conventional format:
Expected format:<type>(<scope>): <subject>
Valid types:
feat - New feature or component
fix - Bug fix
docs - Documentation changes
style - CSS/SCSS styling changes (not code style)
refactor - Code refactoring without behavior change
test - Adding or updating tests
build - Build system or dependency changes
ci - CI/CD configuration changes
chore - Maintenance tasks
Valid scopes:
styles - SCSS/CSS changes
docs - Documentation
ci - CI/CD
Component names (e.g., button, card, table)
Rules:
PR title follows format
Commit messages follow format
No WIP prefix unless marked as draft
Scope is specific and accurate
2. SCSS Code Style (for *.scss files)
Check against .claude/skills/scss-style-guide.md standards:
Remember: The goal is to maintain code quality, accessibility, and consistency across fundamental-styles while being constructive and helpful to contributors.