create-issflow 1.0.3 → 1.2.0

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.
Files changed (45) hide show
  1. package/README.md +61 -56
  2. package/bin/cli.js +270 -259
  3. package/package.json +32 -28
  4. package/template/.claude/agents/debugger.md +47 -47
  5. package/template/.claude/agents/e2e-runner.md +66 -66
  6. package/template/.claude/agents/implementer.md +79 -75
  7. package/template/.claude/agents/planner.md +93 -71
  8. package/template/.claude/agents/researcher.md +103 -103
  9. package/template/.claude/agents/synthesizer.md +78 -72
  10. package/template/.claude/agents/test-author.md +70 -70
  11. package/template/.claude/commands/change-request.md +53 -0
  12. package/template/.claude/commands/log-decision.md +33 -33
  13. package/template/.claude/commands/log-issue.md +28 -28
  14. package/template/.claude/commands/overview.md +114 -99
  15. package/template/.claude/commands/phase.md +230 -202
  16. package/template/.claude/commands/propose.md +71 -0
  17. package/template/.claude/commands/qa-audit.md +53 -0
  18. package/template/.claude/commands/quick.md +30 -30
  19. package/template/.claude/commands/replan.md +68 -63
  20. package/template/.claude/commands/security-audit.md +56 -0
  21. package/template/.claude/commands/store-wisdom.md +195 -195
  22. package/template/.claude/commands/synthesize.md +26 -26
  23. package/template/.claude/commands/ui-audit.md +54 -0
  24. package/template/.claude/commands/unstuck.md +40 -40
  25. package/template/.claude/hooks/pre-compact.js +42 -0
  26. package/template/.claude/hooks/session-start.js +137 -0
  27. package/template/.claude/hooks/subagent-stop.js +18 -0
  28. package/template/.claude/istartsoft-flow/METHODOLOGY.md +432 -229
  29. package/template/.claude/skills/caveman/SKILL.md +39 -39
  30. package/template/.claude/skills/code-standards/SKILL.md +61 -0
  31. package/template/.claude/skills/code-standards/references/architecture.md +61 -0
  32. package/template/.claude/skills/code-standards/references/naming.md +60 -0
  33. package/template/.claude/skills/grill-me/SKILL.md +31 -10
  34. package/template/.claude/skills/karpathy-guidelines/SKILL.md +34 -34
  35. package/template/.claude/skills/security/SKILL.md +70 -0
  36. package/template/.claude/skills/security/references/pentest-checklist.md +46 -0
  37. package/template/.claude/skills/security/references/secure-coding.md +50 -0
  38. package/template/.claude/skills/security/references/standards.md +60 -0
  39. package/template/.claude/skills/security/references/threat-modeling.md +36 -0
  40. package/template/.claude/skills/ux-design/SKILL.md +117 -99
  41. package/template/.claude/skills/ux-design/{wireframe-template.md → references/wireframe-template.md} +95 -95
  42. package/template/.claude/templates/proposal.html +126 -0
  43. package/template/.claude/hooks/pre-compact.sh +0 -25
  44. package/template/.claude/hooks/session-start.sh +0 -120
  45. package/template/.claude/hooks/subagent-stop.sh +0 -11
@@ -1,28 +1,28 @@
1
- ---
2
- description: Log an error to docs/ISSUES.md with root cause + solution, in the canonical format.
3
- argument-hint: [short error description]
4
- ---
5
-
6
- Caveman ULTRA mode.
7
-
8
- Append an entry to docs/ISSUES.md. Error: $ARGUMENTS
9
-
10
- Canonical format:
11
- ```
12
-
13
- ### <short error title — searchable, literal error keywords>
14
-
15
- - [x] open (or “- [x] resolved”)
16
- - symptom: <what was observed>
17
- - root cause: <the REAL underlying cause>
18
- - solution: <exact fix, or “pending”>
19
- - failed attempts: <approaches that did NOT work>
20
-
21
- ```
22
- Rules:
23
- - title must contain literal error keywords -> grep finds it.
24
- - root cause is the real cause, not "the line threw an error".
25
- - always fill "failed attempts" — stops repeated dead ends.
26
- - open issues go at the TOP; resolved below; archived oldest at bottom.
27
-
28
- Confirm the entry back in 2 lines.
1
+ ---
2
+ description: Log an error to docs/ISSUES.md with root cause + solution, in the canonical format.
3
+ argument-hint: [short error description]
4
+ ---
5
+
6
+ Caveman ULTRA mode.
7
+
8
+ Append an entry to docs/ISSUES.md. Error: $ARGUMENTS
9
+
10
+ Canonical format:
11
+ ```
12
+
13
+ ### <short error title — searchable, literal error keywords>
14
+
15
+ - [x] open (or “- [x] resolved”)
16
+ - symptom: <what was observed>
17
+ - root cause: <the REAL underlying cause>
18
+ - solution: <exact fix, or “pending”>
19
+ - failed attempts: <approaches that did NOT work>
20
+
21
+ ```
22
+ Rules:
23
+ - title must contain literal error keywords -> grep finds it.
24
+ - root cause is the real cause, not "the line threw an error".
25
+ - always fill "failed attempts" — stops repeated dead ends.
26
+ - open issues go at the TOP; resolved below; archived oldest at bottom.
27
+
28
+ Confirm the entry back in 2 lines.
@@ -1,99 +1,114 @@
1
- ---
2
- description: Bootstrap a new project. Runs design-research, double grill, and planning. Run once per project.
3
- ---
4
-
5
- Caveman ULTRA mode.
6
-
7
- Recommended: run from plan mode (Shift+Tab). Planning agents are read-only by
8
- tool grant; plan mode adds a read-only gate on the main session too. Optional.
9
-
10
- Goal: stand up a fresh project workspace with a well-grounded plan.
11
-
12
- ---
13
-
14
- ## Steps
15
-
16
- ### Round 1 Initial grill
17
-
18
- 1. Run the `grill-me` skill to interrogate me. Goal: understand initial scope.
19
- known constraints, unknowns.
20
- Do not stop early. Do not write OVERVIEW.md yet.
21
-
22
- Store the round-1 answers as working context do NOT write OVERVIEW.md yet.
23
-
24
- ---
25
-
26
- ### Design research
27
-
28
- 2. Extract DESIGN TOPICS from the round-1 answers. These are things we need
29
- to verify before planning:
30
- - Each external service mentioned: what does it support at the relevant tier?
31
- Quotas, rate limits, known gaps?
32
- - Auth patterns: any MSAL/Entra constraints for this scenario?
33
- - Any other architectural assumption in the round-1 answers worth verifying.
34
-
35
- 3. Dispatch `researcher` in DESIGN mode with the DESIGN TOPICS list.
36
- It returns a terse summary + file paths. Read the design-<slug>.md files
37
- only if needed.
38
-
39
- ---
40
-
41
- ### Round 2 Research-informed re-grill
42
-
43
- 4. Run `grill-me` again — a second focused pass. Seed it with:
44
- - The round-1 answers (already established — do not re-ask these)
45
- - The design-research key findings and new questions raised
46
-
47
- The re-grill asks whatever it needs to build complete understanding. It is
48
- not limited to "gaps from research" — research context makes new questions
49
- relevant even if it found no blockers. Do not re-ask what round 1 already
50
- established clearly.
51
-
52
- ---
53
-
54
- ### Write OVERVIEW.md
55
-
56
- 5. Write docs/OVERVIEW.md from the COMBINED output of round-1 + design-research
57
- + round-2. Include:
58
- - Project purpose and success criteria
59
- - Scope and constraints (informed by research findings)
60
- - External services with confirmed capabilities/limits
61
- - Known risks / open questions (if any remain)
62
-
63
- OVERVIEW.md is written HEREafter the re-grill, not before.
64
-
65
- ---
66
-
67
- ### Plan
68
-
69
- 6. Hand OVERVIEW.md + design-research findings to the `planner` subagent.
70
- PLAN.md MUST:
71
- - Start with Phase 0 (infra setup) only if infra is self-managed; with
72
- managed infra, Phase 0 is N/A and the plan starts at Phase 1.
73
- - End with a final code phase that contains the deploy task block.
74
-
75
- 7. Create docs/STATE.md:
76
- ```
77
-
78
- # STATE
79
-
80
- phase: 0 (pending)
81
- completed: project bootstrapped — design research done, double grill done
82
- blocker: none
83
-
84
- ```
85
- 8. Create docs/ISSUES.md with header `# Issues` and `## Archived` section.
86
-
87
- 9. Create empty docs/HISTORY.md.
88
-
89
-
90
- 11. Create docs/ENDPOINTS.md:
91
- ```
92
- # Endpoints<project name>
93
- > Maintained by implementer. Updated each phase.
94
- > Base URL: (populated after deployment phase)
95
- ```
96
-
97
- Then stop and show me PLAN.md for approval before any phase starts.
98
-
99
- before starting Phase 1."
1
+ ---
2
+ description: Bootstrap a new project. Runs design-research, double grill, and planning. Run once per project.
3
+ ---
4
+
5
+ Caveman ULTRA mode.
6
+
7
+ Recommended: run from plan mode (Shift+Tab). Planning agents are read-only by
8
+ tool grant; plan mode adds a read-only gate on the main session too. Optional.
9
+
10
+ Goal: stand up a fresh project workspace with a well-grounded plan.
11
+
12
+ LANGUAGE: detect the user's language and run the WHOLE discovery in it. A Thai user
13
+ → grill, summarise, and write OVERVIEW in **natural Thai** (keep tech terms in
14
+ English as a Thai team would). Record the project language in OVERVIEW so downstream
15
+ artifacts (PROPOSAL, the rendered proposal.html, docs) follow it. Be equally fluent
16
+ in English; just don't default to it when the user speaks Thai.
17
+
18
+ ---
19
+
20
+ ## Steps
21
+
22
+ ### Round 1 — Initial grill
23
+
24
+ 1. Run the `grill-me` skill to interrogate me. Goal: understand initial scope,
25
+ known constraints, unknowns. Asking is encouraged here — planning is where human
26
+ input is cheapest. Do not stop early. Do not write OVERVIEW.md yet.
27
+
28
+ Store the round-1 answers as working context do NOT write OVERVIEW.md yet.
29
+
30
+ ---
31
+
32
+ ### Design research
33
+
34
+ 2. Extract DESIGN TOPICS from the round-1 answers. These are things we need
35
+ to verify before planning:
36
+ - Each external service mentioned: what does it support at the relevant tier?
37
+ Quotas, rate limits, known gaps?
38
+ - Auth patterns: any constraints from the chosen auth provider for this scenario?
39
+ - Any other architectural assumption in the round-1 answers worth verifying.
40
+
41
+ 3. Dispatch `researcher` in DESIGN mode with the DESIGN TOPICS list.
42
+ It returns a terse summary + file paths. Read the design-<slug>.md files
43
+ only if needed.
44
+
45
+ ---
46
+
47
+ ### Round 2 Research-informed re-grill
48
+
49
+ 4. Run `grill-me` again a second focused pass. Seed it with:
50
+ - The round-1 answers (already established — do not re-ask these)
51
+ - The design-research key findings and new questions raised
52
+
53
+ The re-grill asks whatever it needs to build complete understanding — planning is
54
+ interactive in both modes. Do not re-ask what round 1 already established clearly.
55
+
56
+ ---
57
+
58
+ ### Write OVERVIEW.md
59
+
60
+ 5. Write docs/OVERVIEW.md from the COMBINED output of round-1 + design-research
61
+ + round-2. Include:
62
+ - Project purpose and success criteria
63
+ - **Project language** (e.g. th / en / both) downstream docs + proposal follow it
64
+ - **Autonomy mode** for the dev loop (AUTO default / GUIDED) and the declared
65
+ **stack** (framework, infra, auth, test + E2E runner, planning source)
66
+ - **Architecture pattern** (default Feature-Based) + **code conventions / style
67
+ guide** for the stack's language (`code-standards` skill) + the folder layout
68
+ - **Estimation config** (for `/propose`): unit, rate card, currency, contingency,
69
+ payment milestones
70
+ - Scope and constraints (informed by research findings)
71
+ - External services with confirmed capabilities/limits
72
+ - Known risks / open questions (if any remain)
73
+
74
+ OVERVIEW.md is written HERE — after the re-grill, not before.
75
+
76
+ ---
77
+
78
+ ### Plan
79
+
80
+ 6. Hand OVERVIEW.md + design-research findings to the `planner` subagent.
81
+ PLAN.md MUST:
82
+ - Start with Phase 0 (infra setup) only if infra is self-managed; with
83
+ managed infra, Phase 0 is N/A and the plan starts at Phase 1.
84
+ - End with a final code phase that contains the deploy task block.
85
+
86
+ 7. Create docs/STATE.md:
87
+ ```
88
+
89
+ # STATE
90
+
91
+ phase: 0 (pending)
92
+ completed: project bootstrappeddesign research done, double grill done
93
+ blocker: none
94
+
95
+ ```
96
+ 8. Create docs/ISSUES.md with header `# Issues` and `## Archived` section.
97
+
98
+ 9. Create empty docs/HISTORY.md.
99
+
100
+
101
+ 11. Create docs/ENDPOINTS.md:
102
+ ```
103
+ # Endpoints — <project name>
104
+ > Maintained by implementer. Updated each phase.
105
+ > Base URL: (populated after deployment phase)
106
+ ```
107
+
108
+ Then stop and show me PLAN.md for approval before any phase starts. Planning ends
109
+ with a human sign-off in both modes; AUTO only governs the development loop that
110
+ runs AFTER the plan is approved.
111
+
112
+ Optional next step (client / quoted work only): run `/propose` to turn this
113
+ OVERVIEW + PLAN into a proposal + estimate for sign-off before building. Internal or
114
+ personal projects skip it and go straight to `/phase`.