architecture
Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install lchenrique-politron-ide-architecture
Repository
Skill path: .agent/skills/architecture
Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.
Open repositoryBest for
Primary workflow: Design Product.
Technical facets: Full Stack, Data / AI, Designer.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: lchenrique.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install architecture into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/lchenrique/politron-ide before adding architecture to shared team environments
- Use architecture for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
--- name: architecture description: Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design. allowed-tools: Read, Glob, Grep --- # Architecture Decision Framework > "Requirements drive architecture. Trade-offs inform decisions. ADRs capture rationale." ## π― Selective Reading Rule **Read ONLY files relevant to the request!** Check the content map, find what you need. | File | Description | When to Read | |------|-------------|--------------| | `context-discovery.md` | Questions to ask, project classification | Starting architecture design | | `trade-off-analysis.md` | ADR templates, trade-off framework | Documenting decisions | | `pattern-selection.md` | Decision trees, anti-patterns | Choosing patterns | | `examples.md` | MVP, SaaS, Enterprise examples | Reference implementations | | `patterns-reference.md` | Quick lookup for patterns | Pattern comparison | --- ## π Related Skills | Skill | Use For | |-------|---------| | `@[skills/database-design]` | Database schema design | | `@[skills/api-patterns]` | API design patterns | | `@[skills/deployment-procedures]` | Deployment architecture | --- ## Core Principle **"Simplicity is the ultimate sophistication."** - Start simple - Add complexity ONLY when proven necessary - You can always add patterns later - Removing complexity is MUCH harder than adding it --- ## Validation Checklist Before finalizing architecture: - [ ] Requirements clearly understood - [ ] Constraints identified - [ ] Each decision has trade-off analysis - [ ] Simpler alternatives considered - [ ] ADRs written for significant decisions - [ ] Team expertise matches chosen patterns --- ## Skill Companion Files > Additional files collected from the skill directory layout. ### examples.md ```markdown # Architecture Examples > Real-world architecture decisions by project type. --- ## Example 1: MVP E-commerce (Solo Developer) ```yaml Requirements: - <1000 users initially - Solo developer - Fast to market (8 weeks) - Budget-conscious Architecture Decisions: App Structure: Monolith (simpler for solo) Framework: Next.js (full-stack, fast) Data Layer: Prisma direct (no over-abstraction) Authentication: JWT (simpler than OAuth) Payment: Stripe (hosted solution) Database: PostgreSQL (ACID for orders) Trade-offs Accepted: - Monolith β Can't scale independently (team doesn't justify it) - No Repository β Less testable (simple CRUD doesn't need it) - JWT β No social login initially (can add later) Future Migration Path: - Users > 10K β Extract payment service - Team > 3 β Add Repository pattern - Social login requested β Add OAuth ``` --- ## Example 2: SaaS Product (5-10 Developers) ```yaml Requirements: - 1K-100K users - 5-10 developers - Long-term (12+ months) - Multiple domains (billing, users, core) Architecture Decisions: App Structure: Modular Monolith (team size optimal) Framework: NestJS (modular by design) Data Layer: Repository pattern (testing, flexibility) Domain Model: Partial DDD (rich entities) Authentication: OAuth + JWT Caching: Redis Database: PostgreSQL Trade-offs Accepted: - Modular Monolith β Some module coupling (microservices not justified) - Partial DDD β No full aggregates (no domain experts) - RabbitMQ later β Initial synchronous (add when proven needed) Migration Path: - Team > 10 β Consider microservices - Domains conflict β Extract bounded contexts - Read performance issues β Add CQRS ``` --- ## Example 3: Enterprise (100K+ Users) ```yaml Requirements: - 100K+ users - 10+ developers - Multiple business domains - Different scaling needs - 24/7 availability Architecture Decisions: App Structure: Microservices (independent scale) API Gateway: Kong/AWS API GW Domain Model: Full DDD Consistency: Event-driven (eventual OK) Message Bus: Kafka Authentication: OAuth + SAML (enterprise SSO) Database: Polyglot (right tool per job) CQRS: Selected services Operational Requirements: - Service mesh (Istio/Linkerd) - Distributed tracing (Jaeger/Tempo) - Centralized logging (ELK/Loki) - Circuit breakers (Resilience4j) - Kubernetes/Helm ``` ```