analyze-dependencies
Analyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?",…
Multi-role debate to explore trade-offs. Trigger with "debate between roles", "explore trade-offs", "discuss from different perspectives".
$ npx -y skills add wasabeef/claude-code-cookbook --skill role-debate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/role-debateContext preview
The summary Claude sees to decide when to auto-load this skill.
Multi-role debate to explore trade-offs. Trigger with "debate between roles", "explore trade-offs", "discuss from different perspectives".
description: 'Multi-role debate to explore trade-offs. Trigger with "debate between roles", "explore trade-offs", "discuss from different perspectives".' allowed-tools: - Read - Grep
A command that allows roles with different expertise to discuss and examine trade-offs to derive optimal solutions.
/role-debate <Role 1>,<Role 2> [Topic] /role-debate <Role 1>,<Role 2>,<Role 3> [Topic]
# Security vs Performance trade-off /role-debate security,performance "JWT Token Expiry Setting" # Usability vs Security balance /role-debate frontend,security "2-Factor Authentication UX Optimization" # Technology selection discussion /role-debate architect,mobile "React Native vs Flutter Selection" # Three-party debate /role-debate architect,security,performance "Pros and Cons of Microservices"
Each role independently expresses opinions from their professional perspective
Cross-discussion between roles
Exploration of implementable solutions
Determining final recommendations
Role Debate: Security vs Performance ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Topic: JWT Token Expiry Setting Security Role's Argument: "15-minute short expiry recommended" Grounds: - Compliance with OWASP JWT Security Cheat Sheet - Minimizing damage window in case of token leakage - Limiting attacker available time Concerns: - Long expiry exponentially increases attack risk - Short expiry mandatory for financial compliance Success Metrics: - Security incident rate < 0.1% - Average attack detection time < 5 minutes Performance Role's Rebuttal: "2-hour expiry recommended" Grounds: - Reference to Google OAuth 2.0 Best Practices - Avoiding increased server load from frequent reauthentication - Minimizing user experience disruption Concerns: - 15-minute reauthentication increases API load by 8x - Frequent disconnections in mobile environments Success Metrics: - Maintain API response time < 200ms - Server CPU usage < 60% Mutual Discussion: Security → Performance: "Business losses from security breaches are greater than server load. Example: Equifax breach cost $700 million" Performance → Security: "Both can be achieved with refresh token mechanism. Background updates ensure security without compromising UX" Security → Performance: "Refresh tokens are also attack targets. Proper implementation is prerequisite" Performance → Security: "Propose phased approach. 30 minutes for normal operations, 15 minutes for sensitive operations" Compromise Search: Common Understanding: - Need to balance user experience and security - Flexible response based on risk level - Practical consideration of implementation and operational costs Win-Win Elements: - Utilization of refresh token mechanism - Phased introduction of risk-based authentication - Complementation with auto-logout function Integrated Conclusion: "30-minute expiry + refresh token + risk-based authentication" Implementation Details: 1. Access token: 30-minute expiry 2. Refresh token: 7-day expiry 3. High-risk operations: Enforce reauthentication every 15 minutes 4. Auto-logout after 30 minutes of inactivity Phased Implementation: Weeks 1-2: Basic 30-minute token implementation Weeks 3-4: Add refresh token mechanism Month 2: Introduce risk-based authentication Success Metrics: - Security: Incident rate < 0.1% - Performance: API load increase < 20% - UX: User satisfaction > 85% Future Review: - After 3 months: Evaluate actual attack patterns and load conditions - After 6 months: Consider migration to more sophisticated risk-based authentication
Role Debate: Architect vs Security vs Performance ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Topic: Pros and Cons of Microservices Architect Role's Argument: "Phased microservices recommended" Grounds: Clear domain boundaries, independent deployment, freedom in technology selection Security Role's Concerns: "Security complexity of inter-service communication" Grounds: Management costs of API Gateway, mTLS, distributed authentication Performance R
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…