analyze-dependencies
Analyzes your project's dependencies and checks architecture health.
Ensure code quality and architectural soundness through systematic Pull Request reviews.
> /plugin marketplace add wasabeef/claude-code-cookbookHow it fires
How this command gets triggered: by you, by Claude, or both.
/pr-reviewContext preview
What this command does when you run it.
Ensure code quality and architectural soundness through systematic Pull Request reviews.
Ensure code quality and architectural soundness through systematic Pull Request reviews.
# Comprehensive PR review gh pr view 123 --comments "Systematically review this PR and provide feedback from code quality, security, and architecture perspectives" # Security-focused review gh pr diff 123 "Focus on reviewing security risks and vulnerabilities" # Architecture perspective review gh pr checkout 123 && find . -name "*.js" | head -10 "Evaluate the architecture from the perspectives of layer separation, dependencies, and SOLID principles"
# Quantitative code quality assessment
find . -name "*.js" -exec wc -l {} + | sort -rn | head -5
"Evaluate code complexity, function size, and duplication, and point out improvements"
# Security vulnerability check
grep -r "password\|secret\|token" . --include="*.js" | head -10
"Check for risks of sensitive information leakage, hardcoding, and authentication bypass"
# Architecture violation detection
grep -r "import.*from.*\.\./\.\." . --include="*.js"
"Evaluate layer violations, circular dependencies, and coupling issues"π΄ critical.must: Critical issues ββ Security vulnerabilities ββ Data integrity problems ββ System failure risks π‘ high.imo: High-priority improvements ββ Risk of malfunction ββ Performance issues ββ Significant decrease in maintainability π’ medium.imo: Medium-priority improvements ββ Readability enhancement ββ Code structure improvement ββ Test quality improvement π’ low.nits: Minor points ββ Style unification ββ Typo fixes ββ Comment additions π΅ info.q: Questions/information ββ Implementation intent confirmation ββ Design decision background ββ Best practices sharing
1. **Pre-check**: PR information, change diff, related issues 2. **Systematic checks**: Security β Correctness β Performance β Architecture 3. **Constructive feedback**: Specific improvement suggestions and code examples 4. **Follow-up**: Fix confirmation, CI status, final approval
**Format:**
**Example:**
critical.must. Password is stored in plaintext
Proposed fix:
const bcrypt = require('bcrypt');
const hashedPassword = await bcrypt.hash(password, 12);
Hashing is required to prevent security risks.**Format:**
**Example:**
high.imo. N+1 query problem occurs
Improvement: Eager Loading
const users = await User.findAll({ include: [Post] });
This can significantly reduce the number of queries.**Format:**
**Example:**
high.must. Layer violation occurred The domain layer directly depends on the infrastructure layer. Please introduce an interface following the dependency inversion principle.
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
Analyzes your project's dependencies and checks architecture health.
Analyzes application performance from a user experience perspective and quantifies experience improvements from optimizations. Calculates UX scores based onβ¦
Verifies if a statement is true by checking your project's code and documentation.
A comprehensive collection of best practices for evaluating and improving the quality of prompts for AI Agents. It systematizes knowledge gained from actualβ¦
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β¦