Quality Skills
Skills for maintaining and improving code quality.
Available Skills
| Skill | Description | When to Use |
|---|---|---|
| refactor | Systematic refactoring patterns | When improving existing code |
| code-review | Review checklist and guidelines | When reviewing PRs or code |
| e2e-playwright | Playwright E2E testing patterns | When project has a frontend component |
Quick Reference
Before Refactoring
- •Ensure tests exist
- •Run tests (must pass)
- •Create checkpoint
During Code Review
Focus on:
- •Security vulnerabilities
- •Logic errors
- •Type safety
- •Error handling
Don't nitpick:
- •Formatting (let tools handle it)
- •Personal style preferences
E2E Testing (Frontends)
If the project has a frontend (SPA, SSR, SWA):
- •Install Playwright:
npm init playwright@latest - •Create tests in
tests/e2e/ - •Test core user flows, navigation, forms
- •Use the Playwright MCP server for browser interaction during test development