Files
claude-workflow/workflow/README.md
T
martinandClaude Sonnet 4.6 a07c436a7d Optimaler Entwicklungs-Workflow eingerichtet
- workflow/: Schnellreferenz, Modell-Strategie, Story-Lifecycle-Doku
- skills/: /go, /plan-review, /story als globale Skills
- hooks/: auto-format.sh (PostToolUse), verify-on-stop.sh (Stop)
- agents/: plan-reviewer (Opus 4.7) für unabhängigen Plan-Review
- Symlinks in ~/.claude/skills/ und ~/.claude/agents/
- settings.json um Hooks-Sektion erweitert

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-19 10:38:30 +02:00

82 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Claude Code Workflow — Schnellreferenz
## Story-Lifecycle
| Phase | Befehl / Agent | Modell |
|---|---|---|
| 1. Planung | `EnterPlanMode` | Sonnet |
| 2. Plan-Review | `/plan-review` | **Opus 4.7** |
| 3. Implementierung | Claude direkt | **Sonnet 4.6** |
| 4. Test + Simplify + PR | `/go` | Haiku / Sonnet |
| 5. Security-Audit | `security-audit`-Agent | **Opus 4.7** |
Kurzform für den kompletten Lifecycle: `/story`
---
## Modell-Matrix
| Aufgabe | Modell | Warum |
|---|---|---|
| Planung, Review | Opus 4.7 | Qualität entscheidend |
| Implementierung | Sonnet 4.6 | Bestes Preis-Leistungs-Verhältnis |
| Tests, Lint, Format | Haiku 4.5 | Schnell + günstig |
| Security-Audit | Opus 4.7 | Sicherheit hat Priorität |
| PR-Erstellung | Haiku 4.5 | Mechanische Aufgabe |
---
## Skills (Slash-Commands)
| Befehl | Beschreibung | Datei |
|---|---|---|
| `/go` | Tests + Simplify + PR in einem Schritt | `skills/go.md` |
| `/plan-review` | Opus reviewt aktuellen Plan | `skills/plan-review.md` |
| `/story` | Voller Story-Lifecycle | `skills/story.md` |
---
## Aktive Hooks
| Event | Aktion | Skript |
|---|---|---|
| `PostToolUse` (Edit/Write) | Auto-Format (ruff / eslint) | `hooks/auto-format.sh` |
| `Stop` | Offene Tasks prüfen | `hooks/verify-on-stop.sh` |
---
## Agenten
| Agent | Modell | Aufgabe |
|---|---|---|
| `test-runner` | Sonnet | Tests ausführen, Coverage prüfen |
| `security-audit` | Sonnet | OWASP-Analyse, Security-Tests |
| `plan-reviewer` | **Opus 4.7** | Plan auf Lücken/Risiken prüfen |
| `n8n-architect` | Sonnet | n8n-Workflow-Design |
---
## MCP-Server
| Server | Wann nutzen |
|---|---|
| `context7` | Bei jeder Bibliothek/Framework-Frage |
| `n8n-local` | n8n-Workflow-Inspektion |
---
## Kontext-Management
- **< 200k Tokens**: Normal weiterarbeiten
- **200350k Tokens**: `/compact` mit konkretem Hinweis ausführen
- **> 350k Tokens**: Neue Session, Subagenten für Isolation nutzen
- Nie auf automatisches Compacting verlassen — manuell mit Hints ist besser
---
## Weitere Details
- Modell-Strategie: `models.md`
- Story-Lifecycle: `story-lifecycle.md`
- Installation/Setup: `../SETUP.md`