godpowers 0.15.7 → 0.15.9

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/CHANGELOG.md CHANGED
@@ -5,6 +5,42 @@ All notable changes to Godpowers will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.15.9] - 2026-05-11
9
+
10
+ Early design planning release. Lets UI and product-experience projects shape
11
+ DESIGN.md before architecture.
12
+
13
+ ### Changed
14
+ - `/god-init` now records UI and product-experience signals in
15
+ `.godpowers/prep/INITIAL-FINDINGS.md`.
16
+ - `/god-prd`, `/god-next`, and `/god-mode` now route to `/god-design` after
17
+ PRD and before `/god-arch` when UI or product-experience signals are found.
18
+ - `/god-design` now requires PRD, not stack, so DESIGN.md can inform
19
+ architecture, roadmap, and stack instead of arriving after them.
20
+ - Architecture, roadmap, and stack routing and agents now read DESIGN.md and
21
+ PRODUCT.md when present.
22
+
23
+ ## [0.15.8] - 2026-05-11
24
+
25
+ Init preparation release. Documents what Godpowers found before PRD, next-step
26
+ routing, or the full autonomous arc starts.
27
+
28
+ ### Added
29
+ - `/god-init` now always creates `.godpowers/prep/INITIAL-FINDINGS.md` with
30
+ codebase shape, framework and tooling signals, tests, CI, docs, AI-tool
31
+ instructions, detected methodology systems, risks, and the suggested next
32
+ command rationale.
33
+ - `/god-prd`, `/god-next`, and `/god-mode` now read initial findings before
34
+ choosing or producing the next Godpowers artifact.
35
+ - Architecture, roadmap, and stack agents now read initial findings alongside
36
+ imported planning context when present.
37
+
38
+ ### Documented
39
+ - The full recent init preparation flow is now documented together:
40
+ automatic AI-tool context for explicit `god init`, quiet context writes,
41
+ GSD / Superpowers / BMAD import into `IMPORTED-CONTEXT.md`, and direct
42
+ Godpowers repo findings in `INITIAL-FINDINGS.md`.
43
+
8
44
  ## [0.15.7] - 2026-05-11
9
45
 
10
46
  Planning import release. Lets `/god-init` preserve useful context from nearby
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/aihxp/godpowers/actions/workflows/ci.yml/badge.svg)](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Version](https://img.shields.io/badge/version-0.15.7-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-0.15.9-blue)](CHANGELOG.md)
6
6
  [![npm](https://img.shields.io/npm/v/godpowers.svg)](https://www.npmjs.com/package/godpowers)
7
7
 
8
8
  **Ship fast. Ship right. Ship everything. Ship accountably.**
@@ -75,6 +75,12 @@ PRD complete: .godpowers/prd/PRD.md
75
75
  Suggested next: /god-arch (design the architecture)
76
76
  ```
77
77
 
78
+ For UI or product-experience projects, PRD can route to design first:
79
+
80
+ ```
81
+ Suggested next: /god-design (shape product experience)
82
+ ```
83
+
78
84
  You can also ask any time:
79
85
 
80
86
  ```
@@ -164,7 +170,7 @@ Skill updates: PROGRESS.md
164
170
  | Tier | Sub-steps | Specialists |
165
171
  |------|-----------|-------------|
166
172
  | 0: Orchestration | mode detection, scale, progress | god-orchestrator |
167
- | 1: Planning | PRD, ARCH, ROADMAP, STACK | god-pm, god-architect, god-roadmapper, god-stack-selector |
173
+ | 1: Planning | PRD, optional DESIGN, ARCH, ROADMAP, STACK | god-pm, god-designer, god-architect, god-roadmapper, god-stack-selector |
168
174
  | 2: Building | repo, plan, execute, review | god-repo-scaffolder, god-planner, god-executor, god-spec-reviewer, god-quality-reviewer |
169
175
  | 3: Shipping | deploy, observe, launch, harden | god-deploy-engineer, god-observability-engineer, god-launch-strategist, god-harden-auditor |
170
176
 
@@ -19,19 +19,35 @@ flip points.
19
19
  Before starting:
20
20
  - `.godpowers/prd/PRD.md` MUST exist
21
21
  - PRD MUST pass have-nots (run god-auditor first if uncertain)
22
+ - Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
23
+ context.
22
24
  - Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
23
25
  context.
26
+ - Optional: `.godpowers/design/DESIGN.md` and
27
+ `.godpowers/design/PRODUCT.md` may exist as early product-experience
28
+ preparation.
24
29
 
25
30
  ## Imported Preparation Context
26
31
 
32
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for direct
33
+ Godpowers observations about framework, tooling, deploy, tests, docs, and
34
+ codebase risks.
35
+
27
36
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its technical signals
28
37
  before drafting ARCH. Use imported architecture, integration, risk, and stack
29
38
  constraints as hypothesis-level input only.
30
39
 
40
+ If `.godpowers/design/DESIGN.md` or `.godpowers/design/PRODUCT.md` exists,
41
+ read them before drafting ARCH. Use early design to identify user-facing
42
+ surfaces, routes, component boundaries, state flows, accessibility needs, and
43
+ where architecture must preserve product experience.
44
+
31
45
  Rules:
32
46
  - Do not let imported context override PRD NFRs or Godpowers state.
33
47
  - Convert useful imported signals into ADR context, tradeoffs, or open
34
48
  questions.
49
+ - Convert useful design signals into containers, ADR context, UI boundary
50
+ descriptions, or open questions.
35
51
  - If imported context conflicts with the PRD, the PRD wins and the conflict
36
52
  becomes an `[OPEN QUESTION]`.
37
53
 
@@ -4,7 +4,7 @@ description: |
4
4
  Lifecycle owner of DESIGN.md and PRODUCT.md. Detects impeccable; if
5
5
  installed, delegates to /impeccable teach (initial) or /impeccable
6
6
  document (refresh from code). If not installed, falls back to a
7
- minimal builder using PRD/ARCH/STACK.
7
+ minimal builder using prep artifacts, PRD, and any available ARCH/STACK.
8
8
 
9
9
  Spawned by: /god-design, god-orchestrator (Tier 1, conditional on UI)
10
10
  tools: Read, Write, Edit, Bash, Grep, Glob
@@ -78,10 +78,18 @@ Cascade:
78
78
  - `references/design/UX-WRITING.md` (copy)
79
79
  - `references/design/DESIGN-ANTIPATTERNS.md` (what to avoid)
80
80
 
81
- Use PRD.md (target users, register hints), ARCH.md (UI surface),
82
- STACK.md (UI framework) to generate a starter DESIGN.md from the
83
- template, applying the rules from the references above. The output
84
- will be less polished than impeccable's, but it's not toothless: the
81
+ Read `.godpowers/prep/INITIAL-FINDINGS.md` and
82
+ `.godpowers/prep/IMPORTED-CONTEXT.md` when present, then use PRD.md
83
+ (target users, flows, register hints), plus ARCH.md and STACK.md only
84
+ when they already exist. Early mode runs after PRD and before
85
+ architecture, so do not require ARCH or STACK. In early mode, produce
86
+ an experience contract that architecture and stack can honor later:
87
+ screens, flows, component needs, interaction states, product voice,
88
+ constraints, anti-references, and visual token direction.
89
+
90
+ Generate a starter DESIGN.md from the template, applying the rules
91
+ from the references above. The output will be less polished than
92
+ impeccable's, but it's not toothless: the
85
93
  references encode our design opinions across all 7 domains
86
94
  (typography, color, spatial, motion, interaction, responsive,
87
95
  ux-writing) at shallower depth than impeccable's full skill set.
@@ -152,7 +160,8 @@ After done, return to god-orchestrator with:
152
160
  - DESIGN.md path
153
161
  - PRODUCT.md path (if produced)
154
162
  - Validation summary (errors, warnings)
155
- - Suggested next: `/god-repo` (proceed to scaffolding)
163
+ - Suggested next: `/god-arch` when design ran early, or `/god-repo` when
164
+ architecture, roadmap, and stack are already complete
156
165
 
157
166
  ## Linkage hooks
158
167
 
@@ -30,8 +30,9 @@ You and only you are responsible for:
30
30
  2. **Calling the play** - selecting the next specialist agent for each tier
31
31
  sub-step from `<runtimeRoot>/routing/<command>.yaml`.
32
32
  3. **Owning the playbook** - all writes to `state.json`, `PROGRESS.md`,
33
- `intent.yaml`, `.godpowers/prep/IMPORTED-CONTEXT.md`, and `events.jsonl`
34
- originate from you or agents you spawn.
33
+ `intent.yaml`, `.godpowers/prep/INITIAL-FINDINGS.md`,
34
+ `.godpowers/prep/IMPORTED-CONTEXT.md`, and `events.jsonl` originate from you
35
+ or agents you spawn.
35
36
  4. **Audibles** - handling pause checkpoints, the critical-finding gate, and
36
37
  the --yolo carve-out when the user has authorized auto-resolve.
37
38
  5. **Clock management** - mandatory final sync after Tier 3 (always, including
@@ -145,6 +146,20 @@ During `/god-init`, scan for adjacent methodology artifacts from GSD,
145
146
  Superpowers, BMAD, and similar systems. Treat them as preparation context,
146
147
  not as source of truth.
147
148
 
149
+ Before or alongside that import, write `.godpowers/prep/INITIAL-FINDINGS.md`
150
+ using `templates/INITIAL-FINDINGS.md`. This artifact records what Godpowers
151
+ observed directly during init:
152
+ - codebase shape, language, framework, package manager, tests, CI, deploy, and
153
+ documentation signals
154
+ - AI-tool instruction files and methodology systems detected
155
+ - risk signals and open questions raised by the scan
156
+ - the suggested next command and why that command is the safest next step
157
+
158
+ Downstream `/god-prd`, `/god-next`, and `/god-mode` flows must read
159
+ `INITIAL-FINDINGS.md` when present. Use it as preparation context only. If it
160
+ conflicts with user intent, state.json, PROGRESS.md, or completed Godpowers
161
+ artifacts, the Godpowers artifact wins.
162
+
148
163
  Detection signals:
149
164
  - GSD: `.gsd/`, `.planning/`, `GSD.md`, `gsd*.md`
150
165
  - Superpowers: `.superpowers/`, `superpowers/`, `SUPERPOWERS.md`,
@@ -212,18 +227,23 @@ This is the third layer of decision support:
212
227
 
213
228
  ## Detection-Driven Tier 1 Routing
214
229
 
215
- After STACK done, branch on UI presence:
230
+ After PRD and before ARCH, branch on UI or product-experience presence:
216
231
 
217
232
  1. Call `lib/design-detector.isUiProject(projectRoot)` to determine
218
233
  whether DESIGN tier is required.
219
234
  2. Call `lib/design-detector.isImpeccableInstalled(projectRoot)` to
220
235
  determine whether to delegate or fall back.
221
- 3. Persist results to `state.json.project.detection-results`.
222
- 4. If `requires-design: true`: spawn `god-designer` for DESIGN tier
223
- (Tier 1 sub-step 5). god-designer delegates to impeccable's
236
+ 3. Read `.godpowers/prep/INITIAL-FINDINGS.md`,
237
+ `.godpowers/prep/IMPORTED-CONTEXT.md`, and `.godpowers/prd/PRD.md`
238
+ for UI, workflow, journey, component, brand, accessibility, and screen
239
+ signals.
240
+ 4. Persist results to `state.json.project.detection-results`.
241
+ 5. If `requires-design: true`: spawn `god-designer` for DESIGN tier before
242
+ architecture. god-designer delegates to impeccable's
224
243
  `/impeccable teach` if available, else falls back to a minimal builder.
225
- 5. If `requires-design: false`: mark `tier-1.design.status = not-required`
226
- and `tier-1.product.status = not-required`. Advance to Tier 2.
244
+ DESIGN.md and PRODUCT.md then inform architecture, roadmap, and stack.
245
+ 6. If `requires-design: false`: mark `tier-1.design.status = not-required`
246
+ and `tier-1.product.status = not-required`. Continue to architecture.
227
247
 
228
248
  ## Linkage and Reverse-Sync
229
249
 
@@ -308,9 +328,10 @@ For single-agent sub-steps:
308
328
  | Sub-step | Spawn Agent | Reads | Writes |
309
329
  |----------|-------------|-------|--------|
310
330
  | PRD | god-pm | user intent | .godpowers/prd/PRD.md |
311
- | Architecture | god-architect | PRD | .godpowers/arch/ARCH.md |
312
- | Roadmap | god-roadmapper | PRD, ARCH | .godpowers/roadmap/ROADMAP.md |
313
- | Stack | god-stack-selector | ARCH | .godpowers/stack/DECISION.md |
331
+ | Design | god-designer | prep, PRD | .godpowers/design/DESIGN.md + .godpowers/design/PRODUCT.md |
332
+ | Architecture | god-architect | PRD, optional DESIGN | .godpowers/arch/ARCH.md |
333
+ | Roadmap | god-roadmapper | PRD, ARCH, optional DESIGN | .godpowers/roadmap/ROADMAP.md |
334
+ | Stack | god-stack-selector | ARCH, optional DESIGN | .godpowers/stack/DECISION.md |
314
335
  | Repo | god-repo-scaffolder | DECISION | .godpowers/repo/AUDIT.md + repo files |
315
336
  | Deploy | god-deploy-engineer | ARCH, build | .godpowers/deploy/STATE.md |
316
337
  | Observe | god-observability-engineer | PRD, ARCH | .godpowers/observe/STATE.md |
package/agents/god-pm.md CHANGED
@@ -31,6 +31,10 @@ required sections:
31
31
 
32
32
  ## Imported Preparation Context
33
33
 
34
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first so the PRD
35
+ reflects what Godpowers observed during init: codebase shape, tests, docs,
36
+ risks, and methodology systems detected.
37
+
34
38
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read it before drafting the
35
39
  PRD. Use product signals from GSD, Superpowers, BMAD, or similar systems as
36
40
  hypothesis-level input only.
@@ -16,15 +16,26 @@ Sequence the work.
16
16
  ## Gate Check
17
17
 
18
18
  `.godpowers/arch/ARCH.md` MUST exist and pass have-nots.
19
+ Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
20
+ context.
19
21
  Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
20
22
  context.
23
+ Optional: `.godpowers/design/DESIGN.md` and `.godpowers/design/PRODUCT.md`
24
+ may exist as early product-experience preparation.
21
25
 
22
26
  ## Imported Preparation Context
23
27
 
28
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for repo risks,
29
+ existing tests, docs, CI, deploy, and suggested sequencing implications.
30
+
24
31
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its delivery signals
25
32
  before sequencing milestones. Use imported GSD, Superpowers, BMAD, or similar
26
33
  stories and plans as hypothesis-level input only.
27
34
 
35
+ If DESIGN.md or PRODUCT.md exists, read them before sequencing milestones.
36
+ Use screens, flows, components, accessibility obligations, and product voice to
37
+ shape vertical slices and acceptance gates.
38
+
28
39
  Rules:
29
40
  - Do not add roadmap features that are not grounded in the PRD.
30
41
  - Use imported milestones, stories, and done-work signals to inform ordering,
@@ -32,6 +43,7 @@ Rules:
32
43
  - If imported context conflicts with PRD or ARCH, PRD and ARCH win.
33
44
  - Mark any imported sequencing assumption as `[HYPOTHESIS]` until confirmed by
34
45
  Godpowers artifacts or the user.
46
+ - Keep design-derived milestones grounded in the PRD and ARCH.
35
47
 
36
48
  ## Process
37
49
 
@@ -15,20 +15,33 @@ Pick the technology stack.
15
15
  ## Gate Check
16
16
 
17
17
  `.godpowers/arch/ARCH.md` MUST exist.
18
+ Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
19
+ context.
18
20
  Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
19
21
  context.
22
+ Optional: `.godpowers/design/DESIGN.md` and `.godpowers/design/PRODUCT.md`
23
+ may exist as product-experience preparation.
20
24
 
21
25
  ## Imported Preparation Context
22
26
 
27
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for direct
28
+ tooling, package manager, framework, runtime, CI, and deploy observations.
29
+
23
30
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its technical and stack
24
31
  signals before scoring candidates. Use imported technology choices, constraints,
25
32
  and team familiarity as hypothesis-level input only.
26
33
 
34
+ If DESIGN.md or PRODUCT.md exists, read them before scoring frontend,
35
+ component, styling, accessibility, animation, and design-token tooling
36
+ candidates.
37
+
27
38
  Rules:
28
39
  - Do not let imported stack preference override ARCH NFRs or ADRs.
29
40
  - Treat imported technology choices as candidate evidence, not decisions.
30
41
  - If imported context conflicts with ARCH, ARCH wins and the conflict becomes a
31
42
  stack open question.
43
+ - If design intent conflicts with ARCH NFRs, ARCH wins and the conflict becomes
44
+ a stack or architecture open question.
32
45
 
33
46
  ## Process
34
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godpowers",
3
- "version": "0.15.7",
3
+ "version": "0.15.9",
4
4
  "description": "AI-powered development system: 104 slash commands and 38 specialist agents that take a project from raw idea to hardened production. Runs inside Claude Code, Codex, Cursor, Windsurf, Gemini, and 10+ other AI coding tools.",
5
5
  "bin": {
6
6
  "godpowers": "./bin/install.js"
@@ -19,6 +19,9 @@ execution:
19
19
  context: fresh
20
20
  reads:
21
21
  - .godpowers/prd/PRD.md
22
+ - .godpowers/design/DESIGN.md
23
+ - .godpowers/design/PRODUCT.md
24
+ - .godpowers/prep/INITIAL-FINDINGS.md
22
25
  - .godpowers/prep/IMPORTED-CONTEXT.md
23
26
  - templates/ARCH.md
24
27
  writes:
@@ -10,14 +10,18 @@ prerequisites:
10
10
  - check: file:.godpowers/PROGRESS.md
11
11
  reason: "/god-design needs an initialized project"
12
12
  auto-complete: /god-init
13
- - check: file:.godpowers/stack/DECISION.md
14
- reason: "Stack must be selected before design (UI framework drives token shape)"
15
- auto-complete: /god-stack
16
- optional:
17
13
  - check: file:.godpowers/prd/PRD.md
18
- reason: "PRD informs target users and register"
14
+ reason: "Design needs PRD user, product, and register context"
15
+ auto-complete: /god-prd
16
+ optional:
17
+ - check: file:.godpowers/prep/INITIAL-FINDINGS.md
18
+ reason: "Initial findings can show UI and product-experience signals"
19
+ - check: file:.godpowers/prep/IMPORTED-CONTEXT.md
20
+ reason: "Imported GSD, Superpowers, or BMAD context can inform design hypotheses"
19
21
  - check: file:.godpowers/arch/ARCH.md
20
22
  reason: "ARCH names the UI surface that DESIGN applies to"
23
+ - check: file:.godpowers/stack/DECISION.md
24
+ reason: "STACK can refine framework-specific token shape when already selected"
21
25
 
22
26
  execution:
23
27
  spawns: [god-designer]
@@ -47,8 +51,11 @@ standards:
47
51
  - "cards in cards" # impeccable anti-pattern
48
52
 
49
53
  success-path:
50
- next-recommended: /god-repo
51
- why: Design tokens stable; repo can scaffold with token references
54
+ next-recommended: /god-arch
55
+ why: Early product experience is defined; architecture can now respect the intended surfaces and flows
56
+ alternatives:
57
+ - command: /god-repo
58
+ when: architecture-roadmap-and-stack-already-done
52
59
 
53
60
  failure-path:
54
61
  on-error: /god-doctor
@@ -19,6 +19,7 @@ execution:
19
19
  - .godpowers/PROGRESS.md
20
20
  - .godpowers/state.json
21
21
  - .godpowers/intent.yaml
22
+ - .godpowers/prep/INITIAL-FINDINGS.md
22
23
  - .godpowers/prep/IMPORTED-CONTEXT.md
23
24
 
24
25
  success-path:
@@ -14,7 +14,10 @@ prerequisites:
14
14
  execution:
15
15
  spawns: [god-orchestrator]
16
16
  context: fresh
17
- secondary-spawns: [god-pm, god-architect, god-roadmapper, god-stack-selector, god-repo-scaffolder, god-planner, god-executor, god-spec-reviewer, god-quality-reviewer, god-deploy-engineer, god-observability-engineer, god-harden-auditor, god-launch-strategist]
17
+ reads:
18
+ - .godpowers/prep/INITIAL-FINDINGS.md
19
+ - .godpowers/prep/IMPORTED-CONTEXT.md
20
+ secondary-spawns: [god-pm, god-designer, god-architect, god-roadmapper, god-stack-selector, god-repo-scaffolder, god-planner, god-executor, god-spec-reviewer, god-quality-reviewer, god-deploy-engineer, god-observability-engineer, god-harden-auditor, god-launch-strategist]
18
21
  writes:
19
22
  []
20
23
 
@@ -12,6 +12,9 @@ prerequisites:
12
12
  execution:
13
13
  spawns: [built-in]
14
14
  context: fresh
15
+ reads:
16
+ - .godpowers/prep/INITIAL-FINDINGS.md
17
+ - .godpowers/prep/IMPORTED-CONTEXT.md
15
18
  writes:
16
19
  []
17
20
 
@@ -21,6 +21,7 @@ execution:
21
21
  context: fresh
22
22
  reads:
23
23
  - .godpowers/intent.yaml
24
+ - .godpowers/prep/INITIAL-FINDINGS.md
24
25
  - .godpowers/prep/IMPORTED-CONTEXT.md
25
26
  - templates/PRD.md
26
27
  writes:
@@ -36,6 +37,13 @@ standards:
36
37
 
37
38
  success-path:
38
39
  next-recommended: /god-arch
40
+ conditional-next:
41
+ - condition: ui-detected
42
+ next: /god-design
43
+ reason: UI or product-experience signals found; write DESIGN.md before architecture
44
+ - condition: no-ui-detected
45
+ next: /god-arch
46
+ reason: No UI surface detected; architecture is the next planning gate
39
47
  alternatives:
40
48
  - command: /god-mode
41
49
  when: user-wants-autonomous-from-here
@@ -17,6 +17,9 @@ execution:
17
17
  reads:
18
18
  - .godpowers/prd/PRD.md
19
19
  - .godpowers/arch/ARCH.md
20
+ - .godpowers/design/DESIGN.md
21
+ - .godpowers/design/PRODUCT.md
22
+ - .godpowers/prep/INITIAL-FINDINGS.md
20
23
  - .godpowers/prep/IMPORTED-CONTEXT.md
21
24
  - templates/ROADMAP.md
22
25
  writes:
@@ -16,6 +16,9 @@ execution:
16
16
  context: fresh
17
17
  reads:
18
18
  - .godpowers/arch/ARCH.md
19
+ - .godpowers/design/DESIGN.md
20
+ - .godpowers/design/PRODUCT.md
21
+ - .godpowers/prep/INITIAL-FINDINGS.md
19
22
  - .godpowers/prep/IMPORTED-CONTEXT.md
20
23
  writes:
21
24
  - .godpowers/stack/DECISION.md
@@ -15,8 +15,11 @@ Spawn the **god-architect** agent in a fresh context via Task tool.
15
15
 
16
16
  1. Verify `.godpowers/prd/PRD.md` exists. If not, tell user to run `/god-prd` first.
17
17
  2. Spawn god-auditor briefly to verify PRD passes have-nots. If fails, report and stop.
18
- 3. Spawn god-architect with the PRD path and full context window
19
- 4. The agent writes `.godpowers/arch/ARCH.md` and ADRs to `.godpowers/arch/adr/`
18
+ 3. If `.godpowers/design/DESIGN.md` or `.godpowers/design/PRODUCT.md` exists,
19
+ include it as input. Design is optional, but when present it informs UI
20
+ containers, routes, flows, and tradeoffs.
21
+ 4. Spawn god-architect with the PRD path and full context window
22
+ 5. The agent writes `.godpowers/arch/ARCH.md` and ADRs to `.godpowers/arch/adr/`
20
23
 
21
24
  ## Verification
22
25
 
@@ -30,6 +30,10 @@ needs to specify a mode.
30
30
  - Look for org-level context (current dir + parent dirs):
31
31
  - .godpowers/org-context.yaml
32
32
  - Workspace configs that share standards
33
+ - Write `.godpowers/prep/INITIAL-FINDINGS.md` summarizing what Godpowers
34
+ observed about the repo, tooling, docs, tests, risks, and suggested next
35
+ command. This happens before `/god-prd`, `/god-next`, or `/god-mode`
36
+ continues.
33
37
  - Look for adjacent planning-system context:
34
38
  - GSD: `.gsd/`, `.planning/`, `GSD.md`, `gsd*.md`
35
39
  - Superpowers: `.superpowers/`, `superpowers/`, `SUPERPOWERS.md`,
@@ -39,6 +43,17 @@ needs to specify a mode.
39
43
  - If any are detected, summarize useful signals into
40
44
  `.godpowers/prep/IMPORTED-CONTEXT.md` as preparation context.
41
45
  Do not treat external planning-system files as source of truth.
46
+ - Detect whether early design preparation is warranted:
47
+ - UI frameworks or app models: React, Next, Vue, Nuxt, Svelte,
48
+ SvelteKit, Astro, Remix, Angular, Solid, Flutter, Electron, Tauri
49
+ - UI surfaces: `src/components/`, `app/`, `pages/`, `routes/`,
50
+ `public/`, form-heavy flows, dashboards, editor surfaces, mobile
51
+ shells, marketing pages, or other user-facing product experience
52
+ - Imported GSD, Superpowers, or BMAD context that mentions UX, screens,
53
+ journeys, components, brand, interaction states, or visual design
54
+ - Record the result in `INITIAL-FINDINGS.md` so `/god-prd`, `/god-next`,
55
+ and `/god-mode` can place `/god-design` after PRD and before
56
+ `/god-arch` when the project needs early product-experience shape.
42
57
 
43
58
  3. **Announce findings in plain English** (no jargon):
44
59
  - Empty dir + no org context: "Detected: empty directory. Starting fresh."
@@ -57,6 +72,7 @@ needs to specify a mode.
57
72
  The orchestrator will:
58
73
  - Run Mode Detection (announced in plain English; stored as A/B/C/E internally)
59
74
  - Run Scale Detection (trivial/small/medium/large/enterprise)
75
+ - Write `.godpowers/prep/INITIAL-FINDINGS.md`
60
76
  - Run planning-system context detection for GSD, Superpowers, and BMAD
61
77
  - Write `.godpowers/prep/IMPORTED-CONTEXT.md` when useful context exists
62
78
  - For brownfield: schedule archaeology + reconstruction as preflight
@@ -77,6 +93,7 @@ needs to specify a mode.
77
93
  .godpowers/
78
94
  PROGRESS.md
79
95
  prep/
96
+ INITIAL-FINDINGS.md
80
97
  IMPORTED-CONTEXT.md # only when GSD / Superpowers / BMAD context exists
81
98
  prd/
82
99
  arch/
@@ -112,6 +129,12 @@ needs to specify a mode.
112
129
 
113
130
  `.godpowers/PROGRESS.md` created with initial state.
114
131
 
132
+ Always create `.godpowers/prep/INITIAL-FINDINGS.md`. This is Godpowers'
133
+ durable answer to "what did init find in this codebase?" It captures codebase
134
+ shape, framework and tooling signals, tests, CI, docs, AI-tool files, detected
135
+ methodology systems, UI or product-experience signals, risk signals, and the
136
+ reasoning behind the suggested next command.
137
+
115
138
  If GSD, Superpowers, BMAD, or similar planning context is detected, create
116
139
  `.godpowers/prep/IMPORTED-CONTEXT.md`. This artifact is preparation context,
117
140
  not source of truth. It feeds PRD, architecture, roadmap, and stack decisions
@@ -47,6 +47,12 @@ You are receiving a /god-mode invocation. Your job is to spawn the
47
47
  - The detected mode (A/B/C/E)
48
48
  - The active flags
49
49
  - Instruction to read `.godpowers/PROGRESS.md` from disk if it exists
50
+ - Instruction to read `.godpowers/prep/INITIAL-FINDINGS.md` and
51
+ `.godpowers/prep/IMPORTED-CONTEXT.md` if present before choosing the
52
+ first planning or build step
53
+ - Instruction to run `/god-design` after `/god-prd` and before `/god-arch`
54
+ when initial findings, imported planning context, the PRD, or the
55
+ codebase show UI or product-experience signals
50
56
 
51
57
  6. Orchestrator runs the appropriate workflow:
52
58
  - Greenfield -> full-arc
@@ -39,6 +39,17 @@ if any are missing.
39
39
  User just ran /god-next. Auto-detects current project phase and suggests
40
40
  the next logical command.
41
41
 
42
+ Before suggesting, read `.godpowers/prep/INITIAL-FINDINGS.md` and
43
+ `.godpowers/prep/IMPORTED-CONTEXT.md` if present. Use them to explain why the
44
+ next step is safe or why a migration-aware step such as `/god-prd`,
45
+ `/god-map-codebase`, or `/god-mode` is better. Prep artifacts are context only;
46
+ state.json and completed Godpowers artifacts remain authoritative.
47
+
48
+ If PRD is complete, DESIGN is missing, and initial findings, imported context,
49
+ the PRD, or the codebase show UI or product-experience signals, suggest
50
+ `/god-design` before `/god-arch`. DESIGN.md is early preparation for visible
51
+ workflows, not a replacement for architecture.
52
+
42
53
  ## Process for Mode 1 (post-completion)
43
54
 
44
55
  ```
@@ -51,7 +62,8 @@ Skill calls: /god-next --after=/god-prd
51
62
  Read <runtimeRoot>/routing/god-prd.yaml
52
63
  |
53
64
  v
54
- Get success-path.next-recommended (e.g., "/god-arch")
65
+ Get success-path.next-recommended (e.g., "/god-arch"), then apply any
66
+ conditional-next rule such as UI-detected -> "/god-design"
55
67
  |
56
68
  v
57
69
  Display: "PRD complete: .godpowers/prd/PRD.md
package/skills/god-prd.md CHANGED
@@ -14,10 +14,16 @@ Spawn the **god-pm** agent in a fresh context via Task tool.
14
14
  ## Setup
15
15
 
16
16
  1. If `.godpowers/PROGRESS.md` does not exist: tell the user to run `/god-init` first
17
- 2. Otherwise: spawn god-pm with the user's project description from PROGRESS.md
18
- 3. The agent writes `.godpowers/prd/PRD.md`
19
- 4. The agent runs have-nots checks before declaring done
20
- 5. If god-pm pauses for a human question: relay to user using pause format
17
+ 2. Read `.godpowers/prep/INITIAL-FINDINGS.md` if present.
18
+ 3. Read `.godpowers/prep/IMPORTED-CONTEXT.md` if present.
19
+ 4. Spawn god-pm with the user's project description from PROGRESS.md plus any
20
+ prep artifacts. Prep artifacts are context, not source of truth.
21
+ 5. The agent writes `.godpowers/prd/PRD.md`
22
+ 6. The agent runs have-nots checks before declaring done
23
+ 7. If god-pm pauses for a human question: relay to user using pause format
24
+ 8. If prep artifacts or the PRD show UI or product-experience signals, route
25
+ to `/god-design` next so DESIGN.md can shape architecture. Otherwise route
26
+ to `/god-arch`.
21
27
 
22
28
  ## Verification
23
29
 
@@ -44,7 +50,7 @@ After PRD is written and have-nots pass, print:
44
50
  ```
45
51
  PRD complete: .godpowers/prd/PRD.md
46
52
 
47
- Suggested next: /god-arch (design the architecture)
53
+ Suggested next: /god-design (shape product experience) if UI/product experience is detected, otherwise /god-arch (design the architecture)
48
54
  ```
49
55
 
50
56
 
@@ -0,0 +1,54 @@
1
+ # Initial Findings
2
+
3
+ > This artifact records what Godpowers observed during `/god-init`. It is
4
+ > preparation documentation for planning, routing, and migration. Godpowers
5
+ > state and completed artifacts remain authoritative after they exist.
6
+
7
+ ## Codebase Shape
8
+
9
+ - [HYPOTHESIS] Project type: [greenfield / brownfield / bluefield / audit].
10
+ - [HYPOTHESIS] Scale: [trivial / small / medium / large / enterprise].
11
+ - [HYPOTHESIS] Primary language or runtime: [detected value].
12
+ - [HYPOTHESIS] Framework or app model: [detected value].
13
+ - [HYPOTHESIS] Package manager or build tool: [detected value].
14
+
15
+ ## Repo Signals
16
+
17
+ - [HYPOTHESIS] Source directories found: [paths].
18
+ - [HYPOTHESIS] Test signals found: [paths or "none detected"].
19
+ - [HYPOTHESIS] CI or release signals found: [paths or "none detected"].
20
+ - [HYPOTHESIS] Deployment signals found: [paths or "none detected"].
21
+ - [HYPOTHESIS] Documentation signals found: [paths or "none detected"].
22
+ - [HYPOTHESIS] UI or product-experience signals found: [frameworks, routes, components, workflows, design docs, or "none detected"].
23
+
24
+ ## Methodology And AI Tool Signals
25
+
26
+ - [HYPOTHESIS] AI instruction files found: [paths or "none detected"].
27
+ - [HYPOTHESIS] GSD context found: [paths or "none detected"].
28
+ - [HYPOTHESIS] Superpowers context found: [paths or "none detected"].
29
+ - [HYPOTHESIS] BMAD context found: [paths or "none detected"].
30
+ - [HYPOTHESIS] Imported context artifact: [.godpowers/prep/IMPORTED-CONTEXT.md or "not created"].
31
+
32
+ ## Planning Implications
33
+
34
+ - [HYPOTHESIS] PRD should pay attention to: [product or user signal].
35
+ - [HYPOTHESIS] Design should pay attention to: [early UX, workflow, brand, component, or interaction signal].
36
+ - [HYPOTHESIS] Architecture should pay attention to: [technical or risk signal].
37
+ - [HYPOTHESIS] Roadmap should pay attention to: [delivery or dependency signal].
38
+ - [HYPOTHESIS] Stack should pay attention to: [tooling or constraint signal].
39
+
40
+ ## Risks And Unknowns
41
+
42
+ - [OPEN QUESTION] [Question raised by repo scan] -- Owner: user -- Due: before the relevant planning step.
43
+ - [HYPOTHESIS] Risk signal: [missing tests / unclear deploy path / stale docs / conflicting planning systems].
44
+
45
+ ## Suggested Next
46
+
47
+ - [DECISION] Suggested next command: [/god-prd / /god-map-codebase / /god-mode / /god-next].
48
+ - [DECISION] Reason: [why this command is the safest next step based on findings].
49
+
50
+ ## Use Rules
51
+
52
+ - [DECISION] Downstream agents may use this artifact as preparation context only.
53
+ - [DECISION] If this artifact conflicts with `.godpowers/intent.yaml`, `.godpowers/state.json`, `PROGRESS.md`, or a completed Godpowers artifact, the Godpowers artifact wins.
54
+ - [DECISION] Imported GSD, Superpowers, and BMAD signals must be converted into Godpowers-native artifacts, not preserved as parallel state.