agentleFS
augments-labsaugments-labs/sdlc-skills/skills/design/system-architecture/SKILL.md

system-architecture

Skill1 starsChanged 4 months agoMITView on GitHub

Designs the target system for approved requirements: components, boundaries, data flow, failure and recovery, and which seams are worth their cost. Use when approved requirements need a system design before planning or implementation, or when the user asks how to structure this or what the moving pieces are. Skip the transition from an existing system and a small feature whose structure fits inside its own task or plan.

5 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

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow request, response, event, and sensitive-data paths from entry to effect.

    line 32
  2. Distinctive:

    Place a seam only for repeated behavior with a stable owner and measured change friction, or one real volatile or external boundary with …

    line 46
  3. Very specific:

    Write the immutable section to .sdlc-skills/designs/{{YYYY-MM-DD}}-{{topic}}.md or the user-set path, preserving approved sections around …

    line 56
  4. Very specific:

    Ask through the harness's user-input action when one exists, else print this block.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 4 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

System Architecture

Design the shape of the solution before anyone builds it: what the pieces are, how they fit, and where the seams go. Aim for deep modules, not a sprawl of shallow ones.

When to use

  • You have approved requirements and the work is non-trivial — a new subsystem, several components, real integration.
  • Skip for a small feature; keep its structure in the bounded task or plan rather than creating a separate architecture artifact.
  • This skill owns the target system's structure. migration-strategy owns how an existing system reaches that target; verification-strategy owns the initiative-wide proof battery.

Step 1: Trace and structure

Open assets/architecture-section.md before the steps below fill it in.

  1. Map every requirement, preserved obligation, and significant risk to the component, interface, and owning gate reference covering it. Define no assurance gates here. Look each gate reference up where its owner keeps it: a placeholder, an invented ID, or a gate that does not exist there leaves its row unmapped. Unmapped row → approval blocked.
  2. Name each module by what it does and does not do. Removing it would spread its complexity across callers → it stays. Complexity merely relocates → merge it.
  3. Follow request, response, event, and sensitive-data paths from entry to effect. Mark ownership, authorization boundaries, source-of-truth transitions.
  4. Per dependency and asynchronous path, write timeouts, retry and idempotency, degraded operation, recovery, how each is exercised.

Step 2: Operational views and seams

  1. Cover each view that affects correctness: deployment and runtime topology, scale and resource budgets, observability, rollout and compatibility capabilities. Transition procedure belongs to the migration contract; do not restate it.
  2. Omitted view → a skip record with the fields in the template's operational-views table. Never drop one as "inapplicable" without it.
  3. Place a seam only for repeated behavior with a stable owner and measured change friction, or one real volatile or external boundary with measured impedance, failure policy, or test isolation. Hypothetical variation earns none.
  4. Hard-to-reverse choice → invoke architecture-decisions. Unresolved design-changing choice → invoke clarifying-intent. Use the domain's language throughout.

Step 3: Write, review, present

  1. Write the immutable section to .sdlc-skills/designs/{{YYYY-MM-DD}}-{{topic}}.md or the user-set path, preserving approved sections around it. Fill the header: identity, predecessor, approval rule, the location of its ledger (append-only, outside the design), stable ID delta.
  2. Fill the classification block. Any answer off the ordinary route, or the user marks the work high-risk → run assets/design-review.md before presenting. Blocking.
  3. Present:

    {{Section}} {{path}} — version {{identity (per template)}}
    {{summary lines}}
    
    1. Approve and hand off to planning
    2. Request changes
    3. Reject
    4. Cancel
    
    Recommendation: {{option}} — {{one sentence}}.

    Ask through the harness's user-input action when one exists, else print this block; end the turn; clarifying-intent owns what closes it.

  4. Option 1, and every design section the work needs is approved → REQUIRED SUB-SKILL: invoke writing-plans against this version.

Gotchas

  • Step 1's mapping table needs a real owning gate for every row, but this skill defines no assurance gates itself. A row naming a placeholder or a gate its owner never defined still reads as mapped on the page; only the lookup in Step 1 shows it is unmapped.
  • The Skip condition in When to use is checked once, at intake. Nothing here re-checks it as scope grows, so a feature that starts small and later crosses into several components can stay embedded in its task plan instead of getting this skill's own architecture record.

Common mistakes

  • Shallow modules — an interface as wide as the implementation behind it.

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.