create-issflow 1.0.2 → 1.1.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.
- package/README.md +61 -56
- package/bin/cli.js +269 -259
- package/package.json +32 -28
- package/template/.claude/agents/debugger.md +47 -47
- package/template/.claude/agents/e2e-runner.md +66 -66
- package/template/.claude/agents/implementer.md +79 -75
- package/template/.claude/agents/planner.md +93 -71
- package/template/.claude/agents/researcher.md +103 -103
- package/template/.claude/agents/synthesizer.md +78 -72
- package/template/.claude/agents/test-author.md +70 -70
- package/template/.claude/commands/change-request.md +53 -0
- package/template/.claude/commands/log-decision.md +33 -33
- package/template/.claude/commands/log-issue.md +28 -28
- package/template/.claude/commands/overview.md +114 -99
- package/template/.claude/commands/phase.md +230 -202
- package/template/.claude/commands/propose.md +71 -0
- package/template/.claude/commands/quick.md +30 -30
- package/template/.claude/commands/replan.md +68 -63
- package/template/.claude/commands/store-wisdom.md +195 -195
- package/template/.claude/commands/synthesize.md +26 -26
- package/template/.claude/commands/unstuck.md +40 -40
- package/template/.claude/hooks/pre-compact.js +42 -0
- package/template/.claude/hooks/session-start.js +137 -0
- package/template/.claude/hooks/subagent-stop.js +18 -0
- package/template/.claude/istartsoft-flow/METHODOLOGY.md +403 -229
- package/template/.claude/skills/caveman/SKILL.md +39 -39
- package/template/.claude/skills/code-standards/SKILL.md +61 -0
- package/template/.claude/skills/code-standards/references/architecture.md +61 -0
- package/template/.claude/skills/code-standards/references/naming.md +60 -0
- package/template/.claude/skills/grill-me/SKILL.md +31 -10
- package/template/.claude/skills/karpathy-guidelines/SKILL.md +34 -34
- package/template/.claude/skills/security/SKILL.md +70 -0
- package/template/.claude/skills/security/references/pentest-checklist.md +46 -0
- package/template/.claude/skills/security/references/secure-coding.md +50 -0
- package/template/.claude/skills/security/references/standards.md +60 -0
- package/template/.claude/skills/security/references/threat-modeling.md +36 -0
- package/template/.claude/skills/ux-design/SKILL.md +113 -99
- package/template/.claude/skills/ux-design/{wireframe-template.md → references/wireframe-template.md} +95 -95
- package/template/.claude/templates/proposal.html +126 -0
- package/template/.claude/hooks/pre-compact.sh +0 -25
- package/template/.claude/hooks/session-start.sh +0 -120
- 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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
established
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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 bootstrapped — design 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`.
|