Back to skills
SKILL.md
Tech Stack Review
ASecurityHigh-level architecture review evaluating directional correctness, documentation quality, and FBG tech stack alignment
- 8 stars
- 0 votes
- 0 copies
- 1 view
- Added September 20, 2026
Works with
Security analysis
100/100npx -y skills add tstapler/dotfiles --skill tech-stack-review --agent claude-codeAre you the author of Tech Stack Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tstapler-tech-stack-review)---
description: High-level architecture review evaluating directional correctness, documentation quality, and FBG tech stack alignment
---
# Tech Stack and Direction Review: ${1:-.}
Perform a high-level architecture review focusing on three key questions:
1. **Are we heading in the right direction architecturally?**
2. **Do we have the right documentation and diagrams?**
3. **Are we using the right technologies aligned with FBG standards?**
## Scope
Review scope: `${1:-.}` (defaults to entire project)
---
## FBG Supported Tech Stack Standards
The FBG (Fanatics Betting & Gaming) supported technology stack includes:
### **Infrastructure and Platform**
- **Cloud Provider**: AWS (Amazon Web Services)
- **Container Orchestration**: Amazon EKS (Elastic Kubernetes Service)
- **Service Mesh**: Istio (if applicable)
- **Infrastructure as Code**: Terraform, CloudFormation
### **Application Stack**
- **Primary Language**: Java (Java 17+)
- **Application Framework**: Spring Boot 3.x
- Spring Web / WebFlux (for reactive)
- Spring Data JPA
- Spring Security
- Spring Cloud (for microservices patterns)
- **Build Tools**: Gradle (preferred) or Maven
### **Data Storage**
- **Relational Database**: Amazon RDS PostgreSQL
- **Caching**: Amazon ElastiCache for Redis
- **Message Streaming**: Apache Kafka (MSK - Managed Streaming for Kafka)
### **Observability**
- **Metrics and Monitoring**: Datadog
- **Logging**: Datadog Logs
- **Tracing**: Datadog APM
- **Alerting**: Datadog Monitors
### **CI/CD and Development**
- **Version Control**: GitHub
- **CI/CD**: GitHub Actions
- **Container Registry**: Amazon ECR
- **Secrets Management**: AWS Secrets Manager
- **Configuration**: AWS Systems Manager Parameter Store
---
## Phase 1: Directional Correctness Review
### Architecture Direction Assessment
**Evaluate the following architectural aspects:**
1. **Microservices vs Monolith**
- [ ] Is the service boundary appropriate for the domain?
- [ ] Are services at the right granularity (not too fine, not too coarse)?
- [ ] Is there a clear bounded context for each service?
- [ ] Are inter-service dependencies minimal and well-defined?
- **Questions to Answer**:
- Should this be a microservice or part of a larger service?
- Are we creating a distributed monolith?
- Do service boundaries align with business domains?
2. **Data Architecture**
- [ ] Is data ownership clear (database per service pattern)?
- [ ] Are we avoiding distributed transactions where possible?
- [ ] Is caching strategy appropriate for access patterns?
- [ ] Is event-driven architecture used where appropriate?
- **Questions to Answer**:
- Should services share a database or own their data?
- Are we using Kafka events for inter-service communication correctly?
- Is our caching strategy (Redis) aligned with read/write patterns?
3. **Scalability and Performance**
- [ ] Can the application scale horizontally?
- [ ] Are there obvious bottlenecks in the design?
- [ ] Is database design optimized for expected load?
- [ ] Are caching strategies preventing database overload?
- **Questions to Answer**:
- Will this architecture handle expected scale (users, transactions, data volume)?
- Are we using reactive patterns (WebFlux) where high concurrency is needed?
- Is connection pooling (HikariCP, PGBouncer) configured correctly?
4. **Reliability and Resilience**
- [ ] Are circuit breakers implemented for external dependencies?
- [ ] Is retry logic appropriate and idempotent?
- [ ] Are timeouts configured at all integration points?
- [ ] Is graceful degradation possible?
- **Questions to Answer**:
- What happens when dependencies fail?
- Are we implementing resilience patterns (Resilience4j)?
- Is chaos engineering considered in design?
5. **Security Architecture**
- [ ] Is authentication and authorization handled correctly?
- [ ] Are secrets managed properly (AWS Secrets Manager)?
- [ ] Is data encrypted at rest and in transit?
- [ ] Are API gateways and service meshes securing inter-service communication?
- **Questions to Answer**:
- How are we handling authentication (JWT, OAuth)?
- Are we following least-privilege principles?
- Is PII/sensitive data protected?
### Directional Red Flags
**Watch for these anti-patterns:**
- ❌ **Over-Engineering**: Building for scale before it's needed
- ❌ **Under-Engineering**: Ignoring known scale/reliability requirements
- ❌ **Technology Proliferation**: Adding technologies outside FBG standards without justification
- ❌ **Distributed Monolith**: Microservices that are tightly coupled
- ❌ **Data Sprawl**: No clear data ownership or strategy
- ❌ **Synchronous Coupling**: Microservices making blocking calls to many other services
- ❌ **Missing Observability**: No instrumentation for debugging production issues
---
## Phase 2: Documentation and Diagram Assessment
### Required Documentation Checklist
**Architecture Documentation**:
- [ ] **System Context Diagram**: Shows system boundaries and external integrations
- Format: C4 Level 1 (Context)
- Shows: Users, external systems, boundaries
- Missing or outdated: [yes/no]
- [ ] **Container Diagram**: Shows high-level technology choices
- Format: C4 Level 2 (Container)
- Shows: Applications, databases, message queues, caches
- Missing or outdated: [yes/no]
- [ ] **Component Diagram**: Shows internal structure of key services
- Format: C4 Level 3 (Component)
- Shows: Controllers, services, repositories, domain models
- Missing or outdated: [yes/no]
- [ ] **Data Flow Diagrams**: Shows how data moves through the system
- Shows: API calls, events, data persistence
- Missing or outdated: [yes/no]
- [ ] **Deployment Diagram**: Shows infrastructure and runtime environment
- Shows: EKS clusters, RDS instances, ElastiCache, Kafka clusters
- Includes: Regions, availability zones, network topology
- Missing or outdated: [yes/no]
**Technical Documentation**:
- [ ] **Architecture Decision Records (ADRs)**
- Template: MADR or similar
- Coverage: Major technology and pattern choices
- Up-to-date: [yes/no]
- [ ] **API Documentation**
- Format: OpenAPI/Swagger specs
- Coverage: All REST endpoints
- Automated generation: [yes/no]
- [ ] **Database Schema Documentation**
- ERD diagrams for key entities
- Migration strategy documented
- Index strategy documented
- [ ] **Kafka Topic Documentation**
- Topic inventory
- Event schemas (Avro/JSON Schema)
- Producer/consumer mappings
- [ ] **Runbooks and Operations Guides**
- Deployment procedures
- Rollback procedures
- Common troubleshooting scenarios
- On-call playbooks
- [ ] **README Files**
- Project overview
- Local development setup
- Build and test instructions
- Deployment instructions
### Documentation Quality Assessment
**For each documentation artifact, evaluate:**
1. **Accuracy**: Is documentation current with the code?
2. **Completeness**: Does it cover all critical aspects?
3. **Clarity**: Is it understandable by the target audience?
4. **Maintainability**: Is it easy to keep up-to-date?
5. **Discoverability**: Can developers find it when needed?
**Identify Documentation Gaps**:
- Critical gaps: [list missing docs that block understanding/operations]
- Important gaps: [list missing docs that cause friction]
- Nice-to-have gaps: [list docs that would help but aren't critical]
### Diagram Tooling Recommendations
**Preferred Tools**:
- **Architecture Diagrams**: PlantUML, Mermaid, Draw.io, Lucidchart
- **C4 Diagrams**: Structurizr, PlantUML with C4 extension
- **Data Models**: DBeaver, ERD tools, dbdiagram.io
- **Sequence Diagrams**: PlantUML, Mermaid (in docs)
**Diagram-as-Code Benefits**:
- Version controlled alongside code
- Can be reviewed in pull requests
- Automated diagram generation possible
---
## Phase 3: Technology Stack Alignment
### Technology Compliance Assessment
**Evaluate current technology choices against FBG standards:**
#### Infrastructure and Platform
| Component | FBG Standard | Current Usage | Aligned? | Notes/Justification |
|-----------|-------------|---------------|----------|---------------------|
| Cloud Provider | AWS | [Auto-detect] | [Yes/No] | [Reason if No] |
| Container Orchestration | EKS | [Auto-detect] | [Yes/No] | [Reason if No] |
| IaC | Terraform/CFN | [Auto-detect] | [Yes/No] | [Reason if No] |
#### Application Stack
| Component | FBG Standard | Current Usage | Aligned? | Notes/Justification |
|-----------|-------------|---------------|----------|---------------------|
| Language | Java 17+ | [Auto-detect from pom.xml/build.gradle] | [Yes/No] | [Reason if No] |
| Framework | Spring Boot 3.x | [Auto-detect] | [Yes/No] | [Reason if No] |
| Build Tool | Gradle/Maven | [Auto-detect] | [Yes/No] | [Reason if No] |
#### Data Storage
| Component | FBG Standard | Current Usage | Aligned? | Notes/Justification |
|-----------|-------------|---------------|----------|---------------------|
| RDBMS | PostgreSQL (RDS) | [Auto-detect from config] | [Yes/No] | [Reason if No] |
| Cache | Redis (ElastiCache) | [Auto-detect from config] | [Yes/No] | [Reason if No] |
| Streaming | Kafka (MSK) | [Auto-detect from config] | [Yes/No] | [Reason if No] |
#### Observability
| Component | FBG Standard | Current Usage | Aligned? | Notes/Justification |
|-----------|-------------|---------------|----------|---------------------|
| APM/Monitoring | Datadog | [Auto-detect from dependencies] | [Yes/No] | [Reason if No] |
### Non-Standard Technology Review
**For any technology not in the FBG stack:**
1. **Technology**: [Name of non-standard tech]
- **Purpose**: [What problem does it solve?]
- **Justification**: [Why is FBG standard not suitable?]
- **Alternatives Considered**: [List FBG-compliant alternatives evaluated]
- **Risk Assessment**: [Operational risk, support concerns, skills gap]
- **Recommendation**: [Keep, Replace with FBG standard, Propose as new FBG standard]
2. **Technology**: [Name of non-standard tech]
- [Repeat analysis]
### Technology Debt Identification
**Identify outdated or problematic technology choices:**
- **Legacy Versions**: Libraries or frameworks that are outdated
- Java < 17
- Spring Boot < 3.x
- Postgres < 13
- **Deprecated Technologies**: Using technologies scheduled for retirement
- [List any deprecated tech in use]
- **Security Vulnerabilities**: Known CVEs in dependencies
- Run `mvn dependency-check:check` or `gradle dependencyCheckAnalyze`
- List critical/high severity vulnerabilities
---
## Phase 4: Comprehensive Review Report
### Executive Summary
Generate a concise executive summary answering the three key questions:
#### 1. Are we heading in the right direction architecturally?
**Overall Direction**: [On Track / Needs Adjustment / Significant Concerns]
**Key Strengths**:
- [List 2-3 positive directional choices]
**Key Concerns**:
- [List 2-3 directional issues requiring attention]
**Directional Recommendation**:
- [Overall guidance: Continue current path / Make specific adjustments / Consider pivot]
#### 2. Do we have the right documentation and diagrams?
**Documentation Coverage**: [Excellent / Good / Adequate / Insufficient]
**What We Have**:
- [List existing, up-to-date documentation]
**What We're Missing**:
- **Critical**: [List missing docs blocking effective development/operations]
- **Important**: [List missing docs causing friction]
**Documentation Recommendation**:
- [Prioritized list of documentation to create/update]
#### 3. Are we using the right technologies?
**Tech Stack Alignment**: [Fully Aligned / Mostly Aligned / Partially Aligned / Non-Compliant]
**Compliant Technologies**:
- [List FBG-standard technologies in use]
**Non-Compliant Technologies**:
- [List non-standard tech with justification assessment]
**Technology Recommendation**:
- [List tech to replace, migrate, or formally justify]
### Detailed Findings
**Architecture Direction**:
1. [Finding 1 with severity: Critical/High/Medium/Low]
- **Current State**: [Description]
- **Concern**: [Why this is an issue]
- **Recommendation**: [Specific action to take]
- **Impact**: [Effort and risk of change]
2. [Finding 2...]
**Documentation Gaps**:
1. [Gap 1 with severity]
- **Missing**: [What documentation is absent]
- **Impact**: [How this affects team]
- **Recommendation**: [What to create]
- **Effort**: [Estimated effort to create]
2. [Gap 2...]
**Technology Alignment**:
1. [Technology Issue 1 with severity]
- **Technology**: [Name]
- **Standard**: [FBG standard]
- **Gap**: [Deviation description]
- **Recommendation**: [Replace / Justify / Migrate]
- **Migration Path**: [If replacement needed]
2. [Technology Issue 2...]
### Prioritized Action Plan
**Immediate Actions (This Sprint)**:
1. [ ] [P0 item - critical directional or tech issue]
2. [ ] [P0 item - critical documentation gap]
**Short Term (Next 2-4 Weeks)**:
1. [ ] [P1 item - important directional adjustment]
2. [ ] [P1 item - key documentation creation]
3. [ ] [P1 item - high-priority tech stack alignment]
**Medium Term (1-3 Months)**:
1. [ ] [P2 item - architectural improvement]
2. [ ] [P2 item - documentation completion]
3. [ ] [P2 item - technology migration]
**Long Term (3-6 Months)**:
1. [ ] [P3 item - nice-to-have improvements]
2. [ ] [P3 item - comprehensive documentation]
### Decision Points Requiring Input
**Key Decisions Needing Resolution**:
1. **Decision**: [Description of architectural decision needed]
- **Options**: [List 2-3 options]
- **Recommendation**: [Preferred option with rationale]
- **Trade-offs**: [Analysis of each option]
- **Stakeholders**: [Who should be involved in decision]
2. **Decision**: [Next decision...]
---
## Phase 5: Execution Guidance
### Using Agents for Improvements
**For Detailed Architecture Analysis**: Use existing `/quality:architecture-review` command
```bash
# After this high-level review identifies issues, use the detailed review
/quality:architecture-review src/main/java/com/example/
```
**For Generating ADRs**: Create ADRs for key decisions identified
```markdown
# Example ADR template
# ADR-XXX: [Decision Title]
## Status
[Proposed | Accepted | Deprecated | Superseded]
## Context
[Describe the issue and the forces at play]
## Decision
[Describe the decision and its rationale]
## Consequences
[Positive and negative outcomes]
## Alternatives Considered
[List alternatives and why they weren't chosen]
```
**For Creating Diagrams**: Use diagram-as-code tools
```plantuml
# Example C4 Container Diagram
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Person(user, "User", "A user of the system")
System_Boundary(c1, "System Name") {
Container(web, "Web Application", "Spring Boot", "Delivers content")
ContainerDb(db, "Database", "PostgreSQL", "Stores data")
Container(cache, "Cache", "Redis", "Caches frequently accessed data")
}
@enduml
```
### Tech Stack Migration Strategies
**For Java Version Upgrades**:
1. Update build tool configuration (pom.xml/build.gradle)
2. Update language level in IDE and compiler
3. Run tests and fix compilation errors
4. Update CI/CD pipelines
5. Update container base images
**For Spring Boot Upgrades**:
1. Check Spring Boot 3.x migration guide
2. Update javax.* to jakarta.* namespace
3. Update dependencies to compatible versions
4. Test thoroughly (breaking changes are common)
**For Database Migrations**:
1. Document current database usage patterns
2. Plan migration strategy (dual-write, event streaming, etc.)
3. Test performance and compatibility
4. Plan rollback strategy
5. Execute phased migration
---
## Review Execution
### Step 1: Automated Discovery
- Use Grep/Read to detect technologies from config files
- Map dependencies from pom.xml/build.gradle
- Identify infrastructure from Terraform/CloudFormation
- Find documentation files
### Step 2: Directional Analysis
- Evaluate architecture against scale/reliability requirements
- Assess microservices boundaries and coupling
- Review data architecture and event flows
- Identify directional red flags
### Step 3: Documentation Audit
- Inventory existing documentation
- Assess quality and currency
- Identify critical gaps
- Recommend diagram-as-code approaches
### Step 4: Tech Stack Compliance
- Compare detected technologies against FBG standards
- Evaluate justifications for non-standard tech
- Identify migration paths for non-compliant tech
- Assess security and operational risks
### Step 5: Report and Recommendations
- Generate comprehensive report
- Prioritize findings by impact and effort
- Provide concrete action plan
- Identify key decision points
---
## Success Criteria
- ✅ Clear answer to "Are we heading in the right direction?"
- ✅ Complete documentation gap analysis with priorities
- ✅ Full tech stack compliance assessment
- ✅ Prioritized action plan (P0, P1, P2, P3)
- ✅ Identified key decisions requiring stakeholder input
- ✅ Concrete migration plans for non-compliant technologies
---
## Usage Examples
```bash
# Review entire project
/quality:tech-stack-review
# Review specific service
/quality:tech-stack-review services/payment-service
# Review with focus on documentation
/quality:tech-stack-review --focus=documentation
# Review with focus on tech compliance
/quality:tech-stack-review --focus=tech-stack
```
---
## Related Commands
- `/quality:architecture-review` - Detailed code-level architecture analysis (SOLID, Clean Architecture, DDD)
- `/code:implement` - Implement features following FBG standards
- `/plan:feature` - Plan features with architecture considerations
---
**Remember**: This is a high-level strategic review focused on direction, documentation, and tech stack alignment. For detailed code-level analysis, use `/quality:architecture-review`. The goal is to ensure the team is building the right thing, the right way, with the right tools.
Attribution
Related skills
View all in devops →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.