senior-architect/SKILL.md
System architecture design, ADRs, dependency analysis, architecture pattern selection (monolith, microservices, CQRS, event sourcing, hexagonal), database and tech stack decision matrices. Use when making architecture decisions or evaluating system design.
npx skillsauth add lidge-jun/cli-jaw-skills senior-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Architecture design guidance: pattern selection, decision documentation, dependency analysis, and system evolution strategies.
# ADR-001: [Decision Title]
## Status
Accepted | Proposed | Deprecated | Superseded by ADR-XXX
## Context
What problem are we facing? What constraints exist?
## Decision
What did we decide and why?
## Consequences
- Positive: [benefits]
- Negative: [trade-offs accepted]
- Risks: [what could go wrong]
Store in: docs/adrs/ or docs/architecture/decisions/
| Requirement | Recommended Pattern | |---|---| | Rapid MVP development | Modular Monolith | | Independent team deployment | Microservices | | Complex domain logic | Domain-Driven Design | | High read/write ratio difference | CQRS | | Audit trail required | Event Sourcing | | Third-party integrations | Hexagonal (Ports & Adapters) |
| Pattern | Key Idea | Trade-off | |---------|----------|-----------| | Modular Monolith | Single deployment, clear module boundaries | Easy start, harder to scale independently | | Microservices | Independent services, own databases | Operational complexity, network latency | | CQRS | Separate read/write models | Complexity increase, eventual consistency | | Event Sourcing | Store events, not state | Full audit trail, replay capability; harder queries | | Hexagonal | Ports & adapters separate core from infra | Testable, swappable; more indirection |
| Signal | Healthy | Unhealthy | |--------|---------|-----------| | Direction | Unidirectional (A → B) | Circular (A → B → C → A) | | Coupling | Interface-based | Implementation-based | | Scope | Narrow (few imports) | Broad (importing internals) |
| Type | Best For | |------|----------| | PostgreSQL | Default for most apps. ACID, complex queries, JSON support | | MongoDB | Flexible schema, document-oriented, rapid prototyping | | Redis | Caching, sessions, real-time features | | DynamoDB | Serverless, auto-scaling, AWS-native | | TimescaleDB | Time-series with SQL |
| Question | Recommendation | |----------|---------------| | SEO required? | Next.js with SSR | | Internal dashboard? | React + Vite | | API-first backend? | FastAPI or Fastify | | Enterprise scale? | NestJS + PostgreSQL | | Rapid prototype? | Next.js API routes | | Real-time needed? | WebSocket layer (Socket.io, ws) |
development
Native Web UI structured renderer schemas for compose-block drafts, search-results cards, dataframe tables, chart-json charts, and diff output
tools
Unified search hub. Route any web/real-time/X lookup through a 4-tier escalation: built-in web search → cli-jaw browser CDP → progrok Grok OAuth → web-ai (Grok Expert / GPT Pro). Use for: search, 검색, web search, latest news, real-time info, X/Twitter, fact lookup, deep research.
development
UI/UX intent discovery, design vocabulary, product personalities, UX state patterns, typography line break judgment, favicon/product logo design, and logo trust section design. Use when user design direction is vague, when building onboarding/empty/error states, when setting up favicons or product logos, or when referencing a product aesthetic.
development
Canonical owner of module boundary rules, circular dependency detection/prevention, implicit coupling taxonomy, barrel/re-export discipline, and boundary-only defensive programming. Referenced by dev, dev-code-reviewer, dev-backend, dev-frontend stubs.