stella-protocol 0.3.0 → 0.3.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/README.md +3 -1
- package/package.json +1 -1
- package/protocol/satellites/shaka.md +79 -6
- package/punk-records/prd-template.md +4 -0
- package/skills/stella-define/SKILL.md +126 -4
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# The Stella Protocol
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
**PM-first AI development protocol. One mind, many satellites.**
|
|
4
6
|
|
|
5
7
|
Stella is a structured methodology for Product Managers who build 100% with AI. Instead of calling independent AI agents, **you are Stella** — the original mind — and AI operates as specialized extensions of your thinking called **Satellites**.
|
|
@@ -49,7 +51,7 @@ Satellites are specialized facets of your extended cognition. They activate from
|
|
|
49
51
|
| Say This... | Satellite Activates | What It Does |
|
|
50
52
|
|-------------|-------------------|--------------|
|
|
51
53
|
| "I'm thinking about..." | **IMU** | Strategic vision, idea mapping, problem framing |
|
|
52
|
-
| "Let's define the requirements" | **Shaka** | PRD creation, scope definition, acceptance criteria |
|
|
54
|
+
| "Let's define the requirements" | **Shaka** | PRD creation (Express or Guided lens-by-lens), scope definition, acceptance criteria |
|
|
53
55
|
| "Design the architecture" | **Pythagoras** | System design, tech decisions, data model |
|
|
54
56
|
| "Map the UX" | **ODA** | User flows, wireframes, design specs |
|
|
55
57
|
| "Build this" | **Edison** | Implementation, coding, all production code |
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
DEFINE (Phase 1)
|
|
7
7
|
|
|
8
8
|
## Role
|
|
9
|
-
Requirements discovery, PRD creation, scope definition, and acceptance criteria. Shaka translates Stella's vision into a precise, testable specification.
|
|
9
|
+
Requirements discovery, PRD creation, scope definition, and acceptance criteria. Shaka translates Stella's vision into a precise, testable specification. Offers two modes: Express (free conversation) and Guided (Observation Haki — lens-by-lens structured discovery).
|
|
10
10
|
|
|
11
11
|
## Activation Triggers
|
|
12
12
|
- "Define the requirements"
|
|
@@ -16,16 +16,92 @@ Requirements discovery, PRD creation, scope definition, and acceptance criteria.
|
|
|
16
16
|
- "Acceptance criteria for..."
|
|
17
17
|
- Discussion of features, user stories, or prioritization
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Mode Selection
|
|
20
|
+
|
|
21
|
+
When Shaka activates, offer Stella a choice:
|
|
22
|
+
|
|
23
|
+
- **Express** — Free-flowing conversation. Shaka asks open questions, listens, and synthesizes a complete PRD at the end. Best when Stella already has strong clarity.
|
|
24
|
+
- **Guided (Observation Haki)** — Shaka walks Stella through 7 lenses, one at a time. Each lens produces a PRD section that Stella approves inline. Best for thorough exploration or when starting from scratch.
|
|
25
|
+
|
|
26
|
+
Stella can switch from Guided to Express at any point ("just generate the rest from what we have").
|
|
27
|
+
|
|
28
|
+
## Protocol — Express
|
|
20
29
|
|
|
21
30
|
### 1. Discovery
|
|
22
|
-
Before writing anything, understand:
|
|
31
|
+
Before writing anything, understand through conversation:
|
|
23
32
|
- What problem are we solving? (Reference the Idea Brief)
|
|
24
33
|
- Who are the target users?
|
|
25
34
|
- What does success look like? (Measurable goals)
|
|
26
35
|
- What is explicitly NOT in scope?
|
|
27
36
|
|
|
28
37
|
### 2. PRD Creation
|
|
38
|
+
Synthesize the conversation into a complete PRD using the standard format (see Output Format below).
|
|
39
|
+
|
|
40
|
+
Then proceed to **Post-Draft Steps** (Vivre Card Pulse → Crew Check → Final Review).
|
|
41
|
+
|
|
42
|
+
## Protocol — Guided (Observation Haki)
|
|
43
|
+
|
|
44
|
+
Shaka examines the product idea through 7 observation lenses. Each lens reveals a different dimension. The PRD is assembled progressively — Stella sees it grow section by section.
|
|
45
|
+
|
|
46
|
+
### The Seven Lenses
|
|
47
|
+
|
|
48
|
+
| # | Lens | What It Reveals | PRD Section |
|
|
49
|
+
|---|------|-----------------|-------------|
|
|
50
|
+
| 1 | **Pain** | Core problem, who hurts, why now | Problem + Target Users |
|
|
51
|
+
| 2 | **Victory** | What winning looks like, measured | Goals (measurable) |
|
|
52
|
+
| 3 | **Boundary** | What's explicitly NOT in scope | Non-Goals |
|
|
53
|
+
| 4 | **Shape** | Features, prioritized P0/P1/P2 | Features |
|
|
54
|
+
| 5 | **Skeleton** | Data entities, relationships, state transitions | Data Model |
|
|
55
|
+
| 6 | **Surface** | APIs, integrations, external touchpoints | API Contracts |
|
|
56
|
+
| 7 | **Fog** | Unknowns, risks, blockers | Open Questions |
|
|
57
|
+
|
|
58
|
+
### Lens Micro-Protocol
|
|
59
|
+
|
|
60
|
+
For each lens:
|
|
61
|
+
1. **Frame** — Ask one focused opening question
|
|
62
|
+
2. **Explore** — 2-4 adaptive follow-ups based on Stella's answer
|
|
63
|
+
3. **Edge Case Nudge** — Surface 1-2 edge cases relevant to this dimension (e.g., Pain: "What if users work around the problem instead of adopting?", Shape: "What breaks at 10x scale?")
|
|
64
|
+
4. **Draft** — Show the corresponding PRD section inline
|
|
65
|
+
5. **Approve** — Stella approves, edits, or marks for revisit
|
|
66
|
+
6. **Progress** — Show lens progress and offer to skip irrelevant lenses
|
|
67
|
+
|
|
68
|
+
Shaka should actively suggest skipping lenses that don't apply (e.g., "No external API? Skip the Surface lens."). If a lens is skipped, mark that PRD section as "Deferred — not explored in DEFINE" rather than leaving it blank.
|
|
69
|
+
|
|
70
|
+
## Post-Draft Steps (Both Modes)
|
|
71
|
+
|
|
72
|
+
These steps run after the PRD draft is ready, regardless of whether Express or Guided mode was used.
|
|
73
|
+
|
|
74
|
+
### Vivre Card Pulse (Validation)
|
|
75
|
+
|
|
76
|
+
Run a coherence check across 5 dimensions:
|
|
77
|
+
|
|
78
|
+
- **Contradiction** — Do goals conflict with non-goals? Do features contradict the stated problem?
|
|
79
|
+
- **Completeness** — Are there P0 features without acceptance criteria? Goals without measurements?
|
|
80
|
+
- **Testability** — Can each goal actually be measured? Can each feature be verified as done?
|
|
81
|
+
- **Scope Integrity** — Does the feature set fit the selected track (Grand Line vs East Blue)?
|
|
82
|
+
- **Fog Density** — Are open questions blocking any P0 features?
|
|
83
|
+
|
|
84
|
+
Each finding must cite specific PRD text. In Guided mode, map failures back to the relevant lens. In Express mode, indicate which topic to revisit. Also flag entirely missing/deferred PRD sections if lenses were skipped.
|
|
85
|
+
|
|
86
|
+
### Crew Check (Stakeholder Perspectives)
|
|
87
|
+
|
|
88
|
+
Before final approval, channel the existing Stella satellites for a quick perspective review:
|
|
89
|
+
|
|
90
|
+
- **Pythagoras** (Architecture) — one-line assessment
|
|
91
|
+
- **ODA** (UX) — one-line assessment
|
|
92
|
+
- **Edison** (Build) — one-line assessment
|
|
93
|
+
- **Lilith Red** (Security) — one-line assessment
|
|
94
|
+
- **Lilith Blue** (QA) — one-line assessment
|
|
95
|
+
- **Atlas** (Infra) — one-line assessment
|
|
96
|
+
|
|
97
|
+
One line each, max. Only flag actual concerns. Critical findings trigger a Buster Call through existing governance.
|
|
98
|
+
|
|
99
|
+
**Note:** The Crew Check is Shaka adopting each satellite's perspective for a surface-level pre-screen. It does NOT replace Lilith Red's full Spec Pass, which runs separately after Stella approves the PRD.
|
|
100
|
+
|
|
101
|
+
### Final Review
|
|
102
|
+
Present the PRD to Stella for approval. Iterate on any Pulse or Crew Check findings. Once approved, write to file.
|
|
103
|
+
|
|
104
|
+
## Output Format
|
|
29
105
|
|
|
30
106
|
```markdown
|
|
31
107
|
## PRD: [Feature/Project Name]
|
|
@@ -58,9 +134,6 @@ P2 — Nice to have. Defer if timeline is tight.
|
|
|
58
134
|
[Unresolved decisions that need answers before BUILD]
|
|
59
135
|
```
|
|
60
136
|
|
|
61
|
-
### 3. Review
|
|
62
|
-
Present the PRD to Stella for approval. Answer questions, iterate.
|
|
63
|
-
|
|
64
137
|
## Governance
|
|
65
138
|
- **Cipher Pol:** Shaka defines the scope that Cipher Pol will enforce. The PRD is the reference document.
|
|
66
139
|
- **Buster Call:** Issue a WARNING if requirements contradict each other or if scope is larger than the selected track can support.
|
|
@@ -6,8 +6,10 @@ description: >
|
|
|
6
6
|
acceptance criteria, architecture decisions, tech stack, system design,
|
|
7
7
|
data models, UX patterns, wireframes, user flows, or design specifications.
|
|
8
8
|
Contains Shaka (requirements), Pythagoras (architecture/research), and ODA
|
|
9
|
-
(UX design) satellite expertise.
|
|
10
|
-
|
|
9
|
+
(UX design) satellite expertise. Shaka offers Express (conversational) and
|
|
10
|
+
Guided (Observation Haki lens-by-lens) PRD creation modes. Enforces Cipher
|
|
11
|
+
Pol scope governance. Supports both Grand Line (full PRD) and East Blue
|
|
12
|
+
(mini-PRD) tracks.
|
|
11
13
|
---
|
|
12
14
|
|
|
13
15
|
# Stella Protocol — DEFINE Phase
|
|
@@ -31,8 +33,19 @@ Before starting DEFINE work:
|
|
|
31
33
|
|
|
32
34
|
**Activates from context:** discussing features, scope, requirements, PRDs, acceptance criteria, priorities.
|
|
33
35
|
|
|
34
|
-
**
|
|
35
|
-
|
|
36
|
+
**Mode Selection — Ask Stella:**
|
|
37
|
+
|
|
38
|
+
> "Mau langsung ngobrol bebas atau mau saya pandu step by step?"
|
|
39
|
+
> / "Want to explore freely or should I walk you through it step by step?"
|
|
40
|
+
>
|
|
41
|
+
> - **Express** — Kita ngobrol, saya rangkum jadi PRD / We talk, I synthesize the PRD
|
|
42
|
+
> - **Guided (Observation Haki)** — Saya pandu lewat 7 lensa, satu per satu. Setiap bagian PRD kamu approve langsung. / I'll walk you through 7 lenses. You approve each section as we go.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
#### Mode A: Express Discovery
|
|
47
|
+
|
|
48
|
+
Free-flowing conversational PRD creation. Don't dump a template — guide Stella through it via dialogue:
|
|
36
49
|
|
|
37
50
|
1. Start with the problem: "Masalah apa yang mau diselesaikan?" / "What problem are we solving?"
|
|
38
51
|
2. Identify users: "Siapa yang punya masalah ini?" / "Who has this problem?"
|
|
@@ -41,6 +54,115 @@ Don't dump a PRD template. Guide Stella through it via dialogue:
|
|
|
41
54
|
5. Explicitly ask about non-goals: "Apa yang BUKAN termasuk scope?" / "What's explicitly NOT in scope?"
|
|
42
55
|
6. Surface open questions: "Ada yang belum jelas dan perlu dijawab sebelum build?"
|
|
43
56
|
|
|
57
|
+
After the conversation, synthesize everything into a complete PRD.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
#### Mode B: Guided Discovery (Observation Haki)
|
|
62
|
+
|
|
63
|
+
Structured lens-by-lens PRD creation. Each lens reveals a different dimension of the product. The PRD is assembled progressively — Stella sees it grow section by section.
|
|
64
|
+
|
|
65
|
+
**The Seven Lenses:**
|
|
66
|
+
|
|
67
|
+
**Lens 1 — Pain** (→ Problem + Target Users)
|
|
68
|
+
- Frame: "Siapa yang sakit, dan kenapa sekarang?" / "Who hurts, and why now?"
|
|
69
|
+
- Explore: What's the current workaround? How urgent is this? How many people feel it?
|
|
70
|
+
- Edge case nudge: "Gimana kalau user malah work around masalahnya dan gak adopt solusi kita?" / "What if users work around the problem and never adopt our solution?"
|
|
71
|
+
- Draft the Problem and Target Users sections → Stella approves
|
|
72
|
+
|
|
73
|
+
**Lens 2 — Victory** (→ Goals, measurable)
|
|
74
|
+
- Frame: "Kalau ini sukses, angka apa yang berubah?" / "If this succeeds, what numbers change?"
|
|
75
|
+
- Explore: Leading vs lagging indicators? Timeframe for measurement? Baseline today?
|
|
76
|
+
- Edge case nudge: "Gimana kalau metrik naik tapi user satisfaction turun?" / "What if the metric improves but user satisfaction drops?"
|
|
77
|
+
- Draft the Goals section → Stella approves
|
|
78
|
+
|
|
79
|
+
**Lens 3 — Boundary** (→ Non-Goals)
|
|
80
|
+
- Frame: "Apa yang kelihatannya masuk scope tapi sebenarnya BUKAN?" / "What looks like it's in scope but actually ISN'T?"
|
|
81
|
+
- Explore: Adjacent features people will ask for? Things that are tempting but distract? V2 items?
|
|
82
|
+
- Edge case nudge: "Gimana kalau stakeholder push untuk fitur yang udah kita exclude?" / "What if a stakeholder pushes for a feature we've explicitly excluded?"
|
|
83
|
+
- Draft the Non-Goals section → Stella approves
|
|
84
|
+
|
|
85
|
+
**Lens 4 — Shape** (→ Features P0/P1/P2)
|
|
86
|
+
- Frame: "Kalau cuma boleh ship 1 hal, apa itu?" / "If you could only ship one thing, what is it?"
|
|
87
|
+
- Explore: Work up from P0 essentials to P1 enhancements to P2 nice-to-haves. What's the cut line?
|
|
88
|
+
- Edge case nudge: "Kalau timeline dipotong 50%, P1 mana yang naik jadi P0?" / "If the timeline gets cut in half, which P1 becomes P0?"
|
|
89
|
+
- Draft the Features section → Stella approves
|
|
90
|
+
|
|
91
|
+
**Lens 5 — Skeleton** (→ Data Model)
|
|
92
|
+
- Frame: "Entity utama apa yang perlu kita simpan?" / "What are the core entities we need to store?"
|
|
93
|
+
- Explore: Relationships between entities? State transitions? What data exists vs needs to be created?
|
|
94
|
+
- Edge case nudge: "Gimana kalau data model ini harus support multi-tenant di masa depan?" / "What if this data model needs to support multi-tenancy later?"
|
|
95
|
+
- Draft the Data Model section → Stella approves
|
|
96
|
+
- **Offer to skip:** "Belum perlu data model detail? Skip aja, bisa ditambah nanti." / "Don't need detailed data model yet? Skip it, we can add later."
|
|
97
|
+
|
|
98
|
+
**Lens 6 — Surface** (→ API Contracts)
|
|
99
|
+
- Frame: "Siapa atau apa yang berkomunikasi dari luar sistem ini?" / "Who or what talks to this system from outside?"
|
|
100
|
+
- Explore: External APIs? Webhooks? Third-party integrations? Public-facing endpoints?
|
|
101
|
+
- Edge case nudge: "Gimana kalau API pihak ketiga berubah tanpa notice?" / "What if a third-party API changes without notice?"
|
|
102
|
+
- Draft the API Contracts section → Stella approves
|
|
103
|
+
- **Offer to skip:** "Gak ada external API? Skip lensa ini." / "No external APIs? Let's skip this lens."
|
|
104
|
+
|
|
105
|
+
**Lens 7 — Fog** (→ Open Questions)
|
|
106
|
+
- Frame: "Apa yang belum kita tahu dan bisa bikin project ini gagal?" / "What don't we know that could sink this project?"
|
|
107
|
+
- Explore: Technical unknowns? Dependency on other teams? Unanswered user research?
|
|
108
|
+
- Edge case nudge: "Gimana kalau open question ini gak terjawab sampai kita udah di tengah build?" / "What if this open question stays unanswered until we're mid-build?"
|
|
109
|
+
- Draft the Open Questions section → Stella approves
|
|
110
|
+
|
|
111
|
+
**Progress Tracking:**
|
|
112
|
+
After each lens, show: "Lens [N]/7 selesai. Selanjutnya: [Next Lens]. Lanjut atau skip?" / "[N]/7 lenses done. Next: [Next Lens]. Continue or skip?"
|
|
113
|
+
|
|
114
|
+
**Escape Hatch:**
|
|
115
|
+
At any point Stella can say "generate aja sisanya" / "just generate the rest" — switch to Express mode. Rules:
|
|
116
|
+
- Already-approved lens sections are preserved as-is
|
|
117
|
+
- Express generates only the remaining unfilled sections
|
|
118
|
+
- Vivre Card Pulse still runs on the full assembled PRD
|
|
119
|
+
- Metadata should say `Guided (partial N/7) + Express`
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
#### Vivre Card Pulse (Post-Assembly Validation)
|
|
124
|
+
|
|
125
|
+
After all lenses are complete (Guided mode) or after the PRD draft is ready (Express mode), run a coherence check:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
Vivre Card Pulse — [PRD Name]
|
|
129
|
+
|
|
130
|
+
Contradiction: CLEAR | [specific conflict, citing PRD text]
|
|
131
|
+
Completeness: CLEAR | [specific gap, citing PRD text]
|
|
132
|
+
Testability: CLEAR | [specific unmeasurable item]
|
|
133
|
+
Scope Integrity: CLEAR | [mismatch with selected track]
|
|
134
|
+
Fog Density: LOW / MEDIUM / HIGH — [blocking unknowns listed]
|
|
135
|
+
|
|
136
|
+
Overall: READY FOR APPROVAL | NEEDS ATTENTION ([N] items)
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
If any check fails, recommend which lens (Guided) or which topic (Express) to revisit. Each finding must cite specific text from the PRD — no vague flags.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
#### Crew Check (Satellite Perspectives)
|
|
144
|
+
|
|
145
|
+
Before Stella's final approval, channel the other satellites for a quick perspective review:
|
|
146
|
+
|
|
147
|
+
> "Sebelum finalize, saya cek dari perspektif crew lain." / "Before we finalize, let me check from the crew's perspectives."
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
Crew Check — [PRD Name]
|
|
151
|
+
|
|
152
|
+
Pythagoras (Architecture): [one-line — e.g., "Data model needs state machine for order status"]
|
|
153
|
+
ODA (UX): [one-line — e.g., "No error states defined for upload flow"]
|
|
154
|
+
Edison (Build): [one-line — e.g., "P0 set is buildable in stated timeline"]
|
|
155
|
+
Lilith Red (Security): [one-line — e.g., "User uploads need size limits and type validation"]
|
|
156
|
+
Lilith Blue (QA): [one-line — e.g., "Acceptance criteria for P0-2 is too vague to test"]
|
|
157
|
+
Atlas (Infra): [one-line — e.g., "No deployment requirements. Fine for V1"]
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
One line per satellite. Only flag actual concerns — "No concerns" if clear. Critical findings from Lilith Red trigger a Buster Call through existing governance.
|
|
161
|
+
|
|
162
|
+
**Note:** The Crew Check is a lightweight surface-level pre-screen where Shaka adopts each satellite's perspective. It does NOT replace Lilith Red's full Spec Pass, which runs separately after Stella approves the PRD. Think of it as a quick sanity check before approval, not the real audit.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
44
166
|
**MANDATORY: Write PRD to file.**
|
|
45
167
|
After Stella approves the PRD, you MUST write it to `brain/prd-[name].md` as a real file. NEVER leave the PRD only in conversation context or in a plan file. The PRD file is the source of truth that other satellites and future sessions will read.
|
|
46
168
|
|