Review implementation code quality, security, and test coverage
Review implementation code quality, security, and test coverage for a specific spec. Use when you need to verify requirements are met, scan for vulnerabilities, and identify missing tests before deployment.
/plugin marketplace add vanman2024/dev-lifecycle-marketplace/plugin install quality@dev-lifecycle-marketplace<spec-number> [--generate-tests]๐จ EXECUTION NOTICE FOR CLAUDE
When you invoke this command via SlashCommand, the system returns THESE INSTRUCTIONS below.
YOU are the executor. This is NOT an autonomous subprocess.
Immediately after SlashCommand returns, start executing Phase 0, then Phase 1, etc.
See @CLAUDE.md section "SlashCommand Execution - YOU Are The Executor" for detailed explanation.
Arguments: $ARGUMENTS
Goal: Validate code quality, verify requirements met, and identify missing tests
Core Principles:
Phase 1: Discovery Goal: Parse arguments and locate spec
Actions:
Phase 2: Validation Goal: Launch code-validator agent
Actions:
Task(description="Validate code quality", subagent_type="quality:code-validator", prompt="You are the code-validator agent. Validate implementation for spec $ARGUMENTS.
Phase 1: Security Scan CRITICAL: Scan for hardcoded API keys, passwords, secrets FIRST. If any found, STOP and report immediately.
Phase 2: Requirements Verification Load spec.md and verify each functional requirement has:
Phase 3: Test Coverage Analysis Find existing tests and identify:
Phase 4: Test Recommendations Generate specific test cases for:
Phase 5: Report Generate comprehensive report with:
Provide specific file paths, line numbers, and code examples.")
Phase 3: Summary Goal: Display results and next steps
Actions:
/quality:test to verify