wize-dev-kit 0.3.0 → 0.4.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 (83) hide show
  1. package/AGENTS.md +21 -0
  2. package/ARCH.md +40 -4
  3. package/CHANGELOG.md +50 -0
  4. package/DECISIONS.md +13 -0
  5. package/README.md +11 -2
  6. package/package.json +3 -2
  7. package/src/core-skills/module.yaml +4 -0
  8. package/src/core-skills/wize-spec/assets/headless-schemas.md +39 -0
  9. package/src/core-skills/wize-spec/assets/spec-template.md +40 -0
  10. package/src/core-skills/wize-spec/customize.toml +20 -0
  11. package/src/core-skills/wize-spec/skill.md +110 -0
  12. package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +12 -0
  13. package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +38 -0
  14. package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +54 -0
  15. package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +40 -0
  16. package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +34 -0
  17. package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +36 -0
  18. package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +312 -0
  19. package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +42 -0
  20. package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +61 -0
  21. package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +185 -0
  22. package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +110 -0
  23. package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +159 -0
  24. package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +142 -0
  25. package/src/method-skills/1-analysis/wize-document-project/workflow.md +23 -0
  26. package/src/method-skills/1-analysis/wize-domain-research/customize.toml +14 -0
  27. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +49 -0
  28. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +39 -0
  29. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +39 -0
  30. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +39 -0
  31. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +39 -0
  32. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +43 -0
  33. package/src/method-skills/1-analysis/wize-domain-research/research.template.md +31 -0
  34. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +51 -0
  35. package/src/method-skills/1-analysis/wize-market-research/customize.toml +14 -0
  36. package/src/method-skills/1-analysis/wize-market-research/research.template.md +31 -0
  37. package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +57 -0
  38. package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +39 -0
  39. package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +37 -0
  40. package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +39 -0
  41. package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +37 -0
  42. package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +47 -0
  43. package/src/method-skills/1-analysis/wize-market-research/workflow.md +59 -0
  44. package/src/method-skills/1-analysis/wize-technical-research/customize.toml +14 -0
  45. package/src/method-skills/1-analysis/wize-technical-research/research.template.md +31 -0
  46. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +49 -0
  47. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +45 -0
  48. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +39 -0
  49. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +39 -0
  50. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +42 -0
  51. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +46 -0
  52. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +53 -0
  53. package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +41 -0
  54. package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +20 -0
  55. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +95 -0
  56. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +32 -0
  57. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +126 -0
  58. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +110 -0
  59. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +129 -0
  60. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +109 -0
  61. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +97 -0
  62. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +124 -0
  63. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +59 -0
  64. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +38 -201
  65. package/src/method-skills/4-implementation/wize-code-review/customize.toml +21 -0
  66. package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +64 -0
  67. package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +38 -0
  68. package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +43 -0
  69. package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +100 -0
  70. package/src/method-skills/4-implementation/wize-code-review/workflow.md +34 -89
  71. package/src/method-skills/module.yaml +19 -0
  72. package/src/tea-skills/wize-tea-risk/workflow.md +11 -0
  73. package/tools/installer/commands/doctor.js +27 -1
  74. package/tools/installer/commands/document-project.js +93 -0
  75. package/tools/installer/document-project/batch-scanner.js +93 -0
  76. package/tools/installer/document-project/classify.js +170 -0
  77. package/tools/installer/document-project/modes/deep-dive.js +196 -0
  78. package/tools/installer/document-project/modes/full-rescan.js +15 -0
  79. package/tools/installer/document-project/modes/initial-scan.js +100 -0
  80. package/tools/installer/document-project/modes/quick.js +211 -0
  81. package/tools/installer/document-project/render-index.js +101 -0
  82. package/tools/installer/document-project/state.js +110 -0
  83. package/tools/installer/wize-cli.js +46 -30
@@ -0,0 +1,39 @@
1
+ # Step 4: Architectural Patterns
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Write findings to the document immediately.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Analyze architectural patterns for {{research_topic}}.
12
+
13
+ ## Execution
14
+
15
+ Search for:
16
+
17
+ - "{{research_topic}} system architecture"
18
+ - "{{research_topic}} architectural patterns"
19
+ - "{{research_topic}} scalability patterns"
20
+
21
+ Synthesize and append:
22
+
23
+ ```markdown
24
+ ## Architectural Patterns
25
+
26
+ ### Common Architectural Styles
27
+ ...
28
+
29
+ ### Scalability Patterns
30
+ ...
31
+
32
+ ### Security Patterns
33
+ ...
34
+
35
+ ### Source Citations
36
+ ...
37
+ ```
38
+
39
+ Update `stepsCompleted: [1, 2, 3, 4]` and load `./technical-steps/step-05-implementation-research.md`.
@@ -0,0 +1,42 @@
1
+ # Step 5: Implementation Research
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Write findings to the document immediately.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Research implementation approaches and best practices for {{research_topic}}.
12
+
13
+ ## Execution
14
+
15
+ Search for:
16
+
17
+ - "{{research_topic}} best practices"
18
+ - "{{research_topic}} implementation guide"
19
+ - "{{research_topic}} production readiness"
20
+
21
+ Synthesize and append:
22
+
23
+ ```markdown
24
+ ## Implementation Research
25
+
26
+ ### Development Methodologies
27
+ ...
28
+
29
+ ### Code Organization
30
+ ...
31
+
32
+ ### Quality Assurance
33
+ ...
34
+
35
+ ### Deployment Practices
36
+ ...
37
+
38
+ ### Source Citations
39
+ ...
40
+ ```
41
+
42
+ Update `stepsCompleted: [1, 2, 3, 4, 5]` and load `./technical-steps/step-06-research-synthesis.md`.
@@ -0,0 +1,46 @@
1
+ # Step 6: Technical Research Synthesis and Completion
2
+
3
+ ## Rules
4
+
5
+ - 🌐 Search the web to verify claims.
6
+ - 📝 Replace the Research Overview placeholder and append synthesis.
7
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
8
+
9
+ ## Task
10
+
11
+ Produce the final technical research synthesis.
12
+
13
+ ## Execution
14
+
15
+ Replace `[Research overview and methodology will be appended here.]` with a concise summary.
16
+
17
+ Append:
18
+
19
+ ```markdown
20
+ ## Research Synthesis
21
+
22
+ ### Key Findings
23
+ 1. ...
24
+ 2. ...
25
+
26
+ ### Recommended Stack / Pattern
27
+ ...
28
+
29
+ ### Trade-offs
30
+ ...
31
+
32
+ ### Risks and Mitigations
33
+ ...
34
+
35
+ ### Still Open
36
+ - ...
37
+
38
+ ### Sources
39
+ ...
40
+ ```
41
+
42
+ Update frontmatter `stepsCompleted: [1, 2, 3, 4, 5, 6]` and `status: complete`.
43
+
44
+ ## On complete
45
+
46
+ Run `{workflow.on_complete}` if non-empty.
@@ -0,0 +1,53 @@
1
+ ---
2
+ code: wize-technical-research
3
+ name: Technical Research
4
+ phase: 1-analysis
5
+ owner: wize-agent-analyst # Pepper Potts
6
+ status: ready
7
+ ---
8
+
9
+ # Technical Research
10
+
11
+ **Goal.** Conduct technical research on technologies, tools, and architecture patterns to inform stack decisions.
12
+
13
+ Pepper Potts drives. Tony Stark consumes the output directly. Peggy Carter edits prose.
14
+
15
+ Output lands in `.wize/planning/research/technical-{slug}-research-{date}.md`.
16
+
17
+ ## When to use
18
+
19
+ - "Should we use X or Y?"
20
+ - "What is the current state of Z technology?"
21
+ - "I need a technical comparison of..."
22
+
23
+ ## Inputs
24
+
25
+ - Open questions from `.wize/planning/brief.md` or `.wize/planning/tech-vision.md`
26
+ - User-provided technology or architectural topic
27
+ - Web search access
28
+
29
+ ## Outputs
30
+
31
+ - `.wize/planning/research/technical-{slug}-research-{date}.md`
32
+
33
+ ## Workflow architecture
34
+
35
+ Step-file architecture with six steps:
36
+
37
+ 1. Scope confirmation
38
+ 2. Technical overview
39
+ 3. Integration patterns
40
+ 4. Architectural patterns
41
+ 5. Implementation research
42
+ 6. Research synthesis
43
+
44
+ ## On activation
45
+
46
+ 1. Load `.wize/config/project.toml` and `.wize/config/user.toml`.
47
+ 2. Ask for the technical topic if not provided.
48
+ 3. Derive `{research_topic_slug}` and create the output file from `research.template.md`.
49
+ 4. Read fully and follow `./technical-steps/step-01-init.md`.
50
+
51
+ ## Hand-off
52
+
53
+ > Technical research is in `.wize/planning/research/`. Fury and Tony can use it for stack family decisions; open questions route back to Wizer.
@@ -0,0 +1,41 @@
1
+ ---
2
+ status: draft
3
+ owner: Tony Stark
4
+ created: "{{created}}"
5
+ stepsCompleted: []
6
+ inputDocuments: []
7
+ ---
8
+
9
+ # Architecture — {{project_name}}
10
+
11
+ ## Summary
12
+
13
+ {{One paragraph: stack family, runtime, primary data store, deploy target. The frame.}}
14
+
15
+ ## Stack
16
+
17
+ - Language:
18
+ - Front-end:
19
+ - Back-end:
20
+ - DB:
21
+ - Auth:
22
+ - Hosting:
23
+ - Observability:
24
+ - Test:
25
+
26
+ ## Components
27
+
28
+ | Component | Responsibility | Boundary |
29
+ |---|---|---|
30
+
31
+ ## Data model
32
+
33
+ ## Sequences
34
+
35
+ ## Cross-cutting concerns
36
+
37
+ ## NFR check
38
+
39
+ ## ADRs
40
+
41
+ See `.wize/solutioning/adrs/`.
@@ -0,0 +1,20 @@
1
+ # Wize Dev Kit — overrides for the built-in workflow "wize-create-architecture".
2
+ # DO NOT EDIT in the installed kit; copy to .wize/custom/workflows/wize-create-architecture/
3
+ # for project-level overrides.
4
+
5
+ [workflow]
6
+
7
+ # Steps to run before standard activation (config load, greet).
8
+ activation_steps_prepend = []
9
+
10
+ # Steps to run after greet but before the workflow begins.
11
+ activation_steps_append = []
12
+
13
+ # Persistent facts the workflow keeps in mind for the whole run.
14
+ persistent_facts = [
15
+ "file:{project-root}/.wize/knowledge/document-project/conventions.md",
16
+ ]
17
+
18
+ # Scalar executed when Step 8 (Architecture Completion & Handoff) finishes.
19
+ # Override wins. Leave empty for no custom post-completion behavior.
20
+ on_complete = ""
@@ -0,0 +1,95 @@
1
+ # Step 1: Architecture Workflow Initialization
2
+
3
+ ## Mandatory execution rules
4
+
5
+ - 🛑 Never generate content without user input.
6
+ - 📖 Always read the complete step file before acting.
7
+ - ✅ Treat this as collaborative discovery between architectural peers.
8
+ - 💬 Focus on initialization and setup only.
9
+ - 🚪 Detect existing workflow state and handle continuation properly.
10
+ - ⚠️ No time estimates.
11
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
12
+
13
+ ## Execution protocols
14
+
15
+ - 🎯 Show analysis before taking action.
16
+ - 💾 Initialize the document and update frontmatter.
17
+ - 📖 Set `stepsCompleted: [1]` before loading the next step.
18
+ - 🚫 Do not load the next step until setup is complete and the user confirms.
19
+
20
+ ## Context boundaries
21
+
22
+ - Variables from `workflow.md` are available.
23
+ - Previous context is what is in the output document + frontmatter.
24
+ - Input document discovery happens in this step.
25
+
26
+ ## Task
27
+
28
+ Initialize the Architecture workflow by detecting continuation state, discovering input documents, and setting up the document for collaborative architectural decision making.
29
+
30
+ ## Initialization sequence
31
+
32
+ ### 1. Check for existing workflow
33
+
34
+ Check if `{output_folder}/solutioning/architecture.md` exists.
35
+
36
+ - If it exists and has frontmatter with `stepsCompleted`, stop here and load `./step-01b-continue.md`.
37
+ - If it exists but has no `stepsCompleted`, treat it as a legacy document: warn the user and offer to continue from it or start fresh.
38
+ - If it does not exist, this is a fresh workflow.
39
+
40
+ ### 2. Discover input documents
41
+
42
+ Search in `{output_folder}/planning/`, `{output_folder}/knowledge/`, and `{project-root}/docs/` for:
43
+
44
+ - Product Brief (`*brief*.md`)
45
+ - PRD (`*prd*.md`)
46
+ - UX Scenarios / UX Design (`*ux*.md`)
47
+ - Research (`*research*.md`)
48
+ - Project Context (`**/project-context.md`)
49
+
50
+ Confirm what was found with the user before proceeding.
51
+
52
+ ### 3. Validate required inputs
53
+
54
+ If no PRD is found:
55
+
56
+ > Architecture requires a PRD to work from. Please run `wize-create-prd` first or provide the PRD file path.
57
+
58
+ Do not proceed without a PRD.
59
+
60
+ ### 4. Create initial document
61
+
62
+ Copy `../architecture-decision-template.md` to `{output_folder}/solutioning/architecture.md`.
63
+
64
+ Set frontmatter:
65
+
66
+ ```yaml
67
+ status: draft
68
+ owner: Tony Stark
69
+ created: "{{date}}"
70
+ stepsCompleted: []
71
+ inputDocuments: [{{list of discovered files}}]
72
+ ```
73
+
74
+ ### 5. Report setup to user
75
+
76
+ ```
77
+ Welcome {{user_name}}! I've set up your Architecture workspace for {{project_name}}.
78
+
79
+ Documents found:
80
+ - PRD: {count or "None — required"}
81
+ - UX Design: {count or "None"}
82
+ - Research: {count or "None"}
83
+ - Project docs: {count or "None"}
84
+ - Project context: {count of rules or "None"}
85
+
86
+ Files loaded: {list or "No additional documents"}
87
+
88
+ Ready to begin architectural decision making. Do you have any other documents you'd like to include?
89
+
90
+ [C] Continue to project context analysis
91
+ ```
92
+
93
+ ## Next step
94
+
95
+ After the user selects [C], load `./step-02-context.md`.
@@ -0,0 +1,32 @@
1
+ # Step 1b: Continue Existing Architecture Workflow
2
+
3
+ ## Purpose
4
+
5
+ Resume an architecture workflow that was previously started.
6
+
7
+ ## Rules
8
+
9
+ - Read the existing `{output_folder}/solutioning/architecture.md` fully, including frontmatter.
10
+ - Report the current `stepsCompleted` to the user.
11
+ - Ask whether to continue from the last completed step or restart from a specific step.
12
+ - Never discard already-written content without explicit user confirmation.
13
+
14
+ ## Continue menu
15
+
16
+ ```
17
+ Existing architecture document found.
18
+
19
+ Steps completed: {stepsCompleted}
20
+ Last saved: {updated or created date}
21
+
22
+ What would you like to do?
23
+ [C] Continue from the next step ({next_step})
24
+ [R] Restart from step 1
25
+ [S] Pick a specific step to revisit
26
+ ```
27
+
28
+ ## Routing
29
+
30
+ - [C] → load the step immediately after the highest value in `stepsCompleted`.
31
+ - [R] → confirm overwrite risk, then return to `step-01-init.md` fresh setup.
32
+ - [S] → present the list of steps and load the selected one.
@@ -0,0 +1,126 @@
1
+ # Step 2: Project Context Analysis
2
+
3
+ ## Mandatory execution rules
4
+
5
+ - 🛑 Never generate content without user input.
6
+ - 📖 Always read the complete step file before acting.
7
+ - ✅ Treat this as collaborative discovery.
8
+ - 🎯 Analyze loaded documents; don't assume or generate requirements.
9
+ - ⚠️ No time estimates.
10
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
11
+
12
+ ## Execution protocols
13
+
14
+ - 🎯 Show analysis before taking action.
15
+ - ⚠️ Present A/P/C menu after generating project context analysis.
16
+ - 💾 Only save when the user chooses C (Continue).
17
+ - 📖 Update frontmatter `stepsCompleted: [1, 2]` before loading the next step.
18
+ - 🚫 Do not load the next step until C is selected.
19
+
20
+ ## Collaboration menu (A/P/C)
21
+
22
+ - **A (Advanced Elicitation)** — invoke `wize-advanced-elicitation` for deeper architectural implications.
23
+ - **P (Party Mode)** — invoke `wize-party-mode` to bring Tony, Fury, and Pepper into the conversation.
24
+ - **C (Continue)** — save the content and proceed.
25
+
26
+ After A or P, return to this menu.
27
+
28
+ ## Context boundaries
29
+
30
+ - Current document and frontmatter from step 1 are available.
31
+ - Input documents are loaded.
32
+ - Focus on architectural implications only — no technology decisions yet.
33
+
34
+ ## Task
35
+
36
+ Analyze the loaded project documents to understand architectural scope, requirements, and constraints.
37
+
38
+ ## Analysis sequence
39
+
40
+ ### 1. Review project requirements
41
+
42
+ **From PRD:**
43
+
44
+ - Extract functional requirements and their architectural implications.
45
+ - Identify non-functional requirements (performance, security, compliance).
46
+ - Note technical constraints or dependencies.
47
+
48
+ **From Epics/Stories (if available):**
49
+
50
+ - Map epic structure to architectural components.
51
+ - Identify cross-cutting concerns that span multiple epics.
52
+
53
+ **From UX Design (if available):**
54
+
55
+ - Component complexity, real-time needs, platform-specific UI, accessibility level, responsive breakpoints, offline capability.
56
+
57
+ ### 2. Project scale assessment
58
+
59
+ Complexity indicators:
60
+
61
+ - Real-time features
62
+ - Multi-tenancy
63
+ - Regulatory compliance
64
+ - Integration density
65
+ - User interaction complexity
66
+ - Data complexity and volume
67
+
68
+ ### 3. Reflect understanding to the user
69
+
70
+ Present a concise summary:
71
+
72
+ ```
73
+ I'm reviewing your project documentation for {{project_name}}.
74
+
75
+ I see {{fr_count}} functional requirements and {{nfr_count}} non-functional requirements.
76
+ {epics_loaded?}I also see {{epic_count}} epics with {{story_count}} stories.{/epics_loaded?}
77
+ {ux_loaded?}A UX specification is present.{/ux_loaded?}
78
+
79
+ Key architectural aspects:
80
+ - [core functionality]
81
+ - [critical NFRs]
82
+ - [unique technical challenges]
83
+ - [compliance requirements]
84
+
85
+ Scale indicators:
86
+ - Complexity: [low/medium/high/enterprise]
87
+ - Primary domain: [web/mobile/api/backend/full-stack/etc]
88
+ - Cross-cutting concerns: [list]
89
+
90
+ Does this match your understanding?
91
+ ```
92
+
93
+ ### 4. Generate project context content
94
+
95
+ Prepare the section to append:
96
+
97
+ ```markdown
98
+ ## Project Context Analysis
99
+
100
+ ### Requirements Overview
101
+
102
+ **Functional Requirements:**
103
+ {{analysis}}
104
+
105
+ **Non-Functional Requirements:**
106
+ {{analysis}}
107
+
108
+ **Scale & Complexity:**
109
+ - Primary domain: {{domain}}
110
+ - Complexity level: {{level}}
111
+ - Estimated architectural components: {{count}}
112
+
113
+ ### Technical Constraints & Dependencies
114
+ {{list}}
115
+
116
+ ### Cross-Cutting Concerns Identified
117
+ {{list}}
118
+ ```
119
+
120
+ ### 5. Present content and menu
121
+
122
+ Show the drafted content and present A/P/C. Only append when the user chooses C.
123
+
124
+ ## Next step
125
+
126
+ After C, load `./step-03-starter.md`.
@@ -0,0 +1,110 @@
1
+ # Step 3: Starter Template Evaluation
2
+
3
+ ## Mandatory execution rules
4
+
5
+ - 🛑 Never generate content without user input.
6
+ - ✅ Treat this as collaborative discovery.
7
+ - 🌐 Search the web to verify current versions and options.
8
+ - ⚠️ No time estimates.
9
+ - ✅ Speak in `{communication_language}`; write artifacts in `{document_output_language}`.
10
+
11
+ ## Execution protocols
12
+
13
+ - 🎯 Show analysis before taking action.
14
+ - ⚠️ Present A/P/C menu after starter analysis.
15
+ - 💾 Only save when the user chooses C.
16
+ - 📖 Update frontmatter `stepsCompleted: [1, 2, 3]` before loading the next step.
17
+
18
+ ## Collaboration menu (A/P/C)
19
+
20
+ - **A (Advanced Elicitation)** — explore unconventional starter options.
21
+ - **P (Party Mode)** — evaluate starter trade-offs from multiple perspectives.
22
+ - **C (Continue)** — save and move to architectural decisions.
23
+
24
+ ## Context boundaries
25
+
26
+ - Project context from step 2 is available.
27
+ - No architectural decisions made yet — this step evaluates foundations.
28
+
29
+ ## Task
30
+
31
+ Discover technical preferences and evaluate starter template options, establishing solid architectural foundations.
32
+
33
+ ## Starter evaluation sequence
34
+
35
+ ### 0. Check existing technical preferences
36
+
37
+ If `.wize/knowledge/document-project/conventions.md` or `project-context.md` exist, surface any already-documented technical rules.
38
+
39
+ ### 1. Discover user technical preferences
40
+
41
+ Ask about:
42
+
43
+ - Languages and frameworks
44
+ - Databases
45
+ - Cloud / hosting / deployment
46
+ - Third-party services (auth, payments, analytics)
47
+ - Team experience level
48
+
49
+ ### 2. Identify primary technology domain
50
+
51
+ Map the project to one of:
52
+
53
+ - Web application
54
+ - Mobile app
55
+ - API / backend
56
+ - CLI tool
57
+ - Full-stack
58
+ - Desktop
59
+
60
+ ### 3. Research current starter options
61
+
62
+ Search the web for current, maintained starter templates matching the domain.
63
+
64
+ ### 4. Present starter options
65
+
66
+ For each viable starter, document:
67
+
68
+ - Technology decisions already made by the starter
69
+ - Architectural patterns established
70
+ - Development experience features
71
+ - Maintenance status
72
+
73
+ ### 5. Get selection
74
+
75
+ Present a recommended starter and ask for confirmation.
76
+
77
+ ### 6. Generate starter content
78
+
79
+ Append to `architecture.md`:
80
+
81
+ ```markdown
82
+ ## Starter Template Evaluation
83
+
84
+ ### Primary Technology Domain
85
+ {{domain}}
86
+
87
+ ### Starter Options Considered
88
+ {{analysis}}
89
+
90
+ ### Selected Starter: {{starter_name}}
91
+
92
+ **Rationale:** {{why}}
93
+
94
+ **Initialization Command:**
95
+ ```bash
96
+ {{command}}
97
+ ```
98
+
99
+ **Architectural Decisions Provided by Starter:**
100
+ - Language & Runtime: ...
101
+ - Styling Solution: ...
102
+ - Build Tooling: ...
103
+ - Testing Framework: ...
104
+ - Code Organization: ...
105
+ - Development Experience: ...
106
+ ```
107
+
108
+ ## Next step
109
+
110
+ After C, load `./step-04-decisions.md`.