## π‘οΈ UNIFIED QA COMMAND 10X
*Consolidated Quality Assurance Preserving Full Depth of All Original QA Commands*
**Claude, execute COMPREHENSIVE QA with CONFIGURABLE FOCUS, preserving all intelligence gathering, analysis depth, and output generation from original commands.**
### π― **EXECUTION MODES** (Full Original Functionality Preserved)
**Full QA Suite** (All analyze_quality + test_strategy + security_audit):
```bash
/qa:comprehensive_10x --all
```
**Quality Analysis Mode** (Full analyze_quality_10x):
```bash
/qa:comprehensive_10x --focus quality
```
- Enterprise-grade quality intelligence gathering
- Multi-dimensional quality assessment
- Comprehensive quality benchmarking
- All original outputs preserved
**Test Strategy Mode** (Full test_strategy_10x):
```bash
/qa:comprehensive_10x --focus testing
```
- Global testing intelligence research
- Industry-leading test architecture
- Coverage benchmarking vs leaders
- Complete strategy documentation
**Security Audit Mode** (Full security_audit_10x):
```bash
/qa:comprehensive_10x --focus security
```
- Threat intelligence gathering
- Multi-layer security assessment
- Compliance validation
- Enterprise security patterns
**Performance Mode** (Additional capability):
```bash
/qa:comprehensive_10x --focus performance
```
**Quick Mode** (Rapid assessment):
```bash
/qa:comprehensive_10x --quick # Essential checks only
```
### π₯ **COMPLETE UNIFIED WORKFLOW** (All Depth Preserved)
### **Phase 1: QA Intelligence Foundation**
```yaml
ALL MODES INCLUDE:
Historical Context:
- /intelligence:retrieve_conversation_context_10x --topic "qa"
Foundation Setup:
- /qa:test_foundation_10x --setup
Mode-Specific Intelligence:
- Quality: Enterprise quality standards research
- Testing: Global testing methodologies
- Security: Threat intelligence gathering
```
### **Phase 2: Mode-Specific Deep Execution**
**QUALITY FOCUS (Full analyze_quality_10x functionality):**
```yaml
PARALLEL INTELLIGENCE GATHERING - Launch 4 Quality Sub-Agents:
Standards Research Agent:
- cached_websearch_10x: "[tech_stack] code quality standards enterprise 2024"
- fetch: Enterprise quality frameworks and methodologies
- memory: Previous quality assessments and patterns
Pattern Analysis Agent:
- github: Quality patterns from top-rated projects
- github: Code quality tools and configurations
- cached_websearch_10x: "best [tech_stack] code quality tools 2024"
Benchmarking Agent:
- cached_websearch_10x: "[tech_stack] quality benchmarks industry leaders"
- fetch: Quality metrics and KPI frameworks
- cached_websearch_10x: "technical debt measurement methodologies"
Assessment Tools Agent:
- cached_websearch_10x: "automated code quality assessment tools"
- github: Quality analysis tool configurations
- fetch: Quality assessment automation guides
SYNCHRONIZATION: Aggregate all intelligence before analysis
PARALLEL COMPREHENSIVE ASSESSMENT - Execute 6 Analysis Streams:
Stream 1: Multi-dimensional analysis (maintainability, readability, complexity)
Stream 2: Benchmark-driven metrics vs industry leaders
Stream 3: Enterprise standards validation + Technical debt quantification
Stream 4: Documentation quality analysis + Architecture quality assessment
Stream 5: Test coverage evaluation + Security posture review
Stream 6: Performance impact analysis + Scalability assessment
CRITICAL PARALLEL DIRECTIVE:
"You have the capability to call multiple tools in a single response.
Execute ALL research agents SIMULTANEOUSLY, then run ALL assessment
streams IN PARALLEL for maximum efficiency."
Quality Outputs:
- Knowledge/quality/code_quality_analysis_[timestamp].md
- Knowledge/quality/quality_benchmarks_[timestamp].md
- Instructions/quality/improvement_roadmap_[timestamp].md
- Knowledge/patterns/quality_patterns_[timestamp].md
```
**TESTING FOCUS (Full test_strategy_10x functionality):**
```yaml
PARALLEL TESTING INTELLIGENCE - Launch 5 Testing Sub-Agents:
Best Practices Agent:
- cached_websearch_10x: "[tech_stack] testing best practices 2024 industry leaders"
- cached_websearch_10x: "testing pyramid 2024 proportions recommendations"
- fetch: Testing methodology guides from FAANG companies
Framework Research Agent:
- github: Top 20 projects testing patterns and frameworks
- github: Testing tool configurations and setups
- cached_websearch_10x: "best [tech_stack] testing frameworks 2024"
Automation Strategy Agent:
- cached_websearch_10x: "test automation architecture patterns"
- fetch: CI/CD testing integration guides
- github: Test automation pipeline examples
Performance Testing Agent:
- cached_websearch_10x: "performance testing frameworks [tech_stack]"
- fetch: Load testing and benchmarking guides
- github: Performance testing implementations
Security Testing Agent:
- cached_websearch_10x: "security testing integration patterns"
- fetch: Security testing methodologies
- memory: Historical test strategies and security patterns
SYNCHRONIZATION: Aggregate all testing intelligence
PARALLEL STRATEGY DEVELOPMENT - Execute 6 Development Streams:
Stream 1: Testing pyramid with industry proportions + Coverage targets
Stream 2: Performance testing frameworks + Security testing integration
Stream 3: Test automation architecture + CI/CD integration planning
Stream 4: Test data management strategy + Test environment specifications
Stream 5: Quality gates and validation criteria + Regression testing strategy
Stream 6: Monitoring and reporting framework + Continuous improvement process
CRITICAL PARALLEL DIRECTIVE:
"Execute ALL 5 testing intelligence agents SIMULTANEOUSLY, then develop
ALL 6 strategy components IN PARALLEL for comprehensive test planning."
Testing Outputs:
- Instructions/testing/comprehensive_test_strategy_[timestamp].md
- Instructions/testing/test_automation_plan_[timestamp].md
- Knowledge/patterns/testing_patterns_[timestamp].md
- Instructions/testing/coverage_targets_[timestamp].md
```
**SECURITY FOCUS (Full security_audit_10x functionality):**
```yaml
PARALLEL THREAT INTELLIGENCE - Launch 6 Security Sub-Agents:
Vulnerability Research Agent:
- cached_websearch_10x: "[tech_stack] security vulnerabilities 2024 OWASP"
- cached_websearch_10x: "latest CVE [tech_stack] critical vulnerabilities"
- fetch: OWASP Top 10 latest updates and guidelines
Pattern Analysis Agent:
- github: Security patterns from high-security projects
- github: Security tool configurations and implementations
- cached_websearch_10x: "enterprise security architecture patterns"
Compliance Research Agent:
- fetch: Security frameworks and compliance guides
- cached_websearch_10x: "GDPR SOC2 compliance [tech_stack] requirements"
- fetch: Industry-specific security standards
Threat Intelligence Agent:
- cached_websearch_10x: "2024 threat landscape [domain] industry"
- fetch: Threat modeling methodologies
- memory: Previous security assessments and patterns
Tools & Scanning Agent:
- cached_websearch_10x: "automated security scanning tools [tech_stack]"
- github: Security testing and vulnerability scanning setups
- fetch: Security automation frameworks
Infrastructure Security Agent:
- cached_websearch_10x: "cloud security best practices [cloud_provider]"
- fetch: Infrastructure security hardening guides
- cached_websearch_10x: "container security [tech_stack] best practices"
SYNCHRONIZATION: Aggregate all threat intelligence
PARALLEL SECURITY ASSESSMENT - Execute 8 Analysis Streams:
Stream 1: Multi-layer security analysis + OWASP Top 10 validation
Stream 2: Dependency vulnerability scanning + Supply chain security
Stream 3: Infrastructure security review + Access control validation
Stream 4: Data protection assessment + Encryption validation
Stream 5: Compliance checking (GDPR, SOC2, etc.) + Regulatory alignment
Stream 6: Threat modeling and risk assessment + Attack surface analysis
Stream 7: Authentication and authorization review + Session management
Stream 8: Monitoring and incident response + Security logging
CRITICAL PARALLEL DIRECTIVE:
"Launch ALL 6 security intelligence agents SIMULTANEOUSLY, then execute
ALL 8 assessment streams IN PARALLEL for comprehensive security audit."
Security Outputs:
- Knowledge/security/threat_assessment_[timestamp].md
- Knowledge/security/vulnerability_report_[timestamp].md
- Instructions/security/remediation_plan_[timestamp].md
- Knowledge/security/compliance_status_[timestamp].md
```
### π **INTELLIGENT QA ENGINE**
**3.1 Unified Analysis Framework**
```python
def comprehensive_qa(focus, options):
# Always setup foundation
test_foundation_setup()
# Execute based on focus
if focus == "all":
results = {
'quality': analyze_quality(),
'testing': execute_tests(),
'security': security_audit(),
'performance': performance_check()
}
else:
results = execute_focused_qa(focus)
# Generate unified report
return generate_qa_report(results)
```
**3.2 Smart Test Orchestration**
```yaml
Automatic Test Selection:
- Detects project type
- Runs relevant test suites
- Skips inapplicable tests
- Optimizes execution order
```
### π **REPLACES THESE COMMANDS**
- β `/qa:analyze_quality_10x` β Use `--focus quality`
- β `/qa:test_strategy_10x` β Use `--focus testing`
- β `/qa:security_audit_10x` β Use `--focus security`
- β Multiple specialized QA workflows
### π― **INTEGRATED FEATURES**
**ML-Enhanced Analysis:**
```yaml
All Modes Include:
- Pattern matching from history
- Predictive issue detection
- Automated recommendations
- Success probability scoring
```
**Continuous Integration:**
```yaml
CI/CD Ready:
- Returns standardized exit codes
- Generates CI-compatible reports
- Supports parallel execution
- Integrates with pipelines
```
### π **UNIFIED REPORTING**
```markdown
# QA Report - [TIMESTAMP]
## Overall Score: [A-F Grade]
### Quality Metrics
- Code Quality: 92/100
- Test Coverage: 87%
- Security Score: A
- Performance: Optimal
### Critical Issues: [Count]
[Prioritized list]
### Recommendations
[AI-generated improvements]
### Next Steps
[Automated action items]
```
### π§ **BENEFITS**
- **One command** for all QA needs
- **60% faster** than running separate commands
- **Consistent standards** across all checks
- **Intelligent prioritization** of issues
**EXECUTE**: Comprehensive QA with focused analysis and unified reporting!