bokata 2.0.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 (28) hide show
  1. package/.agents/skills/bokata-acceptance-criteria/SKILL.md +235 -0
  2. package/.agents/skills/bokata-acceptance-criteria/resources/output-template-functional.md +28 -0
  3. package/.agents/skills/bokata-acceptance-criteria/resources/output-template.md +65 -0
  4. package/.agents/skills/bokata-feature-mapper/SKILL.md +276 -0
  5. package/.agents/skills/bokata-feature-mapper/resources/bundling-heuristics.md +71 -0
  6. package/.agents/skills/bokata-feature-mapper/resources/examples.md +63 -0
  7. package/.agents/skills/bokata-feature-mapper/resources/methodology.md +91 -0
  8. package/.agents/skills/bokata-feature-mapper/resources/output-template.md +57 -0
  9. package/.agents/skills/bokata-feature-slicer/SKILL.md +207 -0
  10. package/.agents/skills/bokata-feature-slicer/resources/breakdown-strategies.md +122 -0
  11. package/.agents/skills/bokata-feature-slicer/resources/output-template-increments.md +12 -0
  12. package/.agents/skills/bokata-feature-slicer/resources/output-template-steps.md +24 -0
  13. package/.agents/skills/bokata-feature-slicer/resources/phase-1-steps.md +232 -0
  14. package/.agents/skills/bokata-feature-slicer/resources/phase-2-increments.md +251 -0
  15. package/.agents/skills/bokata-feature-slicer/resources/phase-3-baby-steps.md +311 -0
  16. package/README.md +123 -0
  17. package/agents/bokata-product-designer.md +103 -0
  18. package/agents/bokata-product-engineer.md +104 -0
  19. package/agents/bokata-product-manager.md +96 -0
  20. package/bin/bokata.js +51 -0
  21. package/commands/codex/feature-map.md +263 -0
  22. package/commands/codex/slice-feature.md +291 -0
  23. package/commands/task-parallel/feature-map.md +273 -0
  24. package/commands/task-parallel/resources/html-template.md +560 -0
  25. package/commands/task-parallel/resources/story-map-template.md +495 -0
  26. package/commands/task-parallel/slice-feature.md +301 -0
  27. package/package.json +30 -0
  28. package/src/install.js +312 -0
@@ -0,0 +1,63 @@
1
+ # User Story Mapping: Feature identification Examples
2
+
3
+ ## Example: E-commerce Platform
4
+
5
+ **Input Context:**
6
+ - Domain: Online shopping
7
+ - Purpose: Let customers browse and buy products
8
+ - Users: Shoppers, sellers, admins
9
+ - Core: Browse, search, purchase, manage orders, track delivery
10
+
11
+ **Features Identified:**
12
+
13
+ ```markdown
14
+ ## Features Backbone
15
+
16
+ ### Feature Overview
17
+ Users discover products, manage their shopping cart, complete purchases, and track their orders from placement to delivery.
18
+
19
+ ### Features Map
20
+
21
+ #### Feature 1: User Shops for Products
22
+ **Purpose:** Discover and explore products to find items of interest
23
+
24
+ **User Tasks:**
25
+ 1. **Browses Product Catalog** - View product catalog by category
26
+ 2. **Searches for Products** - Find specific items using search
27
+ 3. **Views Product Details** - See detailed information and images
28
+ 4. **Compares Multiple Products** - Compare multiple items side-by-side
29
+ 5. **Filters Products by Criteria** - Narrow results by price, rating, etc.
30
+
31
+ #### Feature 2: User Manages Shopping Cart
32
+ **Purpose:** Collect and manage items before purchase
33
+
34
+ **User Tasks:**
35
+ 1. **Adds Items to Cart** - Select products for purchase
36
+ 2. **Updates Cart Quantity** - Change item quantities
37
+ 3. **Removes Items from Cart** - Delete unwanted items
38
+ 4. **Saves Cart for Later** - Preserve cart across sessions
39
+
40
+ #### Feature 3: User Completes Purchase
41
+ **Purpose:** Complete purchase and provide delivery information
42
+
43
+ **User Tasks:**
44
+ 1. **Enters Shipping Address** - Provide delivery location
45
+ 2. **Selects Payment Method** - Choose how to pay
46
+ 3. **Reviews Order Details** - Confirm purchase details
47
+ 4. **Completes Checkout Process** - Finalize and place order
48
+
49
+ #### Feature 4: User Tracks Order
50
+ **Purpose:** Monitor order status and manage post-purchase
51
+
52
+ **User Tasks:**
53
+ 1. **Views Order Status** - Check order progress
54
+ 2. **Tracks Shipment Location** - See delivery tracking
55
+ 3. **Views Order History** - See past purchases
56
+ 4. **Initiates Product Return** - Request product return
57
+
58
+ ### Feature Dependencies
59
+ - **Critical**: "User Shops for Products" must exist before "User Manages Shopping Cart"
60
+ - **Critical**: "User Manages Shopping Cart" must exist before "User Completes Purchase"
61
+ - **Critical**: "User Completes Purchase" must exist before "User Tracks Order"
62
+ - **Independent**: "User Shops for Products" tasks can be in any order
63
+ ```
@@ -0,0 +1,91 @@
1
+ # User Story Mapping: Methodology & Principles
2
+
3
+ ## The "Mile Wide, Inch Deep" Philosophy
4
+ - **Features (The Backbone):** High-level goals representing the broad scope of the project.
5
+ - **User Tasks:** Concrete, independent actions under each feature that deliver observable value.
6
+
7
+ ## Feature & User Task Requirements
8
+
9
+ ## Feature Naming: [Actor] [Verb] [Object]
10
+ - **Format:** MUST follow **[Actor] [Verb] [Object]**.
11
+ - **Actors:** Concrete roles (User, Coach, Admin).
12
+ - **Verbs:** Specific action verbs (Records, Searches, Pays, Manages).
13
+ - **Examples:** "Player Manages Competitive Profile", "Coach Creates Audio Content"
14
+
15
+ ## User Task Naming: [Verb] [Object]
16
+ - **Format:** MUST follow **[Verb] [Object]**.
17
+ - **NO ACTOR:** The actor is inherited from the Feature.
18
+ - **Examples:**
19
+ - ✅ *Records Audio*, *Search Products*, *Complete Onboarding Flow*
20
+ - ❌ *Coach Records Audio* (Redundant actor), *Audio Recording* (No verb)
21
+
22
+ ## Feature Identification Guidelines:
23
+
24
+ 1. **Start with user goals, not features**
25
+ - Instead of thinking "what features do we need?"
26
+ - Think "what are users trying to accomplish?"
27
+
28
+ 2. **Look for natural groupings**
29
+ - Capabilities that work together toward a common goal
30
+ - Sequential phases of user journey
31
+ - Distinct domains of functionality
32
+
33
+ 3. **Feature naming must include Actor+Verb**
34
+ - Ensure every feature name specifies who is doing what.
35
+
36
+ ## Feature Identification Examples (Internal)
37
+
38
+ **E-commerce Platform:**
39
+ - Feature 1: "User Shops for Products Online"
40
+ - Feature 2: "User Manages Shopping Cart Items"
41
+ - Feature 3: "User Completes Purchase Order"
42
+ - Feature 4: "User Tracks Order Status"
43
+
44
+ **Task Management App:**
45
+ - Feature 1: "User Sets Up Project" (create project, configure settings)
46
+ - Feature 2: "User Manages Tasks" (add, assign, update, complete tasks)
47
+ - Feature 3: "Team Collaborates on Work" (comments, mentions, sharing)
48
+ - Feature 4: "User Tracks Progress" (dashboards, reports, filters)
49
+
50
+ **Audio Recording App:**
51
+ - Feature 1: "Coach Creates Audio Content"
52
+ - Feature 2: "Coach Organizes Library Content"
53
+ - Feature 3: "User Plays Audio Content"
54
+
55
+ **NOT Features (too narrow, these are User Tasks):**
56
+ - "User Creates Account" → This is a User Task under "User Manages Account"
57
+ - "User Browses Products" → This is a User Task under "User Shops Online"
58
+ - "System Validates Data" → This is a Step, not even a User Task
59
+
60
+ ---
61
+
62
+ ## System Tasks
63
+
64
+ When you identify that the system performs its own work, apply this test:
65
+
66
+ **What triggers this system task?**
67
+
68
+ - **A workflow transition** (a system state changes without the user directly triggering it)
69
+ → Standalone System Task within the feature where that transition occurs
70
+ → If it groups several System Tasks alongside a User Task that initiates them, it may be its own Feature
71
+ → Examples: session expires and system closes data; payment confirmed and system generates invoice;
72
+ new user registered and system sends welcome email; document published and system notifies subscribers
73
+
74
+ - **A direct user action** within an existing User Task
75
+ → Embedded in that User Task (as a note or as part of its rules/Gherkin)
76
+ → Do NOT create a separate System Task
77
+ → Examples: user clicks "calculate price" and system returns the total;
78
+ user uploads a file and system validates it; user searches and system filters results
79
+
80
+ **Signals that it is a workflow transition:**
81
+ - No existing User Task triggers it directly
82
+ - It occurs between features, between system steps, or between application states
83
+ - The system acts autonomously without waiting for immediate user input
84
+
85
+ **Signals that it is part of a User Task:**
86
+ - The user action and the system response form an indivisible unit
87
+ - The user expects the system response as part of completing their task
88
+ - A Gherkin scenario or rule already captures the system behavior
89
+
90
+ **Format:** `System Task X.X: [Action] [Object]`
91
+ **Include:** the trigger that fires it, what it calculates/executes, expected output
@@ -0,0 +1,57 @@
1
+ <!-- Initiative: {initiative-name} | Date: {YYYY-MM-DD} | Constitution: {version} -->
2
+
3
+ ## Features Backbone
4
+
5
+ ### Feature Overview
6
+ [Brief narrative of the complete user journey, 2-3 sentences]
7
+
8
+ ---
9
+
10
+ ### Features Map
11
+
12
+ #### Feature: [Actor] [Verb] [Object]
13
+ <!-- ID: {PRJ}-FEAT-{hash} -->
14
+ **Purpose:** [What the user accomplishes with this feature]
15
+
16
+ ##### User Task: [Verb] [Object]
17
+ <!-- Task ID: {PRJ}-TASK-{hash} -->
18
+ [One-line description of what the user does]
19
+
20
+ ##### User Task: [Verb] [Object]
21
+ <!-- Task ID: {PRJ}-TASK-{hash} -->
22
+ [One-line description]
23
+
24
+ ##### System Task {N}.{M}: [Verb] [Object]
25
+ **Trigger:** [workflow transition that fires it — e.g. "order confirmed", "session expired"]
26
+ The system [description of what it executes and what it produces].
27
+
28
+ ---
29
+
30
+ **UI States:**
31
+ - [State name]: [Description]
32
+ - [State name]: [Description]
33
+
34
+ ---
35
+
36
+ #### Feature: [Actor] [Verb] [Object]
37
+ <!-- ID: {PRJ}-FEAT-{hash} -->
38
+ **Purpose:** [What the user accomplishes with this feature]
39
+
40
+ ##### User Task: [Verb] [Object]
41
+ <!-- Task ID: {PRJ}-TASK-{hash} -->
42
+ [One-line description]
43
+
44
+ ---
45
+
46
+ ### Feature Dependencies
47
+ - **Critical**: [Feature X] must exist before [Feature Y]
48
+ - **Recommended**: [Feature A] before [Feature B]
49
+ - **Independent**: [Features] can be done in any order
50
+
51
+ ---
52
+
53
+ ### Constitution Compliance
54
+ - [ ] All Features align with stated architecture principles
55
+ - [ ] No prohibited patterns introduced
56
+ - [ ] Security requirements addressed
57
+ - [ ] Non-goals respected (no out-of-scope features added)
@@ -0,0 +1,207 @@
1
+ ---
2
+ name: bokata-feature-slicer
3
+ description: Slices a Feature into a Walking Skeleton and Increments Backlog — a ready-to-implement delivery plan. Internal phases (Steps and Incremental Options) are used as reasoning but not surfaced by default. Use this skill whenever you need to break down a Feature into implementable work — after generating a Features Backbone, when planning a sprint, or when a user asks to slice, decompose, or plan implementation of a feature.
4
+ ---
5
+
6
+ # Bokata Feature Slicer
7
+
8
+ Unified skill for slicing a Feature into deployable increments. Takes a Feature from the Features Backbone and produces a **Walking Skeleton + Increments Backlog** ready to implement.
9
+
10
+ **Default output:** Walking Skeleton + Increments Backlog (Phase 3 only)
11
+ **Optional:** pass `--show-steps`, `--show-increments`, or `--show-all` in arguments to surface intermediate phases.
12
+
13
+ ---
14
+
15
+ ## Quick Start
16
+
17
+ **Standalone use:** Can be invoked directly with a feature description + technical context. No prior pipeline required.
18
+
19
+ 1. Understand the Feature to slice from the provided input — any form works (plain text, backbone section, feature-context.md, or conversation context)
20
+ 2. Select target Feature to slice
21
+ 3. _(Optional)_ Enrich with a slicer research summary and discovery context if not already present
22
+ 4. **Phase 1 (internal):** Decompose User Tasks into Steps → [Instructions](resources/phase-1-steps.md)
23
+ 5. **Phase 2 (internal):** Generate Incremental Options per Step → [Instructions](resources/phase-2-increments.md)
24
+ 6. **Phase 3 (output):** Synthesize Walking Skeleton + Increments Backlog → [Instructions](resources/phase-3-baby-steps.md)
25
+
26
+ Phases 1 and 2 are internal reasoning steps — do them thoroughly but only surface their output if the user explicitly requests it.
27
+
28
+ ---
29
+
30
+ ## Prerequisites
31
+
32
+ A Feature to slice — described in any form:
33
+ - Plain text or conversation context
34
+ - Features Backbone with Features and User Tasks defined
35
+ - `feature-context.md` content (contains backbone + criteria research already consolidated)
36
+
37
+ Optionally, Acceptance Criteria enrich the decomposition.
38
+
39
+ Optionally enriched by any context containing:
40
+ - **Codebase patterns, libraries, and architecture constraints** (e.g. `## Slicer Research Summary: [Feature]`) — **recommended**
41
+ - **Domain vocabulary and actors** (e.g. `## Feature Research Summary`) — for consistent naming across increments
42
+ - **Business rules** (e.g. `## Criteria Research Summary`) — rules that affect which increment options are acceptable
43
+ - **Technical clarifications** (e.g. `## Discovery Context — Slicer: [Feature]`) — layer and scope decisions from Phase 0
44
+
45
+ **Note:** All enrichment is recommended but not blocking — proceed without it if absent.
46
+
47
+ ---
48
+
49
+ ## Phase 0 — Discovery
50
+
51
+ **Skip this phase entirely** if a `## Discovery Context — Slicer: [Feature]` section (or an orchestrator's equivalent consolidated discovery context) is already present in the input — proceed directly to `## YOUR TASK` using that context.
52
+
53
+ ### Think (as an expert tech lead in discovery):
54
+ Before decomposing, scan the Feature and its User Tasks for gaps that would produce wrong steps or increment options:
55
+
56
+ - **Technical clarity**: Are the User Tasks specific enough to decompose into layers? Any vague actions?
57
+ - **Layer ambiguity**: Are any steps unclear about which layer they belong to (UI vs Logic vs Data)?
58
+ - **Increment scope**: Are any User Tasks too large to slice meaningfully without clarification?
59
+ - **Dependencies**: Are there unspecified technical dependencies between User Tasks?
60
+ - **Constraints**: Are there architectural or performance constraints that affect which increment options are viable?
61
+
62
+ Only ask about gaps where **the answer would change a Step or an Increment option**. If the input is clear, don't ask.
63
+
64
+ ### Execute:
65
+ 1. List ambiguities internally
66
+ 2. Filter to only **high-value questions** (answer changes a Step or an Increment option)
67
+ 3. Group questions by theme (Technical Clarity, Layer Ambiguity, Increment Scope, Dependencies, Constraints)
68
+ 4. Present questions to the user using the format below
69
+
70
+ ---
71
+
72
+ > **CRITICAL: Do not skip. Stop here and wait for user answers before producing any output.**
73
+ >
74
+ > If the user says "skip", "use your judgment", or similar — state your assumptions explicitly and ask the user to confirm them before continuing.
75
+
76
+ ---
77
+
78
+ 6. State assumptions you are making for gaps you are NOT questioning
79
+
80
+ **Format for questions:**
81
+ ```
82
+ ## Clarification Questions — [Feature Name]
83
+
84
+ **Technical Clarity**
85
+ - [Question about a vague User Task or unclear action]
86
+
87
+ **Layer Ambiguity**
88
+ - [Question about which layer a step belongs to]
89
+
90
+ **Increment Scope**
91
+ - [Question about whether a User Task needs to be split further]
92
+
93
+ **Dependencies & Constraints**
94
+ - [Question about technical dependencies or architectural constraints]
95
+
96
+ **Assumptions I'm making (not asking):**
97
+ - [Assumption 1 — reason it's safe to assume given the context]
98
+ - [Assumption 2]
99
+ ```
100
+
101
+ After receiving user answers, produce a `## Discovery Context — Slicer: [Feature Name]` section with:
102
+
103
+ - **Technical clarifications**: Resolved ambiguities about User Task scope and layer assignment
104
+ - **Layer decisions**: Which layer each ambiguous step belongs to, as clarified
105
+ - **Increment boundaries**: Confirmed scope for User Tasks that needed clarification
106
+ - **Dependencies confirmed**: Technical dependencies between tasks or external systems
107
+ - **Constraints noted**: Architectural or performance constraints that affect slicing
108
+ - **Assumptions**: Any remaining assumptions made where questions were not raised
109
+
110
+ ---
111
+
112
+ ## YOUR TASK
113
+
114
+ Read the provided input and:
115
+
116
+ 1. **Prerequisite Check:**
117
+ - Verify you understand what Feature and User Tasks to slice — extract from input in any form; if no feature information is present at all, ask the user
118
+ - Optionally check for Acceptance Criteria — if missing, proceed without them
119
+
120
+ 2. **Phase 1 — Steps (internal):**
121
+ Follow instructions in [Phase 1: Step Analysis](resources/phase-1-steps.md)
122
+ - Decompose each User Task into functional Steps (UI → Logic → Data → Integration)
123
+ - Do this work internally — don't output Phase 1 results unless `--show-steps` or `--show-all` was requested
124
+
125
+ 3. **Phase 2 — Increments (internal):**
126
+ Follow instructions in [Phase 2: Incremental Options](resources/phase-2-increments.md)
127
+ - Generate 3+ Incremental Options per Step using [breakdown strategies](resources/breakdown-strategies.md)
128
+ - Do this work internally — don't output Phase 2 results unless `--show-increments` or `--show-all` was requested
129
+
130
+ 4. **Phase 3 — Walking Skeleton + Increments Backlog (output):**
131
+ Follow instructions in [Phase 3: Vertical Slices](resources/phase-3-baby-steps.md)
132
+ - Identify Walking Skeleton (simplest end-to-end options, buildable in 1-3 days)
133
+ - Organize remaining increments into a backlog
134
+ - **This is always the output** — produce it regardless of args
135
+
136
+ ---
137
+
138
+ ## Execution Flow
139
+
140
+ ```
141
+ Input: Feature description (any form)
142
+ │
143
+ ▼
144
+ ┌─────────────────────┐
145
+ │ Phase 1: Steps │ ← internal reasoning
146
+ │ (Decompose Tasks) │
147
+ └────────┬────────────┘
148
+ │
149
+ ▼
150
+ ┌─────────────────────┐
151
+ │ Phase 2: Increments │ ← internal reasoning
152
+ │ (Generate Options) │
153
+ └────────┬────────────┘
154
+ │
155
+ ▼
156
+ ┌─────────────────────┐
157
+ │ Phase 3: Output │ ← surfaced to user
158
+ │ Walking Skeleton │
159
+ │ + Backlog │
160
+ └─────────────────────┘
161
+ ```
162
+
163
+ ---
164
+
165
+ ## Resources
166
+
167
+ | Resource | Purpose |
168
+ |----------|---------|
169
+ | [Phase 1 Instructions](resources/phase-1-steps.md) | Step Analysis workflow and quality criteria |
170
+ | [Phase 2 Instructions](resources/phase-2-increments.md) | Increment generation workflow and quality criteria |
171
+ | [Phase 3 Instructions](resources/phase-3-baby-steps.md) | Vertical Slices synthesis workflow |
172
+ | [Breakdown Strategies](resources/breakdown-strategies.md) | Toolkit of strategies for Phase 2 |
173
+ | [Steps Output Template](resources/output-template-steps.md) | Format for Phase 1 output (used when --show-steps) |
174
+ | [Increments Output Template](resources/output-template-increments.md) | Format for Phase 2 output (used when --show-increments) |
175
+
176
+ ---
177
+
178
+ ## Output Checklist
179
+
180
+ ### Phase 3 — Walking Skeleton + Backlog (always verify before outputting):
181
+ - [ ] `## 💀 Walking Skeleton` covers ALL User Tasks
182
+ - [ ] Every Walking Skeleton item is genuinely the simplest viable option (buildable in 1-3 days)
183
+ - [ ] Every Walking Skeleton item is reversible (especially Data layer items)
184
+ - [ ] `## 🏗️ Increments Backlog` contains all remaining options
185
+ - [ ] Backlog grouped by User Task
186
+ - [ ] All items use correct tag format: `**[User Task Name]**`
187
+ - [ ] No generic tasks — all items are specific increments from Phase 2 analysis
188
+ - [ ] Walking Skeleton descriptions answer "what user sees/does" — technology references OK, endpoint/field/function names NOT OK
189
+
190
+ ### Internal verification (before Phase 3 synthesis):
191
+ - [ ] All User Tasks have been decomposed into Steps (Phase 1 complete)
192
+ - [ ] All Steps have 3+ Incremental Options (Phase 2 complete)
193
+ - [ ] Walking Skeleton uses options evaluated across all Phase 2 options, not just `.1` defaults
194
+
195
+ ### Upstream Inputs (verify before starting):
196
+ - [ ] Feature information present in some form
197
+ - [ ] `## Slicer Research Summary: [Feature]` present (recommended — note if absent)
198
+
199
+ ---
200
+
201
+ ## NEXT STEPS
202
+
203
+ After completing the slicing:
204
+
205
+ 1. **Save output** — The user decides where to save
206
+ 2. **Validate** — Check output against the Output Checklist above
207
+ 3. **Implement** — Start with Walking Skeleton items, then pick increments from the backlog
@@ -0,0 +1,122 @@
1
+ # BREAKDOWN STRATEGIES TOOLKIT
2
+
3
+ ## Start here: Linguistic Pattern Detection
4
+
5
+ Before picking a strategy, scan the step name and description for linguistic signals that indicate bundled work. These patterns tell you what kind of split is needed.
6
+
7
+ ### Coordinating Conjunctions (and, or, but, yet, nor...)
8
+ - If step says "X and Y," split into separate options
9
+ - Example: "Upload and download files" → "Upload files" + "Download files"
10
+
11
+ ### Action-Related Connectors (manage, handle, support, process, maintain...)
12
+ - These hide multiple actions under a generic verb
13
+ - Example: "Manage users" → "Create users" + "Edit users" + "Delete users"
14
+
15
+ ### Sequence Connectors (before, after, then, while, during, when...)
16
+ - Indicates a process with multiple phases
17
+ - Example: "Save before submit" → "Save work" + "Submit work"
18
+
19
+ ### Scope Indicators (including, as-well-as, along with, also, additionally...)
20
+ - Introduce extra requirements that can be separated
21
+ - Example: "Notifications via email and SMS" → "Email notifications" + "SMS notifications"
22
+
23
+ ### Option Indicators (either/or, whether, alternatively, optionally...)
24
+ - Multiple paths or features
25
+ - Example: "Login with password or Google" → "Password login" + "Google OAuth login"
26
+
27
+ ### Exception Indicators (except, unless, however, although, despite...)
28
+ - Point to edge cases or special rules
29
+ - Example: "Delete account unless admin" → "User account deletion" + "Admin restrictions"
30
+
31
+ If no linguistic patterns are found, use the **Automation Gradient** (Strategy 0) as your default starting lens.
32
+
33
+ ---
34
+
35
+ ## Strategy 0: Automation Gradient (default fallback)
36
+
37
+ When no linguistic pattern signals an obvious split, use this gradient as a starting lens to generate options across the automation spectrum:
38
+
39
+ **manual → hardcoded → semi-automated → fully automated → scalable → enterprise-grade**
40
+
41
+ - Example: "Send notification" → "Manual email" → "Hardcoded template email" → "Triggered email" → "Multi-channel automated" → "Personalized with rules engine"
42
+
43
+ This gradient works for almost any step and guarantees a progression from simplest to most complete.
44
+
45
+ ---
46
+
47
+ ## 1. Start with the Outputs
48
+ Instead of splitting work based on technical inputs or workflows, focus on **delivering specific outputs incrementally**. This makes it easier to create a sensible incremental plan and quickly deliver valuable data.
49
+ - Example: "Basic report" → "Interactive report" → "Dashboard with exports"
50
+
51
+ ## 2. Workflow Simplification
52
+ - Remove optional steps
53
+ - Reduce validations
54
+ - Skip confirmations
55
+ - Example: "Direct purchase" → "Add to cart then purchase" → "Add to cart, review, then purchase with confirmation"
56
+
57
+ ## 3. Zero/One/Many
58
+ - Build for zero → one → many cases
59
+ - Example: "No results handling" → "Single result display" → "Multiple results with pagination"
60
+
61
+ ## 4. Business Rule Progression
62
+ - Implement simplest rule first
63
+ - Add constraints incrementally
64
+ - Example: "Fixed price" → "Tiered pricing" → "Dynamic pricing with rules engine"
65
+
66
+ ## 5. Data Variation Reduction
67
+ - Start with one data type
68
+ - Single format first
69
+ - Example: "Text only" → "Text + Images" → "All media types (video, audio, documents)"
70
+
71
+ ## 6. User Segment Narrowing
72
+ - Most specific user group first
73
+ - Example: "Beta users in London" → "All UK users" → "Global users with localization"
74
+
75
+ ## 7. Use Case Isolation
76
+ - Most common scenario first
77
+ - Example: "Search by name" → "Search with filters" → "Advanced search with saved queries"
78
+
79
+ ## 8. Walking Skeleton on Crutches
80
+ - Deliver minimal user-facing functionality, potentially using simpler back-end components or manual steps initially
81
+ - Build up full architecture iteratively
82
+ - Example: "Manual admin approval" → "Automated workflow with overrides" → "ML-powered auto-approval"
83
+
84
+ ## 9. Narrow Customer Segment
85
+ - Deliver full functionality for smaller, specific group first
86
+ - Example: "Premium users only" → "All paid users" → "All users including free tier"
87
+
88
+ ## 10. Split by Examples of Usefulness
89
+ - For large technical changes, list concrete examples of how change will be useful
90
+ - Identify examples that can be delivered with subset of full solution
91
+ - Example: "Export user list" → "Export with filters" → "Schedule exports" → "Real-time export streaming"
92
+
93
+ ## 11. Split by Capacity
94
+ - Limit scope based on system capacity (file size, users, data volume)
95
+ - Deliver for lower capacity first
96
+ - Example: "10 items" → "1000 items" → "100,000 items" → "Unlimited with sharding"
97
+
98
+ ## 12. Dummy to Dynamic
99
+ - For features requiring complex data integration, build interface with hard-coded dummy data first
100
+ - Follow up with dynamic data integration
101
+ - Example: "Fixed list" → "Editable list" → "API-driven list" → "Real-time synced list"
102
+
103
+ ## 13. Simplify Outputs
104
+ - Reduce complexity of initial output formats
105
+ - Example: "Plain text" → "CSV" → "JSON API" → "PDF with charts" → "Interactive dashboard"
106
+
107
+ ## 14. Split Learning from Earning
108
+ - Separate research/investigation (learning stories) from value delivery (earning stories)
109
+ - Example: "Research payment providers" (learning) → "Implement Stripe" (earning)
110
+
111
+ ## 15. Extract Basic Utility
112
+ - Deliver bare minimum functionality for task completion
113
+ - Sacrifice usability initially, refine later
114
+ - Example: "Command line interface" → "Basic web form" → "Rich UI with validation"
115
+
116
+ ## 16. SPIDR Pattern Analysis
117
+ - **Spikes**: Separate technical exploration
118
+ - **Paths**: Different user paths through story
119
+ - **Interfaces**: Different UI approaches
120
+ - **Data**: Different data types/sources
121
+ - **Rules**: Different business rules
122
+
@@ -0,0 +1,12 @@
1
+ ### Incremental Options (0/N)
2
+
3
+ [ ] **N.1: [Action] [Object]** - [Specific implementation description]
4
+
5
+ [ ] **N.2: [Action] [Object]** - [Specific implementation description]
6
+
7
+ [ ] **N.3: [Action] [Object]** - [Specific implementation description]
8
+
9
+ [Repeat as needed...]
10
+
11
+ **Applied Strategies:** [List of 2-3 strategies used]
12
+ **Rationale:** [Why these options for this step - 1-2 sentences]
@@ -0,0 +1,24 @@
1
+ ## Feature: [Feature Name]
2
+ <!-- Feature ID: {PRJ}-FEAT-{hash} -->
3
+
4
+ ## User Task: [User Task Name]
5
+ <!-- Task ID: {PRJ}-TASK-{hash} | ACs: features.md#{PRJ}-TASK-{hash} -->
6
+
7
+ ### Steps
8
+
9
+ #### Step 1: [Action] [Object]
10
+ **Layer:** [UI | Logic | Data | Integration]
11
+ **Description:** [What this step accomplishes - 1-2 sentences]
12
+ **Technical Note:** [Key architectural/design decision from research — e.g., "Uses existing session validation service — no new auth logic needed"]
13
+
14
+ #### Step 2: [Action] [Object]
15
+ **Layer:** [UI | Logic | Data | Integration]
16
+ **Description:** [What this step accomplishes - 1-2 sentences]
17
+ **Technical Note:** [Key architectural/design decision from research — e.g., "Database-level uniqueness constraint — no app-layer validation needed"]
18
+
19
+ #### Step 3: [Action] [Object]
20
+ **Layer:** [UI | Logic | Data | Integration]
21
+ **Description:** [What this step accomplishes - 1-2 sentences]
22
+ **Technical Note:** [Key architectural/design decision from research — e.g., "Follows existing repository lookup pattern"]
23
+
24
+ [Additional steps as needed...]