Code Review Skill
Use this skill when reviewing code changes, PRs, or performing quality assessment.
Workflow
- Gather context: understand the scope of changes, related files, and dependencies.
- Run static analysis: execute linters, type checkers, and security scanners.
- Check test coverage: verify existing tests and identify gaps.
- Analyze patterns: look for code smells, security issues, and performance concerns.
- Provide actionable feedback: specific suggestions with severity levels.
Key Tools
workspace_read_file- Read files to reviewgit_diff- View changesgrep- Search for patternsshell- Run linting/testing tools
Rules
- Always verify changes compile before flagging issues as "bugs"
- Distinguish between style preferences and actual issues
- Check for security vulnerabilities in external inputs
- Verify test coverage for critical paths
- Reference specific lines when providing feedback
References
- See the main workflow and rules sections above for detailed review checklists and common patterns.
Source: TeaEntityLab/teaAgent — distributed by TomeVault.