pr-check
Executes a series of linting, testing, and build checks to validate PR readiness before submission.
Install
mkdir -p .claude/skills/pr-check-timothy191 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12067" && unzip -o skill.zip -d .claude/skills/pr-check-timothy191 && rm skill.zipInstalls to .claude/skills/pr-check-timothy191
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Pre-submit validation checklist for PRsKey capabilities
- →Perform type checking on the codebase
- →Run linting checks for code quality
- →Verify code formatting compliance
- →Execute unit and end-to-end tests
- →Audit for design system violations
How it works
The skill executes a series of commands for type checking, linting, formatting, testing, and building, then audits for design system violations and checks git status.
Inputs & outputs
When to use pr-check
- →Run pre-submit validation before PR creation
- →Check linting and formatting compliance
- →Verify E2E tests pass for the current branch
- →Audit design system tokens in changed files
About this skill
PR Check Skill
Purpose
Run comprehensive pre-submit validation before creating a pull request.
Checklist
1. Type Check
pnpm --filter portal type-check
- Must pass with no errors
2. Lint Check
pnpm lint
- Must pass with no warnings
3. Format Check
pnpm exec prettier --check "**/*.{ts,tsx,md}"
- If fails, run
pnpm formatto fix
4. Test Suite
# Unit tests
pnpm --filter portal test
# E2E tests (requires dev server)
pnpm test:e2e
5. Design System Audit
Check for forbidden patterns in changed files:
font-bold,font-semibold-> usefont-mediumbg-white/5,border-white/10-> use design tokensshadow-*-> use border for depth- Direct
clsx/tailwind-merge-> usecn()from@repo/ui/lib/utils
6. Build Verification
pnpm --filter portal build
- Must complete without errors
7. Git Status
- No uncommitted changes
- Branch name follows convention (feature/, fix/, chore/*)
Output Format
## PR Check Results
- [ ] Type check: PASS/FAIL
- [ ] Lint: PASS/FAIL
- [ ] Format: PASS/FAIL
- [ ] Tests: PASS/FAIL (X passed, Y failed)
- [ ] Design system: PASS/FAIL (list violations)
- [ ] Build: PASS/FAIL
Ready to submit: YES/NO
If Failures Found
List each failure with:
- Command that failed
- Error message
- Suggested fix
When not to use it
- →When there are uncommitted changes in the git repository
- →When the branch name does not follow convention (feature/_, fix/_, chore/*)
- →When the `portal` filter for pnpm is not applicable
Limitations
- →Requires `pnpm` for package management and script execution
- →E2E tests require a running dev server
- →Design system audit checks for specific forbidden patterns like `font-bold` or `bg-white/5`
How it compares
This skill provides a complete, automated pre-submit validation checklist for pull requests, ensuring adherence to project standards before submission, unlike manual checks.
Compared to similar skills
pr-check side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr-check (this skill) | 0 | 3mo | Review | Intermediate |
| verify | 0 | 3mo | Review | Beginner |
| verification-loop | 0 | 4mo | Review | Intermediate |
| frontend-mix-validate | 0 | 2mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
verify
hoangsonww
Run Forge's canonical verification chain (format:check + lint + typecheck + build + test). Use before claiming any task done or opening a PR.
verification-loop
tom237ttkk
A comprehensive verification system for Codex work sessions.
frontend-mix-validate
coleam00
Run the full validation suite (install, type-check, lint, build, tests) on a freshly integrated app and fix anything broken. Run this skill in a Claude Code session driving Sonnet - validation is grind work, Sonnet is the right tool. Two-attempt cap per step; failures are recorded for the fix-valida
scholar-verify
37chengshan
Run ScholarAI's required validation matrix for Symphony-driven changes based on the touched surfaces.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
angular-best-practices
sickn33
Angular performance optimization and best practices guide. Use when writing, reviewing, or refactoring Angular code for optimal performance, bundle size, and rendering efficiency.