Agent skill
code-review
Review code for correctness, security, performance, and Resume Matcher conventions. Use when receiving code review feedback or before submitting PRs. Requires technical rigor, not performative agreement.
Install this agent skill to your Project
npx add-skill https://github.com/srbhr/Resume-Matcher/tree/main/.github/skills/code-review
SKILL.md
Code Review
Code review requires technical evaluation, not emotional performance.
Core principle: Verify before implementing. Ask before assuming. Technical correctness over social comfort.
Review Checklist
Backend (Python/FastAPI)
- All functions have type hints
-
copy.deepcopy()for mutable defaults - Error handling: detailed logs server-side, generic messages to clients
- API keys via
api_key=parameter, notos.environ - Async functions for I/O operations
- Pydantic schemas for request/response bodies
- No blocking calls in async routes
-
asyncio.Lock()for shared resource initialization
Frontend (Next.js/React)
- Swiss International Style compliance
-
rounded-noneeverywhere - Textareas have Enter key handler
- Direct icon imports (not barrel)
-
next/dynamicfor heavy components -
Promise.all()for independent fetches - Server Actions check auth inside
Security
- No secrets in code
- Input validation on user data
- CORS configured properly
- Auth checks on protected endpoints
Response Pattern
WHEN receiving feedback:
1. READ: Complete feedback without reacting
2. UNDERSTAND: Restate requirement in own words
3. VERIFY: Check against codebase reality
4. EVALUATE: Technically sound for THIS codebase?
5. RESPOND: Technical acknowledgment or reasoned pushback
6. IMPLEMENT: One item at a time, test each
Forbidden Responses
- "You're absolutely right!" (performative)
- "Great point!" (performative)
- "Let me implement that now" (before verification)
When to Push Back
- Suggestion breaks existing functionality
- Reviewer lacks full context
- Violates YAGNI (unused feature)
- Technically incorrect for this stack
- Conflicts with architectural decisions
Severity Format
[CRITICAL] file:line - Security, data loss, crash
[ERROR] file:line - Bug, missing validation
[WARNING] file:line - Style, convention
[INFO] file:line - Suggestion, not required
References
- Backend guide:
docs/agent/architecture/backend-guide.md - Coding standards:
docs/agent/coding-standards.md - Style guide:
docs/agent/design/style-guide.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ui-review
Review UI changes against Swiss International Style design system. Checks colors, typography, borders, shadows, spacing, and anti-patterns. Use before committing any frontend UI changes.
codebase-navigator
Navigate, search, and understand the Resume Matcher codebase using ripgrep, ack, or grep. Find functions, classes, components, API endpoints, trace data flows, and understand architecture. Use FIRST when exploring code, finding files, or understanding project structure.
fastapi
Build Python APIs with FastAPI, Pydantic v2, and async patterns. Covers project structure, JWT auth, validation, database integration, and 7 documented error preventions. Use when creating Python APIs, implementing auth, or troubleshooting 422 validation, CORS, async blocking, or schema errors.
tailwind-patterns
Production-ready Tailwind CSS patterns for responsive layouts, cards, navigation, forms, buttons, and typography. Includes spacing scale, breakpoints, mobile-first patterns, dark mode, and Swiss International Style overrides for Resume Matcher.
full-stack
Full-stack development skill that coordinates backend and frontend changes together. Use for features that span both layers: new API endpoint + UI, data model changes, end-to-end flows.
navigator
Quick codebase orientation for Resume Matcher. Points to key directories, architecture docs, and available skills. Use as a starting point before diving into code. For advanced search, use the codebase-navigator skill.
Didn't find tool you were looking for?