solution-architecture
Skill2 starsChanged 2 months agoMITView on GitHub
[discovery-phase pack · scoping] High-level solution design as a discovery deliverable — system context, logical components, data flow, integrations, NFRs (perf/scale/security/SLA), and tech-stack rationale. Not detailed design; feeds estimation and surfaces tech risks. Produces solution-architecture.md. Reads scope-doc.md, mvp-definition.md, risk-assumption-map.md.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- bookchaowalit/platform-agent-skillstheir own version, first seen Oct 20, 2026
- hangljoe/AI-PreSales-Skillstheir own version, first seen Sep 28, 2026
- chinthakat/agent-skillstheir own version, first seen Sep 21, 2026
- SuShuheng/making-thingstheir own version, first seen Jul 16, 2026
- patonkikh/APEStheir own version, first seen Jul 3, 2026
- xmllint/sre-project-pipeline-skillstheir own version, first seen Jun 5, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- patonkikh/APES★ 3same name
- hangljoe/AI-PreSales-Skills★ 1same name
- SuShuheng/making-things★ 1same name
- bookchaowalit/platform-agent-skills★ 0same name
- chinthakat/agent-skills★ 0same name
- xmllint/sre-project-pipeline-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- agents-mdSkill
- agent-workflow-engineeringSkill
- analyze-architectureSkill
- architecture-auditSkill
- ask-mattSkill
- check-readinessSkill
- ci-cd-and-automationSkill
- codebase-contextSkill
- decision-memorySkill
- delegation-protocolSkill
- dependency-analysisSkill
- diagnosing-bugsSkill
- dispatching-parallel-agentsSkill
- documentation-maintenanceSkill
- engineering-closeoutSkill
- environment-discoverySkill
- github-pr-workflowSkill
- implementSkill
- interview-meSkill
- parallel-feature-developmentSkill
- planning-and-task-breakdownSkill
- project-contextSkill
- project-retrospectiveSkill
- release-managementSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- synthesize-project-contextSkill
- task-intakeSkill
- workflow-definitionSkill
- workflow-runnerSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Read discovery-context.md (sections 2.
- Very specific: line 27
If scope-doc.md is missing, recommend feature-scoping first — architecture without a defined scope drifts into "general platform" territory …
- Very specific: line 29
If discovery-context.md is missing, ask inline: "(a) any client-mandated tech constraints (cloud, language, vendor)?
- Distinctive: line 33
Write a single system context diagram in text or Mermaid: the system in the middle, actors on one side, external systems on the other.
- Very specific: line 80
If any cell is ?, it's either an open question for the client or a research task.
- Very specific: line 99
If the client hasn't stated an NFR, state your assumption and tag it [ASSUMED] — don't pretend NFRs don't exist.
- Distinctive: line 110
Avoid tech religion. If two stacks are equivalent on the first three, pick the one with cheaper ops.
- Distinctive: line 116
If 3+ new HIGH risks appear, the architecture is fragile — loop back, simplify, or escalate to the client.
- Distinctive: line 128
If 2+ tests fail, the architecture isn't discovery-ready.
- Distinctive: line 141
Hidden integrations: Every line in the system context diagram has cost.
- Distinctive: line 144
Skipping operational concerns: No deployment / observability / recovery plan = surprise costs in delivery.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Solution Architecture
Part of the discovery-phase skill pack ·
scopinggroup · readsscope-doc.md(runfeature-scopingfirst if missing) and feedsestimation.
Produces a discovery-grade architecture: enough detail to estimate effort, surface technical risks, and explain choices to the client — but not detailed design. Detailed design happens in delivery, not here. Where the BA isn't a tech lead, this skill is best run pair-mode with an architect; otherwise it produces vague boxes-and-arrows.
Step 1 — Read context + scope
Read discovery-context.md (sections 2. Product / Initiative, 6. Constraints, 7. Tech Context), then scope-doc.md (or mvp-definition.md if MVP track), then risk-assumption-map.md.
If scope-doc.md is missing, recommend feature-scoping first — architecture without a defined scope drifts into "general platform" territory and stops being useful for estimation.
If discovery-context.md is missing, ask inline: "(a) any client-mandated tech constraints (cloud, language, vendor)? (b) integration list — what must this connect to? (c) team's existing stack expertise?" — tag unknowns [ASSUMED].
Step 2 — System context (one diagram, in text)
Write a single system context diagram in text or Mermaid: the system in the middle, actors on one side, external systems on the other. This is the C4 "Level 1" view — no internals.
flowchart LR
user[End User]
admin[Admin]
system[<<system under discovery>>]
payment[Payment Provider]
crm[Client CRM]
user --> system
admin --> system
system --> payment
system --> crmExplicitly state what's out of scope for this system (e.g., "billing UI is consumed from existing client portal, not built here"). Out-of-scope boundaries are where most estimation surprises hide.
Step 3 — Logical components (3-7)
Decompose the system into 3-7 logical components — single-responsibility boxes. For each:
- Name —
<component>(e.g.,auth-service,event-ingestion,report-generator) - Responsibility — one sentence, one job
- Owns data? — yes / no / shared
- Talks to — which other components / external systems
- New or existing? — building from scratch / extending existing client component / adopting a library
3 = too coarse to estimate, 7+ = pre-mature decomposition. If you need 8+, you're in detailed design — wrong skill.
Step 4 — Critical data flows (top 2-3)
Pick the 2-3 most critical or highest-risk flows and walk through them step by step. Examples:
- "User submits an order" — synchronous, must be ACID, 99.9% target
- "Daily reconciliation" — batch, eventually consistent, recoverable
- "Real-time dashboard update" — event-driven, lossy OK
For each flow, note: sync vs async, failure mode, expected latency / volume. These three properties drive infra cost more than feature count and are usually missing from estimations.
Step 5 — Integrations + auth model
For every external system the architecture touches:
| Integration | Direction | Protocol | Auth model | Data ownership | Rate limits / SLA |
If any cell is ?, it's either an open question for the client or a research task. Do not invent rate limits or SLAs — vendor docs are the source of truth.
Auth model gets a separate paragraph: who issues identity, who validates, where session lives, SSO requirements. Auth is the most under-estimated piece in agency proposals.
Step 6 — Non-functional requirements (NFRs)
Concrete, measurable. No "fast", "secure", "scalable" — those are aspirations.
| NFR | Target | Source |
| Availability | <99.5% / 99.9% / 99.99%> | Client-stated or industry standard |
| Latency (p95) | <Xms for action Y> | UX requirement or benchmark |
| Throughput | <N rps / M events/sec> | Forecast or current peak × growth |
| Scale ceiling | <users / data volume / TPS> | Year-1 vs year-3 projections |
| Security / compliance | <SOC2 / GDPR / HIPAA / PCI / none> | Regulatory + client policy |
| Data retention | <duration + reason> | Compliance + product need |
| Observability | <logs / metrics / traces minimum> | Operational requirement |
| Recovery | <RTO / RPO> | Business continuity |
If the client hasn't stated an NFR, state your assumption and tag it [ASSUMED] — don't pretend NFRs don't exist. Unstated NFRs become contract disputes in delivery.
Step 7 — Tech-stack rationale
For each major choice (language, framework, database, queue, deployment target), write 1-2 sentences of rationale anchored on:
- Constraints — client mandate, existing system, regulatory
- Team skills — what the agency / client team can actually operate
- Fit-for-purpose — why this tech matches the workload (not "it's modern")
- Operational cost — license, hosting, ops effort
Avoid tech religion. If two stacks are equivalent on the first three, pick the one with cheaper ops. Always note the alternatives considered and why rejected — this is what a good architecture review looks for.
Step 8 — Risk surface update
Re-read risk-assumption-map.md. Add any new technical risks surfaced during architecture work (e.g., "third-party SLA below our target", "no existing team experience with X"). For each existing tech risk in the map, note whether the proposed architecture mitigates, accepts, or amplifies it.
If 3+ new HIGH risks appear, the architecture is fragile — loop back, simplify, or escalate to the client.
Step 9 — Pressure test (5 checks)
| Test | Question | Fix |
| Estimable | Can estimation derive effort from this without inventing? | Add missing components, NFRs, integrations |
| Scope-aligned | Does every component map to a scope item? Any orphan boxes? | Drop or justify; orphans = scope creep |
| Constraint-honest | Respects client-stated constraints (cloud, vendor, lang)? | Re-architect or surface as a contract negotiation |
| NFR-grounded | Are NFRs targets numerical, not aspirational? | Replace adjectives with numbers |
| Risk-linked | Does it touch every HIGH risk in the assumption map? | Mitigate, accept, or amplify each — explicitly |
If 2+ tests fail, the architecture isn't discovery-ready. Loop back rather than feeding shaky inputs into estimation.
Step 10 — Write artifact
Output: ./discovery/solution-architecture.md — see ./template.md.
Append to _log.md: [solution-architecture | YYYY-MM-DD] components: <N>; integrations: <M>; nfr_count: <K>; new_risks: <L>; assumed_count: <P>.
Anti-patterns
- Detailed design. Class diagrams, ORM schemas, API contracts — wrong skill, wrong phase. Discovery architecture is C4 Level 1-2 max.
- Tech-stack religion. "We always use X" without rationale tied to constraints/skills/fit.
- Aspirational NFRs. "Fast, secure, scalable" is not an NFR. Numbers or
[ASSUMED]. - Hidden integrations. Every line in the system context diagram has cost. Enumerate or under-estimate.
- Architecture without scope. Producing this skill before
feature-scopingproduces "platform diagrams" that never match what's being built. - Over-decomposition. 12 microservices in discovery is fan-fiction. Stay coarse.
- Skipping operational concerns. No deployment / observability / recovery plan = surprise costs in delivery.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

