Anleitung zur Projekterstellung
Diese Anleitung begleitet Sie bei der Einrichtung eines neuen Projekts mit Claude-Craft.
Technologie wählen
| Technologie | Ideal für | Architektur |
|---|---|---|
| Symfony | Backend-APIs, Web-Apps | Clean Architecture + DDD |
| Flutter | Mobile Apps | Feature-basiert + BLoC |
| Python | APIs, Datendienste | Schichtenarchitektur |
| React | Web-SPAs | Feature-basiert + Hooks |
| React Native | Plattformübergreifend | Navigationsbasiert |
Installationsmethoden
Methode 1: Makefile (Empfohlen)
bash
make install-{technologie} TARGET=pfad LANG=sprache
# Beispiele
make install-symfony TARGET=./backend LANG=de
make install-flutter TARGET=./mobile LANG=deOptionen
bash
OPTIONS="--dry-run" # Vorschau ohne Änderungen
OPTIONS="--force" # Dateien überschreiben
OPTIONS="--backup" # Backup erstellen
OPTIONS="--interactive" # Interaktiver Modus
OPTIONS="--update" # Nur aktualisierenMethode 2: Direktes Skript
bash
./Dev/scripts/install-symfony-rules.sh --lang=de ~/mein-projektMethode 3: YAML-Konfiguration
yaml
# claude-projects.yaml
settings:
default_lang: "de"
projects:
- name: "meine-plattform"
path: "~/Projekte/meine-plattform"
modules:
- name: "api"
path: "backend"
technologies: ["symfony"]
- name: "mobile"
path: "app"
technologies: ["flutter"]bash
make config-install CONFIG=claude-projects.yaml PROJECT=meine-plattformEinzeltechnologie-Projekte
Symfony-Projekt
bash
mkdir ~/meine-api && cd ~/meine-api && git init
make install-symfony TARGET=. LANG=deFlutter-Projekt
bash
flutter create meine_app && cd meine_app && git init
make install-flutter TARGET=. LANG=dePython-Projekt
bash
mkdir ~/meine-python-api && cd ~/meine-python-api && git init
make install-python TARGET=. LANG=deKonfiguration nach der Installation
1. Projektkontext (rules/00-project-context.md)
Dies ist die wichtigste Datei zum Anpassen.
Option A: Interaktive Einrichtung (Empfohlen)
Führen Sie diesen Befehl in Claude Code aus, um Ihren Stack zu erkennen und gezielte Fragen zu beantworten:
bash
/common:setup-project-contextOption B: Manuelle Konfiguration
Bearbeiten Sie die Datei direkt mit Ihren Projektdetails:
markdown
# Projektkontext
## Informationen
- **Name**: Meine E-Commerce-API
- **Typ**: REST-API für E-Commerce-Plattform
## Technischer Stack
- PHP 8.3 mit Symfony 7.0
- PostgreSQL 16
- Redis für Caching
## Konventionen
- Code auf Englisch, Dokumentation auf Deutsch2. Hauptkonfiguration (CLAUDE.md)
Überprüfen und anpassen:
- Spracheinstellungen
- Architekturanforderungen
- Qualitätsanforderungen
- Docker-Anforderungen
Start-Checkliste
Vor der Installation
- [ ] Projektverzeichnis erstellt
- [ ] Git-Repository initialisiert
- [ ] Technologie-Stack entschieden
Installation
- [ ] Claude-Craft-Regeln installiert
- [ ] Installation überprüft (
ls .claude/)
Konfiguration
- [ ]
00-project-context.mdangepasst - [ ]
CLAUDE.mdüberprüft
Verifizierung
- [ ] Claude Code im Verzeichnis gestartet
- [ ] Befehle verfügbar
- [ ] Agenten reagieren
