agentleFS
mmccallammccalla/coding-agent-skill-library/skills/solution-architecture/SKILL.md

solution-architecture

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Shapes solution architecture with context, NFRs, options, decisions, C4-style views, risks and fitness functions. Use when choosing structure for a system or material change across services and platforms.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 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.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use documentation-and-adrs when the decision is already made and only needs a durable ADR or maintainer note.

    line 19
  2. Very specific:

    Use spec-driven-development for behaviour specs and acceptance criteria once the architecture direction is set.

    line 20
  3. Very specific:

    Use business-capability-modeling for stable business abilities and capability maps rather than technical solution structure.

    line 21
  4. Very specific:

    Use cloud-platform-architecture for landing zones, tenancy and shared platform foundations (when that skill is available).

    line 22
  5. Distinctive:

    Do not present a single option as inevitable without recording alternatives considered.

    line 78
  6. Distinctive:

    Do not omit NFRs or treat them as “non-functional” afterthoughts.

    line 79
  7. Distinctive:

    Do not skip Context and Container views when multiple systems or teams are involved.

    line 80
  8. Distinctive:

    Do not encode exceptions without an owner and review date.

    line 81
  9. Distinctive:

    Do not collapse business capability maps into deployment diagrams.

    line 82
  10. Distinctive:

    Do not claim TOGAF or C4 certification.

    line 83

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Solution Architecture

When to use

Use this skill when a problem needs an end-to-end solution shape: system context, non-functional requirements (NFRs), at least two credible options, a recorded decision, C4-style context and container views, risks, and governance through fitness functions or explicit exceptions. Apply it before large builds, platform choices or cross-team integrations.

When not to use

  • Use documentation-and-adrs when the decision is already made and only needs a durable ADR or maintainer note.
  • Use spec-driven-development for behaviour specs and acceptance criteria once the architecture direction is set.
  • Use business-capability-modeling for stable business abilities and capability maps rather than technical solution structure.
  • Use cloud-platform-architecture for landing zones, tenancy and shared platform foundations (when that skill is available).

Objective

Produce a practical solution architecture artefact that ties business context to technical structure: NFRs, compared options, a justified decision, C4-style context/container views, risks and how fitness functions or exceptions will keep the design honest over time.

Procedure

  1. Capture context: problem statement, stakeholders, constraints, assumptions and interfaces to existing systems. State what success looks like for users and operators.
  2. Elicit non-functional requirements (NFRs): availability, latency, throughput, security, privacy, cost, operability, accessibility and compliance expectations with measurable targets where possible.
  3. Develop at least two architecture options (prefer three when risk is high). For each option, describe structure, key technologies, trade-offs and how NFRs are met or deferred.
  4. Select a decision with explicit rationale, rejected alternatives and consequences. Link to an ADR when the decision must endure.
  5. Draw C4-style views: Context (system and actors) and Container (deployable/runtime units, major data stores and communication). Add component views only when they clarify a critical boundary.
  6. List risks, open questions and mitigations. Identify what must be proven early (spikes, prototypes, load or security tests).
  7. Define governance: fitness functions or automated checks that protect architectural characteristics, plus any approved exceptions with owners and review dates.

Required outputs

# Solution architecture: <initiative>

## Context
- Problem:
- Stakeholders:
- Constraints / assumptions:

## Non-functional requirements (NFRs)
| NFR | Target | Measurement |

## Options
### Option A
- Summary:
- Pros / cons:
### Option B
- Summary:
- Pros / cons:

## Decision
- Chosen option:
- Rationale:
- Consequences:
- ADR link (if any):

## C4-style views
- Context: (actors, system, external systems)
- Containers: (apps, services, data stores, queues)

## Risks and spikes
| Risk | Impact | Mitigation / proof |

## Governance and fitness functions
| Characteristic | Fitness function / check | Exception (owner, expiry) |

Rules

  • Do not present a single option as inevitable without recording alternatives considered.
  • Do not omit NFRs or treat them as “non-functional” afterthoughts.
  • Do not skip Context and Container views when multiple systems or teams are involved.
  • Do not encode exceptions without an owner and review date.
  • Do not collapse business capability maps into deployment diagrams; keep capability and solution concerns distinct then link them.
  • Do not claim TOGAF or C4 certification; use the methods as practical communication tools.

Related skills

  • documentation-and-adrs — durable decision records
  • spec-driven-development — behaviour specs after architecture direction
  • business-capability-modeling — business ability maps and ownership
  • cloud-platform-architecture — platform, tenancy and landing-zone design

References

Verification

  • Context, stakeholders and constraints are stated.
  • NFRs (non-functional requirements) have targets or explicit unknowns.
  • At least two options are compared and a decision is recorded.
  • C4-style context and container views are present.
  • Risks, spikes and mitigations are listed.
  • Governance, fitness functions or exceptions have owners.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.