code-reviewer
TODO - describe when to trigger this skill (e.g., code review, PR review).
When & Why to Use This Skill
The Code Reviewer skill is an automated assistant designed to enhance software quality by performing deep analysis of source code. It streamlines the peer review process by identifying logic errors, security vulnerabilities, and edge cases, while providing actionable suggestions for tests to ensure robust and maintainable codebases.
Use Cases
- Automated Pull Request Auditing: Integrate into CI/CD workflows to automatically scan code changes for bugs and style violations before human review.
- Security Vulnerability Detection: Analyze file structures and code logic to identify potential security risks, data leaks, or insecure dependencies.
- Edge Case Identification: Proactively discover hidden logic flaws and boundary conditions that might lead to runtime errors in production.
- Test Coverage Optimization: Generate specific recommendations for unit and integration tests based on the identified risks and code complexity.
| name | code-reviewer |
|---|---|
| description | TODO - describe when to trigger this skill (e.g., code review, PR review). |
Code Reviewer Skill
When to use
- TODO: add trigger conditions
Workflow
- TODO: identify review scope
- TODO: read relevant files
- TODO: analyze correctness, risks, and edge cases
- TODO: suggest tests
Output format
Findings:
- [Severity] file.py:line - issue summary
Questions:
- ...
Suggested tests:
- ...