ship-create 1.6.5 → 1.7.1
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/package.json
CHANGED
|
@@ -9,32 +9,79 @@ description: Use when starting any new product, feature, or "build me an app" re
|
|
|
9
9
|
S — STRUCTURE → H — HUMAN FLOW → I — INSTRUCTION → P — PUBLISH
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Phase 1 — Build (runs automatically on first open, no prompts)
|
|
13
13
|
|
|
14
|
-
**Do not
|
|
14
|
+
**Do not ask anything. Do not show a menu. Just build.**
|
|
15
15
|
|
|
16
|
-
### 1
|
|
17
|
-
|
|
16
|
+
### Step 1 — Read & decide (silent, no output)
|
|
17
|
+
Read `docs/PROJECT.md` and `docs/HUMAN_FLOW.md`. Extract:
|
|
18
|
+
- Product type, idea, target user, problem, value prop (already filled by `ship-create`)
|
|
19
|
+
- UI language from Section 9 — switch language now, use it for everything after this
|
|
20
|
+
- Auto-select the best theme from `theme-guide.md` for this product type — do not ask, just pick
|
|
18
21
|
|
|
19
|
-
### 2
|
|
20
|
-
|
|
22
|
+
### Step 2 — Build docs + flow diagram
|
|
23
|
+
Write `docs/AI_BUILD_SPEC.md` immediately — functional requirements for the 2–3 core MVP features + data model. Keep it tight, 1 page max.
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
Read `HUMAN_FLOW.md`. Replace `app/page.tsx` with the real entry point for this product. The user should be able to run `npm run dev` and see their product, not the starter template.
|
|
25
|
+
Then generate `docs/FLOW.md` — a Mermaid flowchart of the full user journey from `HUMAN_FLOW.md`. Include every screen, decision point, happy path, and key error/empty states. Format:
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
```markdown
|
|
28
|
+
# User Flow
|
|
29
|
+
|
|
30
|
+
> แก้ได้โดยตรงในไฟล์นี้ — เปิด Preview ใน VS Code (Cmd+Shift+P → "Mermaid Preview") หรือวางใน https://mermaid.live
|
|
31
|
+
|
|
32
|
+
```mermaid
|
|
33
|
+
flowchart TD
|
|
34
|
+
...
|
|
35
|
+
```
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Rules for the diagram:
|
|
39
|
+
- Use `([text])` for entry/exit points (stadium shape)
|
|
40
|
+
- Use `[text]` for screens/pages
|
|
41
|
+
- Use `{text}` for decision points
|
|
42
|
+
- Use `-->|label|` for conditional paths
|
|
43
|
+
- Show the happy path left-to-right or top-to-bottom
|
|
44
|
+
- Keep node labels short (3–5 words max)
|
|
45
|
+
|
|
46
|
+
### Step 3 — Build prototype
|
|
47
|
+
Apply the chosen theme to `app/globals.css` and `app/layout.tsx`. Replace `app/page.tsx` with the real home screen based on `HUMAN_FLOW.md`. Build the first 1–2 screens that matter most for this product type. Record the theme choice in `docs/DESIGN_SYSTEM.md`.
|
|
48
|
+
|
|
49
|
+
### Step 4 — Run
|
|
50
|
+
Run `npm run dev` (or `pnpm dev` if pnpm is available). Confirm the app compiles and is accessible at localhost:3000.
|
|
51
|
+
|
|
52
|
+
### Step 5 — Show & ask one question
|
|
53
|
+
Tell the user (in the correct language):
|
|
54
|
+
- What was built and why (2–3 sentences max)
|
|
55
|
+
- Which theme was chosen and why (1 sentence)
|
|
56
|
+
- Where to see the flow diagram: `docs/FLOW.md` (เปิด Preview ใน VS Code หรือ https://mermaid.live)
|
|
57
|
+
- "เปิด localhost:3000 ดูได้เลย — ชอบทิศทางนี้ไหม?" (Thai) or "Open localhost:3000 — does this feel right?" (English)
|
|
58
|
+
|
|
59
|
+
**That's Phase 1. Wait for the user's answer before doing anything else.**
|
|
27
60
|
|
|
28
61
|
---
|
|
29
62
|
|
|
30
|
-
|
|
63
|
+
## Phase 2 — Review (after user responds)
|
|
64
|
+
|
|
65
|
+
**If the user likes it:**
|
|
66
|
+
Enter ship review mode — ask which feature to build next, then build one at a time. After each feature, ask again. Track progress in `docs/AI_BUILD_SPEC.md`.
|
|
67
|
+
|
|
68
|
+
**If the user wants changes:**
|
|
69
|
+
Ask one focused question: "What feels off?" Make the adjustment, re-run, show again. Do not rebuild everything — change only what they point to.
|
|
70
|
+
|
|
71
|
+
**When the product feels complete to the user:**
|
|
72
|
+
Run through `docs/QA_CHECKLIST.md` silently. Report only what's missing or broken, not what passes. Then guide them to `/ship` for launch prep.
|
|
73
|
+
|
|
74
|
+
---
|
|
31
75
|
|
|
32
76
|
## Hard rules
|
|
33
77
|
|
|
34
|
-
- **No task list
|
|
35
|
-
- **No
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
78
|
+
- **No task list, ever.** Build directly — tasks are invisible internal steps, not output.
|
|
79
|
+
- **No questions before the prototype exists.** The only interaction before Step 5 is code being written.
|
|
80
|
+
- **Theme is chosen by the agent, not the user** — pick the best fit from `theme-guide.md` and explain briefly after.
|
|
81
|
+
- **Run the app before showing results.** Never say "done" without confirming it compiles.
|
|
82
|
+
- **One question at a time.** Never give a list of options or ask multiple things at once.
|
|
83
|
+
|
|
84
|
+
---
|
|
38
85
|
|
|
39
86
|
## Reference files
|
|
40
87
|
|
|
@@ -42,7 +89,9 @@ Read `HUMAN_FLOW.md`. Replace `app/page.tsx` with the real entry point for this
|
|
|
42
89
|
|---|---|
|
|
43
90
|
| Vision, audience, MVP | `docs/PROJECT.md` |
|
|
44
91
|
| User flow, screens | `docs/HUMAN_FLOW.md` |
|
|
45
|
-
|
|
|
92
|
+
| Visual flow diagram (Mermaid) | `docs/FLOW.md` |
|
|
93
|
+
| Functional spec | `docs/AI_BUILD_SPEC.md` |
|
|
46
94
|
| Stack choices | `docs/tech-stack/STACK_DECISION_MATRIX.md` |
|
|
47
95
|
| UI guidance | invoke `ui-ux-pro-max` skill |
|
|
48
96
|
| Theme palette table | `theme-guide.md` (this skill folder) |
|
|
97
|
+
| QA before ship | `docs/QA_CHECKLIST.md` |
|
package/templates/.cursorrules
CHANGED
|
@@ -51,13 +51,14 @@ All docs live under `docs/`:
|
|
|
51
51
|
|
|
52
52
|
6. **Never invent business facts** (market size, pricing, real metrics, real user quotes). Draft clearly-labeled `[TBD: ...]` placeholders or ask the user.
|
|
53
53
|
|
|
54
|
-
7. **
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
54
|
+
7. **On first open (no `docs/AI_BUILD_SPEC.md` yet): build autonomously, no questions.**
|
|
55
|
+
- Read PROJECT.md + HUMAN_FLOW.md silently. The idea is already there — do not ask again.
|
|
56
|
+
- Auto-pick the best theme from `theme-guide.md` for this product type. Do not ask the user to choose.
|
|
57
|
+
- Write `docs/AI_BUILD_SPEC.md` (tight, 1 page), apply theme, build home screen + first screens.
|
|
58
|
+
- Run `npm run dev` and confirm the app compiles.
|
|
59
|
+
- Then tell the user what was built and ask ONE question: "ชอบทิศทางนี้ไหม?" / "Does this feel right?"
|
|
60
|
+
- **After they answer:** if yes → build features one at a time. If no → ask "what feels off?" and adjust.
|
|
61
|
+
- **No task list. No menu. No options. Build first, show second, ask third.**
|
|
61
62
|
|
|
62
63
|
## Quick Orientation for a New Agent Session
|
|
63
64
|
|
package/templates/.windsurfrules
CHANGED
|
@@ -51,13 +51,14 @@ All docs live under `docs/`:
|
|
|
51
51
|
|
|
52
52
|
6. **Never invent business facts** (market size, pricing, real metrics, real user quotes). Draft clearly-labeled `[TBD: ...]` placeholders or ask the user.
|
|
53
53
|
|
|
54
|
-
7. **
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
54
|
+
7. **On first open (no `docs/AI_BUILD_SPEC.md` yet): build autonomously, no questions.**
|
|
55
|
+
- Read PROJECT.md + HUMAN_FLOW.md silently. The idea is already there — do not ask again.
|
|
56
|
+
- Auto-pick the best theme from `theme-guide.md` for this product type. Do not ask the user to choose.
|
|
57
|
+
- Write `docs/AI_BUILD_SPEC.md` (tight, 1 page), apply theme, build home screen + first screens.
|
|
58
|
+
- Run `npm run dev` and confirm the app compiles.
|
|
59
|
+
- Then tell the user what was built and ask ONE question: "ชอบทิศทางนี้ไหม?" / "Does this feel right?"
|
|
60
|
+
- **After they answer:** if yes → build features one at a time. If no → ask "what feels off?" and adjust.
|
|
61
|
+
- **No task list. No menu. No options. Build first, show second, ask third.**
|
|
61
62
|
|
|
62
63
|
## Quick Orientation for a New Agent Session
|
|
63
64
|
|
package/templates/AGENTS.md
CHANGED
|
@@ -51,13 +51,14 @@ All docs live under `docs/`:
|
|
|
51
51
|
|
|
52
52
|
6. **Never invent business facts** (market size, pricing, real metrics, real user quotes). Draft clearly-labeled `[TBD: ...]` placeholders or ask the user.
|
|
53
53
|
|
|
54
|
-
7. **
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
54
|
+
7. **On first open (no `docs/AI_BUILD_SPEC.md` yet): build autonomously, no questions.**
|
|
55
|
+
- Read PROJECT.md + HUMAN_FLOW.md silently. The idea is already there — do not ask again.
|
|
56
|
+
- Auto-pick the best theme from `theme-guide.md` for this product type. Do not ask the user to choose.
|
|
57
|
+
- Write `docs/AI_BUILD_SPEC.md` (tight, 1 page), apply theme, build home screen + first screens.
|
|
58
|
+
- Run `npm run dev` and confirm the app compiles.
|
|
59
|
+
- Then tell the user what was built and ask ONE question: "ชอบทิศทางนี้ไหม?" / "Does this feel right?"
|
|
60
|
+
- **After they answer:** if yes → build features one at a time. If no → ask "what feels off?" and adjust.
|
|
61
|
+
- **No task list. No menu. No options. Build first, show second, ask third.**
|
|
61
62
|
|
|
62
63
|
## Quick Orientation for a New Agent Session
|
|
63
64
|
|
package/templates/CLAUDE.md
CHANGED
|
@@ -51,13 +51,14 @@ All docs live under `docs/`:
|
|
|
51
51
|
|
|
52
52
|
6. **Never invent business facts** (market size, pricing, real metrics, real user quotes). Draft clearly-labeled `[TBD: ...]` placeholders or ask the user.
|
|
53
53
|
|
|
54
|
-
7. **
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
54
|
+
7. **On first open (no `docs/AI_BUILD_SPEC.md` yet): build autonomously, no questions.**
|
|
55
|
+
- Read PROJECT.md + HUMAN_FLOW.md silently. The idea is already there — do not ask again.
|
|
56
|
+
- Auto-pick the best theme from `theme-guide.md` for this product type. Do not ask the user to choose.
|
|
57
|
+
- Write `docs/AI_BUILD_SPEC.md` (tight, 1 page), apply theme, build home screen + first screens.
|
|
58
|
+
- Run `npm run dev` and confirm the app compiles.
|
|
59
|
+
- Then tell the user what was built and ask ONE question: "ชอบทิศทางนี้ไหม?" / "Does this feel right?"
|
|
60
|
+
- **After they answer:** if yes → build features one at a time. If no → ask "what feels off?" and adjust.
|
|
61
|
+
- **No task list. No menu. No options. Build first, show second, ask third.**
|
|
61
62
|
|
|
62
63
|
## Quick Orientation for a New Agent Session
|
|
63
64
|
|