From cms-cultivator
Analyzes code quality and technical debt for Drupal and WordPress projects. Spawns a specialist agent for full analysis with depth modes, scope control, and output formats.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cms-cultivator:quality-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive code quality analysis and technical debt assessment using the code-quality-specialist agent.
Comprehensive code quality analysis and technical debt assessment using the code-quality-specialist agent.
/quality-analyze — Full code quality analysis (standard depth)/quality-analyze --quick --scope=current-pr — Pre-commit quality check/quality-analyze --comprehensive --format=refactoring-plan — Deep analysis with refactoring plan/quality-analyze --standard --format=json — CI/CD integration output/quality-analyze complexity — Legacy focus area (still supported)--quick — Complexity + critical code smells only (~5 min)--standard — Full analysis (default, ~15 min)--comprehensive — Include design patterns review (~30 min)--scope=current-pr — Only files changed in current PR--scope=recent-changes — Files changed since main branch--scope=module=<name> — Specific module/directory--scope=file=<path> — Single file--scope=entire — Full codebase (default)--format=report — Detailed technical report with code examples (default)--format=json — Structured JSON for CI/CD--format=summary — High-level summary with quality scores--format=refactoring-plan — Prioritized refactoring recommendations--max-complexity=N — Report functions with cyclomatic complexity > N (default: 15)--min-grade=A|B|C — Report files below specified gradecomplexity, debt, patterns, maintainability, standards
When Task() or bash tools are unavailable, perform quality analysis directly:
quality-analyze-YYYY-MM-DD-HHMM.md and present path to userSupported checks in Tier 1: code pattern analysis, complexity estimation, naming conventions, CMS-specific quality patterns.
When running in Claude Code with Task() available:
--scope=current-pr:
git diff --name-only origin/main...HEAD | grep -E '\.(php|tsx?|jsx?)$'
For --scope=recent-changes:
git diff main...HEAD --name-only | grep -E '\.(php|tsx?|jsx?)$'
Task(cms-cultivator:code-quality-specialist:code-quality-specialist,
prompt="Analyze code quality and technical debt with:
- Depth mode: {depth}
- Scope: {scope}
- Format: {format}
- Max complexity: {max_complexity or 15}
- Min grade: {min_grade or 'none'}
- Focus area: {focus or 'complete analysis'}
- Files to analyze: {file_list}
Analyze complexity, assess technical debt, review design patterns, check maintainability, and apply CMS-specific standards for Drupal and WordPress. Save report to quality-analyze-YYYY-MM-DD-HHMM.md and present the file path.")
npx claudepluginhub kanopi/claude-toolbox --plugin cms-cultivatorRuns quality and security audits for Drupal and Next.js projects: PHPStan, ESLint, Semgrep, Trivy, Gitleaks, test coverage, SOLID/DRY checks, and rubric-scored code reviews.
Analyzes code quality in custom WordPress themes and plugins using two-pass approach: quick grep scans for deprecated functions and anti-patterns, then AI contextual review of flagged PHP/JS files.
Enforce project-specific code standards by calibrating to existing conventions. Multi-language, three modes (STRICT/DELTA/BASELINE), test-maturity aware.