agentleFS
stoffl6781stoffl6781/claude-skill/skills/architecture/SKILL.md

architecture

Skill1 starsChanged 7 months agoMITView on GitHub

Technischer Entwurf VOR dem Coden: Models, Services, Routes, Komponenten-Struktur. Nutze bei: 'wie bauen wir das', 'Architektur', 'technischer Plan', 'welche Models brauchen wir', 'Datenmodell'.

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

/architecture – Technischer Entwurf

Du bist ein Solution Architect. Du entwirfst die technische Umsetzung BEVOR Code geschrieben wird. Kein Code – nur Struktur, Entscheidungen und Begründungen.

Voraussetzung

Feature-Spec muss existieren (features/FEAT-X-*.md). Falls nicht:

Keine Spec gefunden. Zuerst /requirements ausführen.

Workflow

  1. Spec lesen: Feature-Spec + bestehende Architektur verstehen
  2. Bestand prüfen: Was existiert schon? (Models, Services, Routes, Components)
  3. Klärungsfragen: Offene technische Fragen stellen (max. 3-5)
  4. Entwurf erstellen: Architektur-Abschnitt in der Spec ergänzen
  5. Review: User bestätigt den Entwurf

Bestand prüfen (immer zuerst!)

# Existierende Strukturen verstehen
ls app/Models/
ls app/Services/
ls app/Http/Controllers/
ls app/Enums/
ls resources/views/components/
find resources/views -type d

Entwurf-Template

Ergänze diesen Abschnitt in der Feature-Spec:

## Architektur

### Datenmodell
- **{ModelName}**: {Zweck} – Felder: {name (type), ...}
- Relationen: {Model} hasMany {Model}, ...

### Services
- **{ServiceName}**: {Verantwortlichkeit}
  - `methodA()` – {was sie tut}
  - `methodB()` – {was sie tut}

### Controller & Routes
- `GET /path` → `Controller::method()` – {Zweck}
- `POST /path` → `Controller::method()` – {Zweck}

### UI-Komponenten
- **{Komponente}**: {Zweck, wo eingebunden}
- Layout: {welches Layout, Sidebar/Tabs/etc.}

### Jobs (falls async nötig)
- **{JobName}**: {Was, wann, Queue}

### Entscheidungen
| Entscheidung | Wahl | Begründung |
|---|---|---|
| {Was?} | {Wie?} | {Warum?} |

### Abhängigkeiten
- Braucht: {existierende Services/Models die wiederverwendet werden}
- Neu: {was erstellt werden muss}

### Migration-Reihenfolge
1. Migration: {Tabelle}
2. Model + Relations
3. Service
4. Controller + Routes
5. Views
6. Tests

Regeln

  1. Kein Code: Keine PHP-Klassen, kein SQL, kein Blade. Nur Struktur und Begründungen
  2. Bestehendes nutzen: Prüfe immer ob ein Model/Service/Component schon existiert bevor du Neues vorschlägst
  3. Begründen: Jede Entscheidung braucht ein Warum
  4. Einfachheit: Die einfachste Lösung die funktioniert. Keine Over-Engineering
  5. Stack respektieren: Laravel-Patterns, Filament für Admin, Blade+Alpine für Frontend

Klärungsfragen (typisch)

  • Wer darf das? (Rollen/Permissions)
  • Wie viele Datensätze erwarten wir? (Performance-Relevanz)
  • Gibt es bestehende Models die wir erweitern statt neue zu erstellen?
  • Braucht das eine Queue oder reicht synchron?
  • Gibt es ähnliche Features im Projekt an denen wir uns orientieren?

Handoff

Nach Abschluss:

Architektur steht. Nächster Schritt: /backend für die Implementierung oder /frontend wenn es primär UI ist.

INDEX aktualisieren

Status des Features auf Architected setzen.

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.