/role-help
A selection guide and help system when you're unsure which role to use.
> /plugin marketplace add wasabeef/claude-code-cookbookHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/role-help
Context preview
What this command does when you run it.
A selection guide and help system when you're unsure which role to use.
Command definition
role-help.mdGuide for choosing the right role
A selection guide and help system when you're unsure which role to use.
Usage
/role-help # General role selection guide
/role-help <situation/problem> # Recommended roles for specific situations
/role-help compare <Role 1>,<Role 2> # Compare roles
Basic Examples
# General guidance
/role-help
→ List of available roles and their characteristics
# Situation-specific recommendation
/role-help "Concerned about API security"
→ Recommendation and usage of security role
# Role comparison
/role-help compare frontend,mobile
→ Differences and appropriate usage between frontend and mobile roles
Situation-Based Role Selection Guide
Security-Related
Use security role for:
✅ Implementation of login/authentication functions
✅ Security vulnerability checks for APIs
✅ Data encryption and privacy protection
✅ Security compliance verification
✅ Penetration testing
Usage: /role security
🏗️ Architecture & Design
Use architect role for:
✅ Evaluation of overall system design
✅ Microservices vs monolith decisions
✅ Database design and technology selection
✅ Scalability and extensibility considerations
✅ Technical debt assessment and improvement planning
Usage: /role architect
⚡ Performance Issues
Use performance role for:
✅ Slow applications
✅ Database query optimization
✅ Web page loading speed improvement
✅ Memory and CPU usage optimization
✅ Scaling and load countermeasures
Usage: /role performance
🔍 Problem Root Cause Investigation
Use analyzer role for:
✅ Root cause analysis of bugs and errors
✅ Investigation of system failures
✅ Structural analysis of complex problems
✅ Data analysis and statistical research
✅ Understanding why problems occur
Usage: /role analyzer
🎨 Frontend & UI/UX
Use frontend role for:
✅ User interface improvements
✅ Accessibility compliance
✅ Responsive design
✅ Usability and ease of use enhancement
✅ General web frontend technologies
Usage: /role frontend
📱 Mobile App Development
Use mobile role for:
✅ iOS and Android app optimization
✅ Mobile-specific UX design
✅ Touch interface optimization
✅ Offline support and synchronization functions
✅ App Store and Google Play compliance
Usage: /role mobile
👀 Code Review & Quality
Use reviewer role for:
✅ Code quality checks
✅ Readability and maintainability evaluation
✅ Coding convention verification
✅ Refactoring proposals
✅ PR and commit reviews
Usage: /role reviewer
🧪 Testing & Quality Assurance
Use qa role for:
✅ Test strategy planning
✅ Test coverage evaluation
✅ Automated test implementation guidelines
✅ Bug prevention and quality improvement measures
✅ Test automation in CI/CD
Usage: /role qa
When Multiple Roles Are Needed
🔄 multi-role (Parallel Analysis)
Use multi-role for:
✅ Evaluation from multiple professional perspectives
✅ Creating integrated improvement plans
✅ Comparing evaluations from different fields
✅ Organizing contradictions and overlaps
Example: /multi-role security,performance
🗣️ role-debate (Discussion)
Use role-debate for:
✅ Trade-offs between specialized fields
✅ Divided opinions on technology selection
✅ Making design decisions through discussion
✅ Hearing debates from different perspectives
Example: /role-debate security,performance
🤖 smart-review (Automatic Proposal)
Use smart-review for:
✅ Uncertainty about which role to use
✅ Wanting to know the optimal approach for current situation
✅ Choosing from multiple options
✅ Beginner indecision
Example: /smart-review
Role Comparison Table
Security Category
| Role | Main Use | Strengths | Weaknesses | | -------- | ---------------------------------------- | -------------------------------------- | ------------------------------------ | | security | Vulnerability and attack countermeasures | Threat analysis, authentication design | UX, performance | | analyzer | Root cause analysis | Logical analysis, evidence collection | Preventive measures, future planning |
Design Category
| Role | Main Use | Strengths | Weaknesses | | --------- | ------------- | ------------------------------------------- | --------------------------------------------- | | architect | System design | Long-term perspective, overall optimization | Detailed implementation, short-term solutions | | reviewer | Code quality | Implementation level, maintainability | Business requirements, UX |
Performance Category
| Role | Main Use | Strengths | Weaknesses | | ----------- | ---------------------------------- | -------------------------------------- | -------------------- | | performance | Speed improvement and optimization | Measurement, bottleneck identification | Security, UX | | qa | Quality assurance | Testing, automation | Design, architecture |
User Experience Category
| Role | Main Use | Strengths | Weaknesses | | -------- | --------- | ---------------------- | ---------------- | | frontend | Web UI/UX | Browser, accessibility | Server-side, DB | | mobile | Mobile UX | Touch, offline support | Server-side, Web |
Decision Flowchart When Unsure
What is the nature of the problem?
├─ Security-related → security
├─ Performance issues → performance
├─ Bug/failure investigation → analyzer
├─ UI/UX improvement → frontend or mobile
├─ Design/architecture → architect
├─ Code quality → reviewer
├─ Testing-related → qa
└─ Complex/composite → smart-review for proposal
Spans multiple fiel
Read more
Guide for choosing the right role
A selection guide and help system when you're unsure which role to use.
Usage
/role-help # General role selection guide /role-help <situation/problem> # Recommended roles for specific situations /role-help compare <Role 1>,<Role 2> # Compare roles
Basic Examples
# General guidance /role-help → List of available roles and their characteristics # Situation-specific recommendation /role-help "Concerned about API security" → Recommendation and usage of security role # Role comparison /role-help compare frontend,mobile → Differences and appropriate usage between frontend and mobile roles
Situation-Based Role Selection Guide
Security-Related
Use security role for: ✅ Implementation of login/authentication functions ✅ Security vulnerability checks for APIs ✅ Data encryption and privacy protection ✅ Security compliance verification ✅ Penetration testing Usage: /role security
🏗️ Architecture & Design
Use architect role for: ✅ Evaluation of overall system design ✅ Microservices vs monolith decisions ✅ Database design and technology selection ✅ Scalability and extensibility considerations ✅ Technical debt assessment and improvement planning Usage: /role architect
⚡ Performance Issues
Use performance role for: ✅ Slow applications ✅ Database query optimization ✅ Web page loading speed improvement ✅ Memory and CPU usage optimization ✅ Scaling and load countermeasures Usage: /role performance
🔍 Problem Root Cause Investigation
Use analyzer role for: ✅ Root cause analysis of bugs and errors ✅ Investigation of system failures ✅ Structural analysis of complex problems ✅ Data analysis and statistical research ✅ Understanding why problems occur Usage: /role analyzer
🎨 Frontend & UI/UX
Use frontend role for: ✅ User interface improvements ✅ Accessibility compliance ✅ Responsive design ✅ Usability and ease of use enhancement ✅ General web frontend technologies Usage: /role frontend
📱 Mobile App Development
Use mobile role for: ✅ iOS and Android app optimization ✅ Mobile-specific UX design ✅ Touch interface optimization ✅ Offline support and synchronization functions ✅ App Store and Google Play compliance Usage: /role mobile
👀 Code Review & Quality
Use reviewer role for: ✅ Code quality checks ✅ Readability and maintainability evaluation ✅ Coding convention verification ✅ Refactoring proposals ✅ PR and commit reviews Usage: /role reviewer
🧪 Testing & Quality Assurance
Use qa role for: ✅ Test strategy planning ✅ Test coverage evaluation ✅ Automated test implementation guidelines ✅ Bug prevention and quality improvement measures ✅ Test automation in CI/CD Usage: /role qa
When Multiple Roles Are Needed
🔄 multi-role (Parallel Analysis)
Use multi-role for: ✅ Evaluation from multiple professional perspectives ✅ Creating integrated improvement plans ✅ Comparing evaluations from different fields ✅ Organizing contradictions and overlaps Example: /multi-role security,performance
🗣️ role-debate (Discussion)
Use role-debate for: ✅ Trade-offs between specialized fields ✅ Divided opinions on technology selection ✅ Making design decisions through discussion ✅ Hearing debates from different perspectives Example: /role-debate security,performance
🤖 smart-review (Automatic Proposal)
Use smart-review for: ✅ Uncertainty about which role to use ✅ Wanting to know the optimal approach for current situation ✅ Choosing from multiple options ✅ Beginner indecision Example: /smart-review
Role Comparison Table
Security Category
| Role | Main Use | Strengths | Weaknesses | | -------- | ---------------------------------------- | -------------------------------------- | ------------------------------------ | | security | Vulnerability and attack countermeasures | Threat analysis, authentication design | UX, performance | | analyzer | Root cause analysis | Logical analysis, evidence collection | Preventive measures, future planning |
Design Category
| Role | Main Use | Strengths | Weaknesses | | --------- | ------------- | ------------------------------------------- | --------------------------------------------- | | architect | System design | Long-term perspective, overall optimization | Detailed implementation, short-term solutions | | reviewer | Code quality | Implementation level, maintainability | Business requirements, UX |
Performance Category
| Role | Main Use | Strengths | Weaknesses | | ----------- | ---------------------------------- | -------------------------------------- | -------------------- | | performance | Speed improvement and optimization | Measurement, bottleneck identification | Security, UX | | qa | Quality assurance | Testing, automation | Design, architecture |
User Experience Category
| Role | Main Use | Strengths | Weaknesses | | -------- | --------- | ---------------------- | ---------------- | | frontend | Web UI/UX | Browser, accessibility | Server-side, DB | | mobile | Mobile UX | Touch, offline support | Server-side, Web |
Decision Flowchart When Unsure
What is the nature of the problem? ├─ Security-related → security ├─ Performance issues → performance ├─ Bug/failure investigation → analyzer ├─ UI/UX improvement → frontend or mobile ├─ Design/architecture → architect ├─ Code quality → reviewer ├─ Testing-related → qa └─ Complex/composite → smart-review for proposal Spans multiple fiel
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
Other commands on claude-code-cookbook.
- /analyze-dependencies
Analyzes your project's dependencies and checks architecture health.
Open command - /analyze-performance
Analyzes 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.
Open command - /check-fact
Verifies if a statement is true by checking your project's code and documentation.
Open command - /check-prompt
A 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,
Open command - /commit-message
Generates 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.
Open command - /context7
Searches technical documentation using MCP's Context7.
Open command

