agentleFS
ES-92ES-92/esc/skills/architecture/SKILL.md

architecture

Skill0 starsChanged 4 months agoMITView on GitHub

Erstellt die technische Architektur und Solution Design von ESC. Stellt für jede nicht-triviale Entscheidung 2–3 Technologie-Optionen mit Pro/Contra gegenüber und hält sie als ADRs (Architecture Decision Records) mit Begründung fest. Use when requirements exist and the user says "Architektur", "technisches Design", "Tech-Stack wählen", "esc architecture", "ADR", or before breaking work into stories on a non-trivial project.

136 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, bash-linux and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 6 projects that use this

  • xenitV1Skill

    bash-linux

    Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

    Also in 8 projects that use this

  • xenitV1Skill

    red-team-tactics

    Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

    Also in 8 projects that use this

  • SKB3002Skill

    nextjs-react-expert

    React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.

    Also in 3 projects that use this

  • +8 more from xenitV1

The file

Files
SKILL.md

esc:architecture — Solution Design & ADRs

Ziel: das WIE festlegen — Tech-Stack, Struktur, Datenmodell, Schnittstellen — und jede wichtige Entscheidung mit Begründung und verworfenen Alternativen dokumentieren. Das ist der bewusste Gegenentwurf zum bekannten Problem „Empfehlung ohne Trade-off".

Sichtweise & Schärfe

Diese Phase wird aus der Architektur-Sicht geführt — Trade-offs & Einfachheit: „Welche Annahme trägt das? Was bereuen wir in 2 Jahren?" (${CLAUDE_PLUGIN_ROOT}/shared/viewpoints.md). An jeder ADR/jedem Gate greift die skeptische Sicht an; Tiefe nach level (${CLAUDE_PLUGIN_ROOT}/shared/intensity.md). Erarbeite Abschnitt für Abschnitt (${CLAUDE_PLUGIN_ROOT}/shared/coauthoring.md).

Lies zuerst

  • ${CLAUDE_PLUGIN_ROOT}/shared/elicitation.md, ${CLAUDE_PLUGIN_ROOT}/shared/principles.md
  • esc/state.yaml, esc/specs/prd.md (oder quick-spec), esc/specs/ux-spec.md, esc/specs/constitution.md
  • esc/specs/sources.md (bindende externe Quellen, falls vorhanden) — Geräte-/Schnittstellen-/Vorschriften-Vorgaben einhalten und zitieren
  • Bei Brownfield: bestehende Codebase scannen (Glob/Grep) — Stack, Muster, Konventionen erfassen.

Routing nach Level

  • Level 0/1: in der Regel keine Architektur — verweise auf esc:epics. Nur wenn eine echte Entscheidung ansteht, eine einzelne ADR erstellen.
  • Level 2: „leicht" — nur ADRs für die 1–3 nicht-trivialen Entscheidungen, kein volles Dokument.
  • Level 3/4: volles Architektur-Dokument + ADRs.

Ablauf

1. Architektur-Treiber sammeln

Leite aus PRD (besonders nicht-funktionalen Anforderungen) und Constitution die Treiber ab: Last/Skalierung, Konsistenz, Sicherheit/Compliance, Team-Erfahrung, Time-to-Market, Reversibilität. Bestätige sie mit dem Nutzer.

2. Entscheidungspunkte identifizieren

Liste die nicht-trivialen Entscheidungen (z. B. Persistenz, Sprache/Framework, Auth, Async/Queue, Hosting, Integrationsgrenzen). Triviales (offensichtlich aus Constitution/Brownfield) als gesetzt markieren, nicht künstlich diskutieren.

3. Je Entscheidung: Optionen mit Pro/Contra — GATE

Für jede nicht-triviale Entscheidung:

  1. 2–3 realistische Optionen nennen.
  2. Tabelle Option · Pro · Contra · Risiko (bei Bedarf via WebSearch aktuelle Fakten holen).
  3. Empfehlung mit Begründung gegen die Treiber.
  4. Pflicht-Vertiefung (Red-Team oder Pre-Mortem) auf die Empfehlung anwenden.
  5. Nutzer entscheiden lassen, dann ADR schreiben: esc/specs/architecture/decisions/ADR-NNNN-<slug>.md mit Status/Kontext/Entscheidung/Begründung/verworfene Alternativen/Konsequenzen. Auch ins decisions-Log in state.yaml spiegeln. Nach allen ADRs gates.architecture_adrs: true.

4. Architektur-Dokument (Level 3/4)

esc/specs/architecture/architecture.md: Überblick & Treiber · Systemkontext/Komponenten · Datenmodell (Kern-Entitäten & Beziehungen) · Schlüssel-Schnittstellen/APIs · Querschnitt (Auth, Fehler, Logging, Tests) · Verweise auf die ADRs · bekannte Risiken. Kein Pseudo-Code — „Right Altitude".

5. Constitution abgleichen

Prüfe, ob neue verbindliche Regeln entstanden sind (z. B. „Datenzugriff nur über Repository-Layer"). Wenn ja, in esc/specs/constitution.md ergänzen.

6. Routen

state.yaml aktualisieren (artifacts.architecture: done, phase weiter) → esc:epics.

Definition of Done

  • Spec-Self-Review (Abschluss-Gate, coauthoring.md): Vollständigkeit · Konsistenz · Klarheit · Scope · YAGNI geprüft, Probleme inline gefixt.
  • Mitlaufende Artefakte aktualisiert: esc:track (TRACKER.md) und esc:docs (Komponenten + Datenmodell).
  • Jede nicht-triviale Entscheidung hat eine ADR mit ≥2 Optionen, Pro/Contra und Begründung.
  • Pflicht-Vertiefung je Empfehlung erfolgt; gates.architecture_adrs: true.
  • Datenmodell und Schlüssel-Schnittstellen sind definiert (Level 3/4).
  • Neue verbindliche Regeln in der Constitution ergänzt.
  • Kein Implementierungs-Pseudo-Code; WAS-Grenzen aus PRD respektiert.

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.