Comprehensive validation methodology for multi-component applications including backend, frontend, database, and infrastructure
This skill provides systematic approaches for validating full-stack applications with multiple interconnected components. It enables automatic detection of project structure, parallel validation workflows, cross-component verification, and identification of integration issues.
When to use: Full-stack projects with backend + frontend, microservices, monorepos, Docker Compose setups, or any multi-technology application.
Key innovation: Parallel validation with cross-component awareness - validates each layer independently while ensuring they work together correctly.
Monorepo Indicators:
package.json with workspaceslerna.json or nx.json presentpackage.json files in subdirectoriespnpm-workspace.yaml presentSeparate Repos Indicators:
Technology Stack Detection:
Backend:
- FastAPI: requirements.txt with 'fastapi', main.py with FastAPI app
- Django: manage.py, settings.py present
- Express: package.json with 'express', app.js/index.js
- Spring Boot: pom.xml or build.gradle with spring-boot
Frontend:
- React: package.json with 'react', src/App.tsx or src/App.jsx
- Vue: package.json with 'vue', src/App.vue
- Angular: package.json with '@angular/core', angular.json
- Svelte: package.json with 'svelte', src/App.svelte
Database:
- PostgreSQL: requirements.txt with 'psycopg2', docker-compose.yml with postgres
- MySQL: package.json with 'mysql2', docker-compose.yml with mysql
- MongoDB: package.json with 'mongoose', docker-compose.yml with mongo
- Redis: docker-compose.yml with redis, requirements.txt with 'redis'
Infrastructure:
- Docker: Dockerfile, docker-compose.yml present
- Kubernetes: k8s/ or kubernetes/ directory with .yaml files
- Terraform: .tf files present
- Nginx: nginx.conf present
Python/FastAPI Projects:
Dependency validation
Type checking
Test validation
API schema validation
Database migration validation
Node.js/Express Projects:
React + TypeScript Projects:
TypeScript validation
Dependency validation
Build validation
Code quality
API client validation
Vue/Angular Projects: Similar checklist adapted to framework specifics
Schema validation
Test isolation validation
Query validation
Docker Compose Projects:
Service health checks
Port conflict detection
Volume validation
Environment variable validation
Process:
Extract backend API schema
Extract frontend API client calls
Cross-validate
Auto-fix capabilities:
Process:
Collect all env var references
Cross-validate
Process:
Phase 1: Detection (Sequential)
āā Scan project structure
āā Identify all components
āā Determine validation workflows
Phase 2: Component Validation (Parallel)
āā Backend validation (background)
āā Frontend validation (background)
āā Database validation (background)
āā Infrastructure validation (background)
Phase 3: Cross-Component Validation (Sequential)
āā API contract validation (requires Phase 2 complete)
āā Environment variable validation
āā Authentication flow validation
Phase 4: Reporting (Sequential)
āā Aggregate results
āā Prioritize issues
āā Generate recommendations
Critical (š“): Blocks deployment, requires immediate fix
Warning (š”): Should be fixed, doesn't block deployment
Info (š¢): Nice to have, improves quality
TypeScript:
Python:
Configuration:
TypeScript:
Python:
Database:
Project Structure Patterns:
{
"project_type": "fullstack-monorepo",
"backend": "fastapi",
"frontend": "react-typescript",
"database": "postgresql",
"infrastructure": "docker-compose",
"patterns_detected": {
"api_versioning": "/api/v1",
"auth_method": "jwt",
"orm": "sqlalchemy",
"state_management": "react-query"
}
}
Common Issue Patterns:
{
"typescript_unused_imports": {
"frequency": 12,
"auto_fix_success_rate": 1.0,
"common_files": ["src/components/*.tsx"]
},
"sqlalchemy_raw_sql": {
"frequency": 5,
"auto_fix_success_rate": 1.0,
"pattern": "execute('SELECT ...') ā execute(text('SELECT ...'))"
},
"react_query_v4_syntax": {
"frequency": 3,
"auto_fix_success_rate": 0.9,
"pattern": "useQuery(['key'], fn) ā useQuery({queryKey: ['key'], queryFn: fn})"
}
}
Validation Performance Patterns:
{
"backend_validation_time": "15s",
"frontend_validation_time": "45s",
"bottlenecks": ["TypeScript compilation", "npm install"],
"optimization_opportunities": ["Use turbo for builds", "Cache dependencies"]
}
Automatic triggers:
/validate-fullstack commandManual triggers:
Combines with:
code-analysis: For structural analysis of each componentquality-standards: For quality benchmarkstesting-strategies: For test coverage validationpattern-learning: For capturing project-specific patternsvalidation-standards: For tool usage validationDelegates to agents:
frontend-analyzer: For detailed TypeScript/React validationapi-contract-validator: For API synchronizationbuild-validator: For build configuration issuestest-engineer: For test infrastructure fixesquality-controller: For comprehensive quality assessmentValidation effectiveness:
Quality improvements:
ā
Full-Stack Validation Complete (2m 34s)
š Component Status:
āā Backend (FastAPI + PostgreSQL)
ā āā ā
Dependencies: 42 packages, 0 conflicts
ā āā ā
Type hints: 98% coverage
ā āā ā ļø Tests: 45 passing, 42% coverage (target: 70%)
ā āā ā
API schema: 23 endpoints documented
ā
āā Frontend (React + TypeScript)
ā āā ā
Type check: 0 errors (auto-fixed 16)
ā āā ā
Build: 882KB bundle (optimized)
ā āā ā
Dependencies: 124 packages, 0 peer warnings
ā āā ā
Unused imports: 0 (auto-removed 5)
ā
āā Integration
āā ā
API contract: 23/23 endpoints matched
āā ā
Environment vars: 15/15 documented
āā ā
Auth flow: JWT tokens validated
š§ Auto-Fixed Issues (11):
ā Removed 5 unused TypeScript imports
ā Generated vite-env.d.ts
ā Added text() wrapper to 3 SQL queries
ā Fixed 2 React Query v5 syntax issues
ā ļø Recommended Actions (2):
1. Increase test coverage to 70% (currently 42%)
2. Add indexes to users.email and projects.created_at
šÆ Overall Score: 87/100 (Production Ready)