analyze-dependencies
Analyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?",…
Auto-suggest optimal role and approach. Trigger with "review this", "check code quality", "best approach?", "how to improve?".
$ npx -y skills add wasabeef/claude-code-cookbook --skill smart-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/smart-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Auto-suggest optimal role and approach. Trigger with "review this", "check code quality", "best approach?", "how to improve?".
description: 'Auto-suggest optimal role and approach. Trigger with "review this", "check code quality", "best approach?", "how to improve?".' allowed-tools: - Read - Grep - Glob
A command that analyzes the current situation and automatically suggests the optimal role and approach.
/smart-review # Analyze current directory /smart-review <file/directory> # Analyze specific target
$ /smart-review src/auth/login.js → "Authentication file detected" → "Analysis with security role recommended" → "Execute? [y]es / [n]o / [m]ore options"
$ /smart-review src/mobile/components/ → "📱🎨 Mobile + Frontend elements detected" → "Recommended approaches:" → "[1] mobile role alone" → "[2] frontend role alone" → "[3] multi-role mobile,frontend" → "[4] role-debate mobile,frontend"
$ /smart-review error.log → "⚠️ Error log detected" → "Starting root cause analysis with analyzer role" → "[Auto-execute] /role analyzer" $ /smart-review slow-api.log → "🐌 Performance issue detected" → "Recommended: [1]/role performance [2]/role-debate performance,analyzer"
$ /smart-review architecture-design.md → "🏗️🔒⚡ Architecture + Security + Performance elements detected" → "For complex design decisions, debate format recommended" → "[Recommended] /role-debate architect,security,performance" → "[Alternative] /multi-role architect,security,performance"
1. **Security** - Authentication, authorization, and encryption are top priorities 2. **Critical Errors** - System outages and data loss are urgent 3. **Architecture** - Large-scale changes and technology selection require careful consideration 4. **Performance** - Directly impacts user experience 5. **Frontend/Mobile** - UI/UX improvements 6. **QA** - Quality assurance and testing
# Analyze current directory /smart-review "Suggest the optimal role and approach" # Analyze specific file /smart-review src/auth/login.js "Suggest the best review method for this file" # Analyze error log /smart-review error.log "Suggest the best approach to resolve this error"
$ /smart-review → "📊 Analyzing project..." → "React + TypeScript project detected" → "Authentication functionality + API + mobile support confirmed" → "" → "💡 Recommended workflow:" → "1. Check authentication with security" → "2. Evaluate UI/UX with frontend" → "3. Confirm mobile optimization with mobile" → "4. Review overall design with architect" → "" → "Auto-execute? [y]es / [s]elect role / [c]ustom"
$ /smart-review "How to set JWT expiration time" → "🤔 Technical design decision detected" → "This issue requires multiple expert perspectives" → "" → "Recommended approach:" → "/role-debate security,performance,frontend" → "Reason: Balance between security, performance, and UX is important"
# Analysis combined with file content cat src/auth/middleware.js /smart-review "Analyze this file from a security perspective" # Analysis combined with errors npm run build 2>&1 | tee build-error.log /smart-review build-error.log "Suggest ways to resolve build errors" # Design consultation /smart-review "Discuss whether to choose React Native or Progressive Web App"
A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.
Repo: wasabeef/claude-code-cookbook
Analyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?",…
Performance analysis based on Core Web Vitals with UX scoring. Trigger with "analyze performance", "improve speed", "check Core Web Vitals", "page speed",…
Verify information accuracy against codebase and documentation. Trigger with "is this correct?", "fact check", "verify this", "is this accurate?".
Evaluate and improve AI prompt quality. Trigger with "check this prompt", "evaluate prompt quality", "improve this prompt".
Generate commit messages from staged changes. Trigger with "suggest commit message", "generate commit message", "what should the commit say?", "write commit…