Architect system
Skill hungv47/meta-skills/forsvn-dev/skills/product/architect-system
Designs technical blueprints — tech stack selection, database schema, API design, file structure, and deployment plan for a defined product or feature. Produces `architecture/system-architecture.md`. Not for unclear requirements (use discover) or task decomposition (use breakdown-tasks). For user journey mapping, see map-user-flow. For code quality after building, see review-work.From its SKILL.md
npx -y skills add hungv47/meta-skills --skill architect-systemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 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
8.6 KB, ~1.8k tokens by cl100k_base, as published. Nobody here has run it
System Architecture Designer — Orchestrator
Transforms product specifications into a technical blueprint covering stack, schema, APIs, and deployment. Capability metadata (route triggers, prerequisites, load map, artifact contract) lives in routing.yaml. Methodology and history: references/playbook.md.
Core question: Will this still work at 10x scale with 10x team?
When To Use
- Defined product or feature needing a technical blueprint (stack, schema, API, infra, deployment).
- Major scale shift (10x growth) or migration to new core infrastructure.
- Greenfield, brownfield (extending existing system), or migration (replacing existing).
- Architecture re-run after significant spec change.
When NOT To Use
- Requirements fuzzy →
/discover. - Code-level cleanup →
/clean-code. - Task decomposition from existing architecture →
/breakdown-tasks. - UI/flow mapping →
/map-user-flow. - Existing code has the same operational mechanics duplicated across 2+ callers →
/extract-service.
Before Starting
| Artifact | Source | Required? |
|---|---|---|
research/product-context.md | research-icp | Recommended — product dims, voice, constraints |
docs/forsvn/artifacts/meta/specs/*.md | spec/PRD | Recommended — feature scope |
docs/forsvn/artifacts/product/flow/*.md | map-user-flow | Recommended — user types + flows |
docs/forsvn/experience/technical.md | (any skill) | Optional — stack history + constraints |
.forsvn/index/manifest.json | system | Optional — prior runs + downstream task state |
Apply references/_shared/before-starting-check.md. --fast forces single-agent regardless of scope; All 8 Critical Gates fire in every mode.
Pre-Dispatch
Run references/_shared/pre-dispatch-protocol.md. Needed dimensions: spec/PRD reference, scale targets (users / RPS / data), constraints (budget / team skills / latency / compliance), deployment context (greenfield / brownfield / migration). Full read-order + interview prompts: references/procedures/pre-dispatch.md.
Critical Gates — all 8 fire in every mode
Before delivering, the critic-agent verifies ALL of these pass:
- Every tech choice has a rationale (not just "it's popular").
- API endpoints exist for every user-facing feature.
- Database schema covers all entities mentioned in product spec.
- Deployment section includes complete env var list.
- File structure matches chosen framework conventions.
- Auth model covers all user roles and permission levels.
- At least one architectural trade-off is documented with alternatives considered.
- Every external dependency is classified (in-process / local-substitutable / remote-owned / true-external) per
references/dependency-classification.md.
Failure → critic identifies which agent must fix it; orchestrator re-dispatches with specific feedback. Revision-loop handling + 2-round limit: references/anti-patterns.md § "Revision loop".
Artifact Contract
- Path:
architecture/system-architecture.md(active); prior runs renamedsystem-architecture.v[N].md. - Lifecycle:
canonical— top-level folder; edited in place by humans + future runs; team's authoritative architecture record. - Frontmatter:
skill,version,date,status,stack(=product),review_surface(=html — the forsvn-preview review module renders the themed preview whiledecision_state: pending),decision_state,review_tool,reviewed_at,reviewer,lifecycle,produced_by,provenance. v2 schema inreferences/_shared/artifact-contract-template.md. - Required sections: 12 sections (§1 Overview → §12 Security Review) + §12a STRIDE + §12b OWASP + §12d false-positive log. §12c LLM/AI Security conditional. Not Included + Open Questions when applicable.
- Consumed by:
breakdown-tasks,review-work,clean-code,forsvn, operator.
Full template + section content + version-increment rule: references/report-template.md.
Chain Position
Previous: /discover or /map-user-flow (optional, both sharpen output) | Next: /breakdown-tasks (decomposes into tasks). Cross-stack: reads docs/forsvn/artifacts/meta/sketches/prioritize-*.md.
Re-run triggers: product spec changes significantly, scale requirements change (10x growth), migrating core infrastructure, adding major new integrations.
Dispatch
Multi-agent default (7 agents: stack-selection · infrastructure · schema · api · integration · scaling · critic). Single-agent fallback when mode-resolver downgrades to fast. Full execution layers, dispatch protocol, routing logic, and fallback steps: references/procedures/dispatch-mechanics.md. Per-agent role + file paths: references/agent-manifest.md.
Session execution profile (single-vs-multi): inherit per references/_shared/execution-policy.md.
Anti-Patterns
Read references/anti-patterns.md at every doubt — premature microservices, schema without queries, auth-as-afterthought, missing error states, "we'll add monitoring later," over-engineering for scale. Revision-loop handling + when-to-defer-instead-of-architecting also live there.
Durable Rules (protected)
<!-- SLOW_UPDATE_START --> <!-- No pinned rules yet. Populate via the slow-update workflow (see references/slow-update-fence.md). Each pinned rule must (a) be procedural not instance-specific, (b) be earned from a regression or critic-flagged failure, (c) cite the artifact / decision record that justified pinning. --> <!-- SLOW_UPDATE_END -->Completion Status
- DONE — full architecture written (stack, schema, API, infra, scaling), critic PASS, open questions listed.
- DONE_WITH_CONCERNS — written with scaling assumptions or stack tradeoffs flagged in Open Questions.
- BLOCKED — requirements contradict (budget vs scale, latency vs cost); needs user trade-off decision.
- NEEDS_CONTEXT — spec, prioritized initiatives, or user-flows missing; recommend
/discover,/prioritize, or/map-user-flowfirst.
Next Step
After delivery: the operator reviews + sets the decision via the forsvn-preview review module (/forsvn:review), decision_state. Approved → dispatch /breakdown-tasks to decompose into tasks. Suggested edits → re-run with feedback. Denied → loop back to /discover or /map-user-flow.
References
references/procedures/{pre-dispatch, dispatch-mechanics}.mdreferences/playbook.md,references/agent-manifest.md,references/anti-patterns.md,references/report-template.mdreferences/_shared/{pre-dispatch-protocol, before-starting-check, mode-resolver}.mdreferences/pre-dispatch-prompts.md,dependency-classification.md- Pattern catalogs (agent-consumed):
tech-stack-patterns.md,tech-stack-matrix.md,file-structure-patterns.md,database-patterns.md,api-patterns.md,auth-patterns.md,deployment-patterns.md,failure-modes.md,interaction-edge-cases.md,security-patterns.md - Walkthrough:
references/examples/saas-invoicing-walkthrough.md
What ships with it: 41 files
346.5 KB alongside SKILL.md, 6 of them executable
agents/
- api-agent.md5.8 KB
- critic-agent.md5.0 KB
- infrastructure-agent.md4.4 KB
- integration-agent.md4.8 KB
- scaling-agent.md7.0 KB
- schema-agent.md5.6 KB
- stack-selection-agent.md5.4 KB
- _template.md2.4 KB
references/
- agent-manifest.md2.9 KB
- anti-patterns.md3.0 KB
- api-patterns.md9.4 KB
- auth-patterns.md10.8 KB
- database-patterns.md12.2 KB
- dependency-classification.md3.4 KB
- deployment-patterns.md6.2 KB
- examples/saas-invoicing-walkthrough.md6.3 KB
- failure-modes.md2.2 KB
- file-structure-patterns.md6.2 KB
- interaction-edge-cases.md2.4 KB
- playbook.md8.9 KB
- pre-dispatch-prompts.md4.1 KB
- procedures/dispatch-mechanics.md3.0 KB
- procedures/pre-dispatch.md1.6 KB
- report-template.md5.7 KB
- security-patterns.md7.4 KB
- _shared/artifact-contract-template.md28.8 KB
- _shared/before-starting-check.md9.8 KB
- _shared/execution-policy.md7.0 KB
- _shared/manifest-spec.md29.2 KB
- _shared/mode-resolver.md11.0 KB
- _shared/pre-dispatch-protocol.md20.2 KB
- _shared/reviewable-artifact-contract.md13.3 KB
- tech-stack-matrix.md7.1 KB
- tech-stack-patterns.md5.7 KB
scripts/
- append-loop-result.tsruns7.4 KB
- bootstrap-experience.tsruns3.6 KB
- lib/path-parser.tsruns11.6 KB
- manifest-sync.tsruns33.1 KB
- scaffold-eval-loop.tsruns9.5 KB
- routing.yaml3.5 KB
1 more file not listed here. See all 41 in the repository.