@donotdev/cli 0.0.31 → 0.0.33

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.
@@ -1,50 +0,0 @@
1
- ---
2
- name: build
3
- description: Implement features using framework defaults. Use AFTER /design. Activates WAI-WAY Phase 3 COMPOSE.
4
- argument-hint: [requirement or LLD reference]
5
- disable-model-invocation: true
6
- ---
7
-
8
- # Build — Compose the App
9
-
10
- **WORKFLOW:** `/brainstorm` → `/design` → `/build` → `/polish`
11
-
12
- ## Step 0 — Start Phase (MANDATORY)
13
-
14
- ```
15
- start_phase(3)
16
- ```
17
- Do NOT write code without this call.
18
-
19
- ## Step 1 — Prepare
20
-
21
- **Input:** $ARGUMENTS (LLD from `/design` or direct requirement)
22
-
23
- 1. Read LLD if it exists
24
- 2. **STOP before every `@donotdev` import** → call `lookup_symbol({ symbol: "Name" })`. No exceptions. Do NOT guess props, hooks, or APIs.
25
- 3. Import convention: always `@donotdev/<package>` — never sub-paths. Only exceptions: `@donotdev/core/server`, `@donotdev/core/vite`, `@donotdev/core/next`, `@donotdev/core/functions`.
26
-
27
- ## Step 2 — Build in phases
28
-
29
- 1. **Entities** — create entity files
30
- 2. **Routes** — create route config
31
- 3. **Auth** — if needed
32
- 4. **Pages** — using framework defaults only (no styling, no customization)
33
- 5. **Custom components** — if any
34
- 6. **Integration** — wire everything together
35
-
36
- Rules:
37
- - Framework defaults ONLY — styling deferred to `/polish`
38
- - Hardcode all strings — i18n deferred to `/polish`
39
- - Run `dndev tc` after every file change — fix errors immediately
40
- - Validate each phase before proceeding
41
-
42
- ## Step 3 — Complete Phase
43
-
44
- When all pages built and `dndev tc` passes:
45
-
46
- ```
47
- complete_phase({ files: ["src/pages/...all files..."], summary: "N pages composed, all type-checking" })
48
- ```
49
-
50
- Wait for user `approve_phase()` → then proceed to `/polish`.