name: pr-check description: Pre-submit validation checklist for PRs disable-model-invocation: true
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
Related skills
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,180
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,083
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
943