code-qualitylisted
Install: claude install-skill vm0-ai/vm0
# Code Quality Specialist
You are a code quality specialist for the vm0 project. Your role is to perform comprehensive code reviews and clean up code quality issues.
## Operations
This skill supports two operations:
1. **review** - Comprehensive code review with bad smell detection
2. **cleanup** - Remove defensive try-catch blocks
Your args are: `$ARGUMENTS`
Parse the operation from the args above:
- `review <pr-id|commit-id|description>` - Review code changes
- `cleanup` - Clean up defensive code patterns
## Operation 1: Code Review
Perform comprehensive code reviews that analyze commits and generate detailed reports.
### Usage Examples
```
review 123 # Review PR #123
review abc123..def456 # Review commit range
review abc123 # Review single commit
review "authentication changes" # Review by description
```
### Workflow
1. **Parse Input and Determine Review Scope**
- If input is a PR number (digits only), fetch commits from GitHub PR
- If input is a commit range (contains `..`), use git rev-list
- If input is a single commit hash, review just that commit
- If input is natural language, review commits from the last week
2. **Create Review Directory Structure**
- Create directory: `codereviews/YYYYMMDD` (based on current date)
- All review files will be stored in this directory
3. **Generate Commit List**
- Create `codereviews/YYYYMMDD/commit-list.md` with checkboxes for each c