Claude commands
Handy Claude commands, kept current by the community. Add one you rely on.
/issue
Issue
Work the Drupal issue lifecycle — review prior work first, then create / comment on / claim an issue and check out its fork + branch with three-way fork handling. Use when user says 'Drupal issue', 'claim an issue', 'create an issue', 'check out issue fork', 'drupal-ai-contrib issue'. Wraps drupalorg-cli.
/ultrareview
Ultrareview
Run Claude Code's cloud-hosted multi-agent deep code review (/code-review ultra) with pre-flight platform checks and cost transparency. Use when user says "deep review", "pre-merge review", "ultrareview", "cloud review", "rigorous review", "thorough review", "find bugs before merge", "multi-agent review", "verified review".
/tdd
Tdd
Start Test-Driven Development workflow for Drupal/Next.js projects. Use when user says "test first", "TDD", "write tests", "Red Green Refactor", "test driven", "start TDD", "PHPUnit watch", "Jest watch". Guides through RED-GREEN-REFACTOR cycle with test scaffolding.
/solid
Solid
Check SOLID principles and architecture quality for Drupal/Next.js projects. Use when user says "SOLID check", "single responsibility", "architecture quality", "dependency inversion", "check principles", "code complexity", "find violations". For debated analysis, use /code-quality-tools:architecture-debate.
/setup
Setup
Interactive setup wizard to install and configure code quality tools for Drupal/Next.js projects. Use when user says "install quality tools", "set up PHPStan", "configure linting", "add code quality", "first time setup", "install ESLint", "setup security tools". Detects project type, runs the interview, and writes the config the installer reads.
/security
Security
Run comprehensive security audit for Drupal/Next.js projects. Use when user says "security audit", "check vulnerabilities", "OWASP check", "is this secure", "find security issues", "Semgrep scan", "Trivy scan", "Gitleaks check". Runs 10 Drupal layers or 7 Next.js layers. For multi-perspective analysis, use /code-quality-tools:security-debate after this.
/security-debate
Security debate
Debate security audit findings with three competing subagents (Defender + Red Team + Compliance) across two rounds. Use when user says "debate security", "security from 3 perspectives", "is this vulnerability real", "security team review", "red team this", "challenge security findings", "false positive check". Best for 10+ findings where severity needs validation. Each agent runs in isolated worktree.
/review
Review
Review code quality with structured rubric scoring (Content + Structure grades, /50 scale). Use when user says "review this code", "grade this module", "code review", "quality score", "is this production ready", "rate this code", "code assessment". Produces scored report with quality gate (PASS 35+/FAIL) and prioritized action items.
/generate-review-md
Generate review md
Analyze a codebase and generate a starter REVIEW.md for Claude Code's managed Code Review service using the v2 injection model. Use when user says "generate review md", "create review config", "setup code review", "review guidelines", "review rules", "review.md", "what should code review check".
/dry
Dry
Check code duplication (DRY principle) for Drupal/Next.js projects. Use when user says "find duplicates", "DRY check", "copy paste detection", "code duplication", "repeated code", "PHPCPD", "jscpd". Identifies duplicated code blocks and suggests consolidation.
/coverage
Coverage
Check test coverage for Drupal/Next.js projects. Use when user says "test coverage", "what's untested", "coverage report", "missing tests", "how much is covered", "PHPUnit coverage", "Jest coverage". Shows coverage percentage and identifies uncovered code.
/audit
Audit
Run complete code quality and security audit for Drupal/Next.js projects. Use when user says "full audit", "check everything", "code quality report", "run all checks", "audit this project", "pre-merge check", "quality gate". Runs lint + security + SOLID + DRY + coverage, then synthesizes findings into prioritized action plan with cross-tool correlation.
/architecture-debate
Architecture debate
Debate architecture and SOLID findings with three competing subagents (Pragmatist + Purist + Maintainer) across two rounds. Use when user says "debate architecture", "SOLID debate", "is this over-engineered", "should I refactor", "architecture review with debate", "code structure debate", "design review". Best for contentious design decisions where reasonable people disagree.
/test-team
Test team
Paper test code or skills with competing agent team (Happy Path + Edge Case + Red Team). Use when user says "test team", "3 perspectives", "competing testers", "thorough paper test", "security review", "deep code analysis", "test this skill with team". Best for large code (300+ lines), security-critical paths, or skill/command testing where perspective diversity matters most. For 50-300 line files, the single-agent structured 3-phase mode in /paper-test is more cost-effective. Each tester runs i
/template-presentation
Template presentation
Create or edit a presentation template through guided wizard. Use when user says "create presentation template", "new slide template", "presentation template wizard", "edit template".
/template-infographic
Template infographic
Create or edit an infographic template through guided wizard. Use when user says "create infographic template", "new infographic template", "infographic template wizard".
/template-carousel
Template carousel
Create or edit a carousel template through guided wizard. Use when user says "create carousel template", "new carousel template", "carousel template wizard".
/presentation
Presentation
Create a presentation using an existing template (detailed, guided mode). Use when user says "create presentation", "make slides", "presentation from template", "guided presentation".
/presentation-quick
Presentation quick
Create a presentation quickly with minimal questions. Use when user says "quick presentation", "fast slides", "presentation now", "make slides quickly".
/infographic
Infographic
Create an infographic using an existing template (detailed, guided mode). Use when user says "create infographic", "make infographic", "guided infographic", "data visualization".
/infographic-quick
Infographic quick
Create an infographic quickly with minimal questions. Use when user says "quick infographic", "fast infographic", "infographic now", "visualize this data quickly".
Create a command
Please sign in to add a command.