red-proto 0.12.0 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +46 -23
- package/commands/red:proto-architect.md +2 -18
- package/commands/red:proto-dev-setup.md +1 -1
- package/commands/red:proto-flows.md +3 -16
- package/commands/red:proto-requirements.md +2 -16
- package/commands/red:proto-research.md +2 -45
- package/commands/red:proto-sparring.md +5 -34
- package/commands/red:proto-ux.md +2 -18
- package/design-system/INDEX.md +50 -0
- package/package.json +3 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Enrico Reinsdorf
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -4,19 +4,9 @@ Ein KI-gestütztes Product Development Framework für [Claude Code](https://clau
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## Workflow
|
|
8
|
-
|
|
9
|
-

|
|
10
|
-
|
|
11
|
-
> Maschinenlesbare BPMN 2.0 Datei: [workflow.bpmn](docs/workflow.bpmn) – öffenbar in [Camunda Modeler](https://camunda.com/download/modeler/) oder [bpmn.io](https://bpmn.io)
|
|
12
|
-
|
|
13
|
-
**Faustregel:** Alles bis `/red:proto-flows` machst du einmal für dein Projekt. Ab `/red:proto-ux` wiederholst du den Loop für jedes Feature. `proto-dev` und `proto-qa` laufen in **getrennten Sessions** – `proto-dev` schreibt am Ende ein Handoff-File, das `proto-qa` in der neuen Session einliest.
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
7
|
## Was ist das?
|
|
18
8
|
|
|
19
|
-
Eine Sammlung von Claude Code Commands
|
|
9
|
+
Eine Sammlung von Claude Code Commands, die eine vollständige Produktentwicklungs-Pipeline abbilden. Du beschreibst deine Idee in natürlicher Sprache – Claude führt die Pipeline aus, du triffst die Entscheidungen.
|
|
20
10
|
|
|
21
11
|
```
|
|
22
12
|
/red:proto-workflow → Nach jeder Pause: zeigt exakt wo du stehst und was als nächstes zu tun ist
|
|
@@ -37,7 +27,51 @@ dann pro Feature (Build-Loop bis QA grün):
|
|
|
37
27
|
└── Bugs? → neue Session → /red:proto-dev → /red:proto-qa
|
|
38
28
|
```
|
|
39
29
|
|
|
40
|
-
Jeder Command ist eigenständig – du kannst an jedem Punkt einsteigen oder aufhören. Die Commands bauen
|
|
30
|
+
Jeder Command ist eigenständig – du kannst an jedem Punkt einsteigen oder aufhören. Die Commands bauen aufeinander auf: jeder liest den Output des vorherigen und ergänzt die gemeinsamen Artefakte.
|
|
31
|
+
|
|
32
|
+
### Workflow
|
|
33
|
+
|
|
34
|
+
```mermaid
|
|
35
|
+
flowchart TD
|
|
36
|
+
A([Idee]) --> B
|
|
37
|
+
|
|
38
|
+
subgraph setup["📐 Einmalig pro Projekt"]
|
|
39
|
+
B["/red:proto-sparring\nIdee → PRD"]
|
|
40
|
+
B --> C["/red:proto-dev-setup\nTech-Stack + GitHub"]
|
|
41
|
+
C --> D{Research?}
|
|
42
|
+
D -->|optional| E["/red:proto-research\nPersonas + Problem Statement"]
|
|
43
|
+
D -->|überspringen| F
|
|
44
|
+
E --> F["/red:proto-requirements\nSpecs für alle Features"]
|
|
45
|
+
F --> G["/red:proto-flows\nScreen-Inventar + Transitions"]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
subgraph feature["🔁 Pro Feature wiederholen"]
|
|
49
|
+
G --> H["/red:proto-ux\nUX-Entscheidungen"]
|
|
50
|
+
H --> I["/red:proto-architect\nTech-Design + Security + Tests"]
|
|
51
|
+
I --> J
|
|
52
|
+
|
|
53
|
+
subgraph session1["Session 1"]
|
|
54
|
+
J["/red:proto-dev\nImplementierung"]
|
|
55
|
+
J --> J2["Handoff schreiben\ncontext/FEAT-x-dev-handoff.md"]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
subgraph session2["Session 2 (neu starten)"]
|
|
59
|
+
J2 --> K["/red:proto-qa\nTests + Bugs"]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
K --> L{Bugs?}
|
|
63
|
+
L -->|Critical / High| J
|
|
64
|
+
L -->|Grün ✅| M([Production-Ready])
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
M --> N{Weitere Features?}
|
|
68
|
+
N -->|ja| H
|
|
69
|
+
N -->|nein| O([Release 🎉])
|
|
70
|
+
|
|
71
|
+
P(["/red:proto-workflow\nOrientierung jederzeit"]) -.->|wo stehe ich?| feature
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Faustregel:** Alles bis `/red:proto-flows` machst du einmal für dein Projekt. Ab `/red:proto-ux` wiederholst du den Loop für jedes Feature. `proto-dev` und `proto-qa` laufen in **getrennten Sessions** – `proto-dev` schreibt am Ende ein Handoff-File, das `proto-qa` in der neuen Session einliest.
|
|
41
75
|
|
|
42
76
|
---
|
|
43
77
|
|
|
@@ -115,17 +149,6 @@ Dann in Claude Code:
|
|
|
115
149
|
|
|
116
150
|
---
|
|
117
151
|
|
|
118
|
-
### Kurzübersicht: Was macht was?
|
|
119
|
-
|
|
120
|
-
| Befehl | Wann | Was passiert |
|
|
121
|
-
|--------|------|--------------|
|
|
122
|
-
| `npx red-proto@latest` | Einmalig pro Computer | Installiert Commands in `~/.claude/` (global) oder `./.claude/` (lokal) |
|
|
123
|
-
| `/red:proto` | Einmalig pro Projekt | Legt Projektstruktur an, kopiert Design System |
|
|
124
|
-
| `/red:proto-sparring` | Start jedes Projekts | Erste Anlaufstelle – Idee zu PRD |
|
|
125
|
-
| `/red:proto-workflow` | Nach jeder Session-Pause | Zeigt wo du stehst, was als nächstes kommt |
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
152
|
## Was wird installiert?
|
|
130
153
|
|
|
131
154
|
Nach dem Setup hat dein Projekt folgende Struktur:
|
|
@@ -134,27 +134,11 @@ AskUserQuestion({ questions: [{ question: "Passt das technische Design?", header
|
|
|
134
134
|
], multiSelect: false }] })
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
Nach Approval
|
|
138
|
-
|
|
139
|
-
Dann dem User sagen:
|
|
140
|
-
```
|
|
141
|
-
📝 Draft gespeichert: features/FEAT-[X]-[name].md
|
|
142
|
-
|
|
143
|
-
Öffne die Datei, prüfe das technische Design und bearbeite es direkt falls nötig.
|
|
144
|
-
|
|
145
|
-
→ Schreib `weiter` wenn alles passt
|
|
146
|
-
→ Oder sag mir direkt was geändert werden soll
|
|
147
|
-
```
|
|
137
|
+
Nach Approval: FEAT-[X].md um Abschnitt `## 3. Technisches Design` erweitern, YAML `status: draft` setzen. User per CONVENTIONS.md §Resume Pattern informieren.
|
|
148
138
|
|
|
149
139
|
## Phase 4b: Finalisieren
|
|
150
140
|
|
|
151
|
-
Nach `weiter` oder Korrekturen
|
|
152
|
-
|
|
153
|
-
1. FEAT-[X].md einlesen, Korrekturen übernehmen
|
|
154
|
-
2. YAML-Frontmatter auf `status: approved` setzen
|
|
155
|
-
3. `## Fortschritt` → `Status: Approved`, `Aktueller Schritt: Tech` setzen
|
|
156
|
-
4. STATUS.md aktualisieren (Tech-Spalte auf ✓ setzen)
|
|
157
|
-
5. Commit-Zusammenfassung zeigen und committen:
|
|
141
|
+
Nach `weiter` oder Korrekturen: FEAT-[X].md einlesen, Korrekturen übernehmen, `status: approved` + `## Fortschritt → Status: Approved, Aktueller Schritt: Tech` setzen. STATUS.md (Tech-Spalte ✓).
|
|
158
142
|
|
|
159
143
|
```bash
|
|
160
144
|
echo "Ich committe jetzt:"
|
|
@@ -84,7 +84,7 @@ Leite aus PRD-Signalen und Recherche eine **konkrete Empfehlung** ab. Präsentie
|
|
|
84
84
|
- Web-Technologie: **Electron** oder **Tauri** (leichtgewichtiger, Rust-basiert)
|
|
85
85
|
|
|
86
86
|
**Datenbank-Empfehlung** (unabhängig vom Framework):
|
|
87
|
-
- Standard (relational): **PostgreSQL via Neon** (
|
|
87
|
+
- Standard (relational): **PostgreSQL via Neon** (keine eigene Server-Verwaltung, kostenlos startbar)
|
|
88
88
|
- Echtzeit + Auth integriert: **Supabase**
|
|
89
89
|
- Dokument-basiert: **MongoDB**
|
|
90
90
|
- Kein persistentes Backend nötig: localStorage / kein DB
|
|
@@ -114,7 +114,7 @@ AskUserQuestion({
|
|
|
114
114
|
multiSelect: false
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
question: "Gibt es weitere Einstiegspunkte (z.B. nach Login, nach Onboarding, per
|
|
117
|
+
question: "Gibt es weitere Einstiegspunkte (z.B. nach Login, nach Onboarding, oder per direktem Link z.B. aus einer E-Mail)?",
|
|
118
118
|
header: "Weitere Einstiege",
|
|
119
119
|
options: [
|
|
120
120
|
{ label: "Nein, nur ein Einstieg", description: "" },
|
|
@@ -224,24 +224,11 @@ AskUserQuestion({
|
|
|
224
224
|
})
|
|
225
225
|
```
|
|
226
226
|
|
|
227
|
-
Nach Approval
|
|
228
|
-
|
|
229
|
-
```
|
|
230
|
-
📝 Draft gespeichert: flows/product-flows.md
|
|
231
|
-
|
|
232
|
-
Öffne die Datei, prüfe alle Screens und Transitions und bearbeite direkt falls nötig.
|
|
233
|
-
|
|
234
|
-
→ Schreib `weiter` wenn alles passt
|
|
235
|
-
→ Oder sag mir direkt was geändert werden soll
|
|
236
|
-
```
|
|
227
|
+
Nach Approval: `flows/product-flows.md` ist bereits als Draft gespeichert (Phase 5). User per CONVENTIONS.md §Resume Pattern informieren.
|
|
237
228
|
|
|
238
229
|
## Phase 6b: Finalisieren
|
|
239
230
|
|
|
240
|
-
Nach `weiter` oder Korrekturen
|
|
241
|
-
|
|
242
|
-
1. flows/product-flows.md einlesen, Korrekturen übernehmen
|
|
243
|
-
2. YAML-Frontmatter auf `status: approved` setzen
|
|
244
|
-
3. Commit-Zusammenfassung zeigen und committen:
|
|
231
|
+
Nach `weiter` oder Korrekturen: `flows/product-flows.md` einlesen, Korrekturen übernehmen, `status: approved` setzen.
|
|
245
232
|
|
|
246
233
|
```bash
|
|
247
234
|
echo "Ich committe jetzt:"
|
|
@@ -193,25 +193,11 @@ AskUserQuestion({
|
|
|
193
193
|
})
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
Nach Approval
|
|
197
|
-
|
|
198
|
-
Dann dem User sagen:
|
|
199
|
-
```
|
|
200
|
-
📝 Draft gespeichert: features/FEAT-[X]-[name].md
|
|
201
|
-
|
|
202
|
-
Öffne die Datei, prüfe sie und bearbeite sie direkt falls nötig.
|
|
203
|
-
|
|
204
|
-
→ Schreib `weiter` wenn alles passt
|
|
205
|
-
→ Oder sag mir direkt was geändert werden soll
|
|
206
|
-
```
|
|
196
|
+
Nach Approval: Feature-File als Draft speichern. `project-config.md` aktualisieren (Nächste freie ID um 1 erhöhen). User per CONVENTIONS.md §Resume Pattern informieren.
|
|
207
197
|
|
|
208
198
|
## Phase 7b: Finalisieren
|
|
209
199
|
|
|
210
|
-
Nach `weiter` oder Korrekturen
|
|
211
|
-
|
|
212
|
-
1. Feature-File einlesen, eventuelle Korrekturen übernehmen
|
|
213
|
-
2. YAML-Frontmatter auf `status: approved` setzen
|
|
214
|
-
3. `## Fortschritt` → `Status: Approved` setzen
|
|
200
|
+
Nach `weiter` oder Korrekturen: Feature-File einlesen, Korrekturen übernehmen, `status: approved` + `## Fortschritt → Status: Approved` setzen.
|
|
215
201
|
|
|
216
202
|
**STATUS.md aktualisieren:** Lies `features/STATUS.md`. Wenn die Datei noch nicht existiert, erstelle sie mit diesem Header:
|
|
217
203
|
|
|
@@ -373,54 +373,11 @@ AskUserQuestion({
|
|
|
373
373
|
})
|
|
374
374
|
```
|
|
375
375
|
|
|
376
|
-
Nach Approval: Problem Statement Map und Personas als Drafts speichern.
|
|
377
|
-
|
|
378
|
-
`research/problem-statement.md`:
|
|
379
|
-
```markdown
|
|
380
|
-
---
|
|
381
|
-
status: draft
|
|
382
|
-
---
|
|
383
|
-
|
|
384
|
-
# Problem Statement Map
|
|
385
|
-
*Erstellt von: /red:proto-research — [Datum]*
|
|
386
|
-
|
|
387
|
-
[Inhalt aus Phase 4]
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
`research/personas.md`:
|
|
391
|
-
```markdown
|
|
392
|
-
---
|
|
393
|
-
status: draft
|
|
394
|
-
---
|
|
395
|
-
|
|
396
|
-
# Personas
|
|
397
|
-
*Erstellt von: /red:proto-research — [Datum]*
|
|
398
|
-
|
|
399
|
-
[Inhalt aus Phase 5]
|
|
400
|
-
```
|
|
401
|
-
|
|
402
|
-
Dann dem User sagen:
|
|
403
|
-
```
|
|
404
|
-
📝 Drafts gespeichert:
|
|
405
|
-
→ research/problem-statement.md
|
|
406
|
-
→ research/personas.md
|
|
407
|
-
(+ research/platform-context.md und research/research-questions.md falls noch offen)
|
|
408
|
-
|
|
409
|
-
Kurze Pause?
|
|
410
|
-
→ Schreib `weiter` wenn du alle Dateien geprüft hast
|
|
411
|
-
|
|
412
|
-
Echter Research (Interviews, Umfragen, Tage)?
|
|
413
|
-
→ Trag deine Findings direkt in die Dateien ein
|
|
414
|
-
→ Dann /red:proto-research erneut aufrufen – ich erkenne die Drafts automatisch
|
|
415
|
-
```
|
|
376
|
+
Nach Approval: Problem Statement Map und Personas als Drafts speichern (YAML `status: draft`, Header mit Dateinamen und Datum). User per CONVENTIONS.md §Resume Pattern (Option 2 – Research) informieren.
|
|
416
377
|
|
|
417
378
|
## Phase 6b: Finalisieren
|
|
418
379
|
|
|
419
|
-
Nach `weiter` oder Korrekturen
|
|
420
|
-
|
|
421
|
-
1. Alle Research-Dateien lesen und eventuelle Chat-Korrekturen einarbeiten
|
|
422
|
-
2. YAML-Frontmatter in allen Dateien auf `status: approved` setzen
|
|
423
|
-
3. Zusammenfassung zeigen und committen:
|
|
380
|
+
Nach `weiter` oder Korrekturen: Alle Research-Dateien einlesen, Korrekturen übernehmen, `status: approved` in allen Dateien setzen.
|
|
424
381
|
|
|
425
382
|
```bash
|
|
426
383
|
echo "Ich committe jetzt:"
|
|
@@ -92,50 +92,21 @@ AskUserQuestion({
|
|
|
92
92
|
|
|
93
93
|
## Phase 4: Als Draft speichern
|
|
94
94
|
|
|
95
|
-
> Lies
|
|
95
|
+
> Lies `docs/CONVENTIONS.md` – Draft Convention + Resume Pattern (Option 1) gelten hier.
|
|
96
96
|
|
|
97
|
-
Nach Approval: Speichere
|
|
98
|
-
|
|
99
|
-
```markdown
|
|
100
|
-
---
|
|
101
|
-
status: draft
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
# Product Requirements Document
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
## Scope-Typ
|
|
108
|
-
[Klickbarer Prototyp | Funktionierender Prototyp | Produktionsreifes MVP | Unklar]
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Dann dem User sagen:
|
|
112
|
-
```
|
|
113
|
-
📝 Draft gespeichert: prd.md
|
|
114
|
-
|
|
115
|
-
Öffne die Datei, prüfe sie und bearbeite sie direkt falls nötig.
|
|
116
|
-
|
|
117
|
-
→ Schreib `weiter` wenn alles passt
|
|
118
|
-
→ Oder sag mir direkt was geändert werden soll
|
|
119
|
-
```
|
|
97
|
+
Nach Approval: Speichere `prd.md` als Draft. YAML `status: draft`. Scope-Typ als Abschnitt `## Scope-Typ` ergänzen. User per CONVENTIONS.md §Resume Pattern informieren.
|
|
120
98
|
|
|
121
99
|
## Phase 4b: Finalisieren
|
|
122
100
|
|
|
123
|
-
Nach `weiter` oder
|
|
124
|
-
|
|
125
|
-
1. Datei einlesen: `cat prd.md`
|
|
126
|
-
2. Falls Korrekturen im Chat: Änderungen in prd.md übernehmen
|
|
127
|
-
3. YAML-Frontmatter auf `status: approved` setzen
|
|
128
|
-
4. Commit (nur wenn Git bereits initialisiert ist – bei Erstnutzung noch nicht vorhanden):
|
|
101
|
+
Nach `weiter` oder Korrekturen: `prd.md` einlesen, Korrekturen übernehmen, `status: approved` setzen.
|
|
129
102
|
|
|
130
103
|
```bash
|
|
131
104
|
if git rev-parse --git-dir > /dev/null 2>&1; then
|
|
132
105
|
echo "Ich committe jetzt:"
|
|
133
106
|
echo " → prd.md – PRD finalisiert"
|
|
134
|
-
git add prd.md
|
|
135
|
-
git commit -m "docs: add/update PRD"
|
|
136
|
-
git push
|
|
107
|
+
git add prd.md && git commit -q -m "docs: add/update PRD" && git push -q
|
|
137
108
|
else
|
|
138
|
-
echo "Kein Git-Repository – prd.md
|
|
109
|
+
echo "Kein Git-Repository – prd.md gespeichert. /red:proto-dev-setup macht den ersten Commit."
|
|
139
110
|
fi
|
|
140
111
|
```
|
|
141
112
|
|
package/commands/red:proto-ux.md
CHANGED
|
@@ -176,27 +176,11 @@ AskUserQuestion({ questions: [{ question: "UX-Entscheidungen vollständig?", hea
|
|
|
176
176
|
], multiSelect: false }] })
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
Nach Approval
|
|
180
|
-
|
|
181
|
-
Dann dem User sagen:
|
|
182
|
-
```
|
|
183
|
-
📝 Draft gespeichert: features/FEAT-[X]-[name].md
|
|
184
|
-
|
|
185
|
-
Öffne die Datei, prüfe die UX-Entscheidungen und bearbeite sie direkt falls nötig.
|
|
186
|
-
|
|
187
|
-
→ Schreib `weiter` wenn alles passt
|
|
188
|
-
→ Oder sag mir direkt was geändert werden soll
|
|
189
|
-
```
|
|
179
|
+
Nach Approval: FEAT-[X].md um Abschnitt `## 2. UX Entscheidungen` erweitern, YAML `status: draft` setzen. User per CONVENTIONS.md §Resume Pattern informieren.
|
|
190
180
|
|
|
191
181
|
## Phase 7b: Finalisieren
|
|
192
182
|
|
|
193
|
-
Nach `weiter` oder Korrekturen
|
|
194
|
-
|
|
195
|
-
1. FEAT-[X].md einlesen, Korrekturen übernehmen
|
|
196
|
-
2. YAML-Frontmatter auf `status: approved` setzen
|
|
197
|
-
3. `## Fortschritt` → `Status: Approved`, `Aktueller Schritt: UX` setzen
|
|
198
|
-
4. STATUS.md aktualisieren (UX-Spalte auf ✓ setzen)
|
|
199
|
-
5. Commit-Zusammenfassung zeigen und committen:
|
|
183
|
+
Nach `weiter` oder Korrekturen: FEAT-[X].md einlesen, Korrekturen übernehmen, `status: approved` + `## Fortschritt → Status: Approved, Aktueller Schritt: UX` setzen. STATUS.md (UX-Spalte ✓).
|
|
200
184
|
|
|
201
185
|
```bash
|
|
202
186
|
echo "Ich committe jetzt:"
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Design System – Index
|
|
2
|
+
|
|
3
|
+
Lade dieses File zuerst. Dann nur die Files, die für das aktuelle Feature relevant sind.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Tokens
|
|
8
|
+
|
|
9
|
+
| File | Inhalt | Wann laden |
|
|
10
|
+
|------|--------|------------|
|
|
11
|
+
| `tokens/colors.md` | Primär-, Sekundär-, Semantic-, Neutral-Farben + Surface-Aliases | Immer bei visueller Implementierung |
|
|
12
|
+
| `tokens/typography.md` | Schriftgrößen, Gewichte, Line-Heights, Font-Stack | Bei Text-Styling |
|
|
13
|
+
| `tokens/spacing.md` | Spacing-Scale (4px-Basis), Named Sizes (xs–2xl) | Bei Layout, Abstände, Padding |
|
|
14
|
+
| `tokens/shadows.md` | Elevation-System (sm, md, lg, xl) | Bei Cards, Modals, Dropdowns |
|
|
15
|
+
| `tokens/motion.md` | Transitions, Durations, Easing-Kurven | Bei Animationen, Hover-Effekten |
|
|
16
|
+
|
|
17
|
+
## Komponenten
|
|
18
|
+
|
|
19
|
+
| File | Varianten | Zustände | Wann laden |
|
|
20
|
+
|------|-----------|----------|------------|
|
|
21
|
+
| `components/button.md` | primary, secondary, ghost, danger, link | default, hover, focus, active, disabled, loading | Bei jeder Aktion/Button |
|
|
22
|
+
| `components/input.md` | text, password, textarea, select | default, focus, error, disabled | Bei Formularen |
|
|
23
|
+
| `components/card.md` | default, interactive, flat | default, hover | Bei Card-Layouts |
|
|
24
|
+
|
|
25
|
+
## Patterns
|
|
26
|
+
|
|
27
|
+
| File | Enthält | Wann laden |
|
|
28
|
+
|------|---------|------------|
|
|
29
|
+
| `patterns/navigation.md` | Header, Sidebar, Breadcrumb, Tab-Navigation | Bei Navigation-Implementierung |
|
|
30
|
+
| `patterns/forms.md` | Formular-Aufbau, Validation, Fehlermeldungen | Bei Formularen |
|
|
31
|
+
| `patterns/feedback.md` | Toasts, Modals, Loading States, Empty States | Bei Feedback-Elementen |
|
|
32
|
+
| `patterns/data-display.md` | Tabellen, Listen, Cards, Badges | Bei Datendarstellung |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Laderegel für Agents
|
|
37
|
+
|
|
38
|
+
1. Lies dieses INDEX.md
|
|
39
|
+
2. Identifiziere welche Tokens/Komponenten/Patterns das Feature braucht
|
|
40
|
+
3. Lade **nur diese Files** – nicht alles auf einmal
|
|
41
|
+
4. Nicht definierte Elemente: pragmatisch mit vorhandenen Tokens bauen, im Feature-File unter `## Offene Punkte` dokumentieren
|
|
42
|
+
|
|
43
|
+
## Status
|
|
44
|
+
|
|
45
|
+
| Bereich | Status |
|
|
46
|
+
|---------|--------|
|
|
47
|
+
| Tokens | Beispielwerte – vor Projektstart durch eigene Werte ersetzen |
|
|
48
|
+
| Komponenten | 3 Basiskomponenten vorhanden (Button, Input, Card) |
|
|
49
|
+
| Patterns | 4 Patterns vorhanden |
|
|
50
|
+
| Screens | Leer – Figma-Exports hier ablegen |
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "red-proto",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "AI-powered product development framework for Claude Code – from idea to tested prototype",
|
|
5
5
|
"bin": {
|
|
6
|
-
"red-proto": "
|
|
6
|
+
"red-proto": "bin/install.js"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"bin/",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "https://github.com/eltuctuc/red-create-prototyp-project.git"
|
|
29
|
+
"url": "git+https://github.com/eltuctuc/red-create-prototyp-project.git"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/eltuctuc/red-create-prototyp-project#readme",
|
|
32
32
|
"engines": {
|