/cook-en:smart-reviewfrom cook-en
Analyzes the current project context and suggests optimal roles and approaches for code review, with support for specific files or directories.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /cook-en:smart-review still runs it.
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
package.json, *.tsx, *.jsx, *.css, *.scss → frontendDockerfile, docker-compose.yml, *.yaml → architect*.test.js, *.spec.ts, test/, __tests__/ → qa*.rs, Cargo.toml, performance/ → performanceauth.js, security.yml, .env, config/auth/ → securitylogin.tsx, signup.js, jwt.js → security + frontendapi/auth/, middleware/auth/ → security + architectmobile/ + *.swift, *.kt, react-native/ → mobilewebpack.config.js, vite.config.js, large-dataset/ → performancecomponents/ + responsive.css → frontend + mobileapi/ + auth/ → security + architecterror.log, crash.log → analyzermemory leak, high CPU, slow query → performance + analyzerSQL injection, XSS, CSRF → security + analyzer$ /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"
# 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"
What the command file sets; muted values are Claude Code's defaults
code-review, role-suggestion, context-analysis, file-analysis
7-day visitors to each command page
npx claudepluginhub foreveryh/claude-code-cookbook --plugin cook-en39 commands in this plugin
/analyze-dependenciesAnalyze project dependencies and evaluate architectural healthAnalyzes your project's dependencies and checks architecture health./analyze-performancePerformance analysis based on Core Web VitalsAnalyzes application performance from a user experience perspective and quantifies experience improvements from optimizations. Calculates UX scores based on Core Web Vitals and proposes prioritized optimization strategies./check-factVerify information accuracy against codebase and docsVerifies if a statement is true by checking your project's code and documentation./check-promptEvaluate and improve AI prompt qualityA comprehensive collection of best practices for evaluating and improving the quality of prompts for AI Agents. It systematizes knowledge gained from actual prompt improvement processes, covering all important aspects such as ambiguity elimination, information integration, enforcement enhancement, tracking systems, and continuous improvement./commit-messageGenerate commit messages from staged changesGenerates commit messages from staged changes (git diff --staged). This command only creates messages and copies them to your clipboard—it doesn't run any git commands./context7Search technical documentation via Context7 MCPSearches technical documentation using MCP's Context7.2 plugins ship this exact command · first indexed Jul 16, 2026
Other plugins' commands for the same job