# {{PROJECT_NAME}} - Flutter

> Erstellt: {{GENERATION_DATE}} | Claude Craft v{{VERSION}}

## Was (Stack & Struktur)

**Stack**: {{TECH_STACK}}
**State Management**: {{STATE_MANAGEMENT_PATTERN}}

### Projektstruktur
```
lib/
├── core/                 # Gemeinsame Funktionalitaeten
├── features/             # Business Features
│   └── [feature_name]/
│       ├── data/         # Models, DataSources, Repositories
│       ├── domain/       # Entities, UseCases, Interfaces
│       └── presentation/ # BLoC, Pages, Widgets
└── main.dart
```

## Warum (Zweck & Organisation)

### Architektur: Clean Architecture
- **Presentation** -> Domain <- **Data**
- Domain hat KEINE externen Abhaengigkeiten
- Dependency Inversion fuer Testbarkeit

Siehe `rules/02-architecture.md` fuer Muster.

### Kritische Regeln
| Regel | Beschreibung |
|-------|--------------|
| Dateien | `snake_case` |
| Klassen | `UpperCamelCase` |
| Variablen | `lowerCamelCase` |
| `const` | Ueberall wo moeglich |
| Tests | 80% Coverage (Domain: 95%) |

## Wie (Befehle & Workflows)

### Entwicklungsbefehle
```bash
make setup      # Abhaengigkeiten installieren
make run        # App starten
make generate   # Code generieren (freezed, json_serializable)
```

### Qualitaets-Pipeline
```bash
make analyze        # flutter analyze --fatal-infos
make format         # dart format
make test           # Alle Tests
make test-coverage  # Mit Coverage
make quality        # Alle Pruefungen
```

### Entwicklungs-Workflow
1. **Analysieren** - `rules/01-workflow-analysis.md` lesen
2. **TDD** - Test schreiben, implementieren, refaktorisieren
3. **Qualitaet** - `make quality` ausfuehren
4. **Commit** - Conventional Commits Format

## Referenzen
| Kontext | Datei |
|---------|-------|
| Vor Aenderungen | `rules/01-workflow-analysis.md` |
| Architektur | `rules/02-architecture.md` |
| Code Standards | `rules/03-coding-standards.md` |
| SOLID | `rules/04-solid-principles.md` |
| Testing | `rules/07-testing.md` |
| Sicherheit | `rules/11-security.md` |
| State Management | `rules/13-state-management.md` |

<!-- PROJECT-SPECIFIC-START -->
## Projektspezifika
<!-- Projektspezifische Konfiguration hier hinzufuegen -->
<!-- PROJECT-SPECIFIC-END -->
