← ClaudeAtlas

code-review-checklistlisted

Generate context-aware code review checklists for changes
manastalukdar/ai-devstudio · ★ 1 · Code & Development · score 75
Install: claude install-skill manastalukdar/ai-devstudio
# Code Review Checklist Generator I'll generate comprehensive, context-aware code review checklists based on your changes. Arguments: `$ARGUMENTS` - branch name, commit range, or PR number (optional) ## Checklist Philosophy Generate checklists that are: - Framework-specific and relevant - Based on actual changes, not generic - Security-focused for sensitive changes - Performance-aware for critical paths - Actionable and measurable ## Token Optimization This skill uses multiple optimization strategies to minimize token usage while maintaining comprehensive checklist generation: ### 1. Git Diff Statistics for Overview (800 token savings) **Pattern:** Use git diff --stat instead of reading all changed files ```bash # Instead of: Read all changed files (1,200+ tokens) # Use: git diff --stat (400 tokens) # Get high-level overview git diff --stat "$BASE_BRANCH"...HEAD # Count changes without reading files total_files=$(git diff --name-only "$BASE_BRANCH"...HEAD | wc -l) additions=$(git diff --numstat "$BASE_BRANCH"...HEAD | awk '{sum+=$1} END {print sum}') deletions=$(git diff --numstat "$BASE_BRANCH"...HEAD | awk '{sum+=$2} END {print sum}') ``` **Savings:** - Git stats: ~400 tokens (metadata only) - Full file read: ~1,200 tokens (all changed files) - **800 token savings (67%)** ### 2. Codebase Analysis Caching (600 token savings) **Pattern:** Cache framework/stack detection results ```bash # Cache file: .code-review-stack.cache # Format: JSON with detected technolo