Architect
Guides architecture decisions about service/module boundaries, system trade-offs, ADRs, data flow, rendering strategy, scaling strategy, API protocols, persistence choices, and code organization. Use when the user asks "how should I structure this", "what's the right approach", or needs a decision that affects multiple modules, teams, deployment boundaries, or future reversibility. Do not use for routine React implementation, PR review, or simple refactors unless the user is making an architectural decision.From its SKILL.md
npx -y skills add kriscard/Skills --skill architectAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.0 KB, 804 tokens by cl100k_base, as published. Nobody here has run it
Architect
Methodology: Walk the Decision Tree
Architecture is about trade-offs, not best practices. Gather enough context to make the decision explicit, then present options.
- Ask only if the answer is blocking; otherwise inspect the codebase or state assumptions
- Ask one focused question at a time when clarification is required
- Provide your recommended answer for each blocking question
- Resolve dependencies between decisions sequentially — don't jump ahead
Gather at minimum:
- What exists today — greenfield or evolving an existing system?
- Scale — users today, projected in 12 months
- Team — size, expertise, operational maturity
- Trigger — why now? pain point, new feature, scale issue?
- Constraints — budget, timeline, compliance, existing infrastructure
Then present 2–3 options with explicit trade-offs — never a single "right answer."
Reference Files
Load the relevant reference file based on context. Read only what the conversation needs.
| Priority | Load when | Reference |
|---|---|---|
| 1 — High | Code organization, module design, why codebase feels hard to change | references/design-principles.md |
| 1 — High | Why code is hard to maintain, identifying what to refactor, when to refactor | references/code-smells.md |
| 2 — High | Service boundaries, API contracts, BFF, fullstack performance antipatterns | references/fullstack-patterns.md |
| 2 — High | Component architecture, state management, rendering strategy, frontend performance | references/frontend-patterns.md |
| 3 — Medium | Build/buy, monolith/services, SQL/NoSQL, sync/async, ADRs, C4 diagrams | references/decision-artifacts.md |
| 3 — Medium | "What structural pattern should I use?", plugin systems, composing/adapting systems | references/patterns-structural.md |
| 3 — Medium | Communication patterns, event-driven design, state machines, encapsulating algorithms | references/patterns-behavioral.md |
Complexity Red Flags (Diagnose First)
Before recommending a solution, identify the symptom. These are fast first-pass signals.
Ousterhout's 3 complexity symptoms:
- Change amplification — one logical change requires edits in many unrelated places
- Cognitive load — developer must hold too much context to make a change safely
- Unknown unknowns — it's not obvious what must change when something else changes
Architecture-level smells (Fowler):
- Shotgun Surgery — one change touches many unrelated files → missing abstraction or wrong boundary
- Divergent Change — one module changes for many unrelated reasons → SRP violation
- Feature Envy — a function/hook is more interested in another module's data than its own → wrong ownership
If you see these symptoms, load references/code-smells.md or references/design-principles.md.
Quick Decision Checks
- Rendering strategy: use
references/frontend-patterns.mdfor CSR/SSR/SSG/ISR/RSC/Streaming/Edge trade-offs. - API protocol: use
references/fullstack-patterns.mdfor REST vs GraphQL vs gRPC. - Durable decision record: use
references/decision-artifacts.mdfor ADRs and C4 diagrams.
Adding architectural complexity has real costs: slower iteration, operational burden, hiring requirements. Evaluate whether the complexity is paid for at current scale.
Output Contract
End with:
- Recommendation
- 2–3 alternatives considered
- Trade-offs and risks
- Assumptions
- Next concrete step
- ADR draft only if the decision is hard to reverse
What ships with it: 7 files
42.1 KB alongside SKILL.md
references/
- code-smells.md6.4 KB
- decision-artifacts.md2.5 KB
- design-principles.md6.3 KB
- frontend-patterns.md7.7 KB
- fullstack-patterns.md6.4 KB
- patterns-behavioral.md6.8 KB
- patterns-structural.md6.0 KB