agentleFS
YauhenBichelYauhenBichel/engineering-skills/skills/design-architecture/SKILL.md

design-architecture

Skill0 starsChanged 55 days agoApache-2.0View on GitHub

Designs the structure of a system or component: parts, responsibilities, data flow, interfaces. Use for new systems or large changes.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Steps

  1. State constraints: target load, latency budget, data volume, team size, and runtime environment.
  2. Draft two architectures. Compare cost, complexity, and scalability. Recommend one.
  3. Define components. Assign exactly one responsibility per component. Name interfaces (e.g., api/v1/, gRPC proto).
  4. Map data flow. Mark sync vs async paths. Pin state location (e.g., state/ dir, Redis, SQLite).
  5. List failure modes. Attach retries, fallbacks, circuit breakers, or degradation paths.
  6. Generate a mermaid diagram. Show components, state stores, and failure routes.
  7. Validate against constraints. Cut scope if latency or cost exceeds limits.

Checklist

  • Constraints explicitly stated with numbers
  • Two options compared with clear trade-offs
  • Each component has exactly one responsibility
  • State location defined for every path
  • Failure modes mapped to specific handlers
  • Mermaid diagram matches described flow
  • Scope trimmed to meet latency/cost limits

Output

  • Constraint list and chosen architecture
  • Component table with responsibilities and interfaces
  • Mermaid diagram and state map
  • Failure handling matrix

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.