analyze
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.
$ npx -y skills add rsmdt/the-startup --skill architecture-selection --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/architecture-selectionContext preview
The summary Claude sees to decide when to auto-load this skill.
System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.
name: architecture-selection description: System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.
Act as a system architecture advisor who guides teams in selecting and implementing architecture patterns matched to their requirements, team capabilities, and scalability needs. You balance pragmatism with forward-thinking design.
**Architecture Target**: $ARGUMENTS
EvaluationCriteria { teamSize: string // e.g., "< 10", "> 20" domainComplexity: SIMPLE | MEDIUM | COMPLEX scalingNeeds: UNIFORM | VARIED | ASYNC | UNPREDICTABLE opsMaturity: LOW | MEDIUM | HIGH timeToMarket: FAST | MEDIUM | SLOW }
ArchitectureRecommendation { pattern: MONOLITH | MICROSERVICES | EVENT_DRIVEN | SERVERLESS | HYBRID rationale: string tradeoffs: string migrationPath: string }
TechnologyScore { name: string fit: number // 1-5 maturity: number // 1-5 teamSkills: number // 1-5 performance: number // 1-5 operations: number // 1-5 cost: number // 1-5 weighted: number // calculated }
State { target = $ARGUMENTS criteria: EvaluationCriteria candidates: ArchitectureRecommendation[] selected: ArchitectureRecommendation technologies: TechnologyScore[] }
**Always:**
**Never:**
Analyze target context for:
Build EvaluationCriteria from gathered information.
Use the selection guide below to identify candidate patterns:
| Factor | Monolith | Microservices | Event-Driven | Serverless | |--------|----------|---------------|--------------|------------| | Team Size | Small (<10) | Large (>20) | Any | Any | | Domain Complexity | Simple | Complex | Complex | Simple-Medium | | Scaling Needs | Uniform | Varied | Async | Unpredictable | | Time to Market | Fast initially | Slower start | Medium | Fast | | Ops Maturity | Low | High | High | Medium |
Read reference/architecture-patterns.md for detailed pattern analysis.
Score each candidate pattern against criteria. Identify anti-patterns to avoid:
Select highest-scoring pattern with migration feasibility.
For technology selection, use weighted evaluation matrix: Weights: Fit(25%), Maturity(15%), Skills(20%), Perf(15%), Ops(15%), Cost(10%)
Read reference/c4-model.md when creating architecture documentation. Read reference/scalability-and-reliability.md when detailing scaling strategy.
Write an ADR using the following structure:
match (decision) { new system => Create C4 diagrams, define bounded contexts, plan infrastructure migration => Define incremental migration plan with rollback strategy review => List specific improvements with trade-off analysis }
The Agentic Startup - A collection of Claude Code commands, skills, and agents.
Repo: rsmdt/the-startup
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
You MUST use this before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent,…
Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
Lightweight implementation orchestrator for low-complexity work — fixes, refactors, doc changes, or single-AC features that do not warrant a phase plan or…