# {{PROJECT_NAME}} - React Native / Expo

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

## Was (Stack & Struktur)

**Stack**: {{TECH_STACK}}
**Plattformen**: iOS + Android
**Navigation**: Expo Router (File-based)

### Projektstruktur
```
src/
├── app/                    # Expo Router (File-based Routing)
│   ├── _layout.tsx        # Root Layout
│   ├── (tabs)/            # Tab Navigation
│   └── (auth)/            # Auth Group
├── components/             # Wiederverwendbare Komponenten
├── features/               # Business Features
├── hooks/                  # Custom Hooks
├── services/               # API, Storage
├── stores/                 # Zustand Stores
├── types/                  # TypeScript Types
└── theme/                  # Colors, Spacing
```

## Warum (Zweck & Organisation)

### Architektur: Feature-Based + Clean Layers
- **Presentation**: app/, components/
- **Application**: hooks/, stores/
- **Domain**: types/, utils/
- **Data**: services/

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

### State Management Entscheidungsbaum
| Datentyp | Loesung |
|----------|---------|
| Server Data | React Query |
| Global State | Zustand |
| Persistenz | MMKV |
| URL State | Expo Router params |
| Local State | useState |

### Kritische Regeln
| Regel | Beschreibung |
|-------|--------------|
| TypeScript | Strict Mode, keine `any` |
| Performance | 60 FPS Ziel |
| Sicherheit | Tokens in SecureStore |
| Tests | 80% Coverage |

## Wie (Befehle & Workflows)

### Entwicklungsbefehle
```bash
npx expo start         # Dev Server
npx expo start --ios   # iOS
npx expo start --android  # Android
npx expo start --clear # Mit Cache Clear
```

### Qualitaets-Pipeline
```bash
npm run lint           # ESLint
npm run type-check     # TypeScript
npm run format         # Prettier
npm test               # Jest
npm run test:coverage  # Mit Coverage
```

### Build & Deploy
```bash
eas build --profile development --platform all
eas build --profile production --platform all
eas submit --platform ios
eas update --branch production --message "Update"
```

### Entwicklungs-Workflow
1. **Analysieren** - `rules/01-workflow-analysis.md` lesen
2. **TDD** - Test schreiben, implementieren, refaktorisieren
3. **Qualitaet** - Lint + Type-Check + Tests
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` |
| Testing | `rules/07-testing.md` |
| Sicherheit | `rules/11-security.md` |
| Performance | `rules/12-performance.md` |
| Navigation | `rules/14-navigation.md` |

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