planflow-ai 1.0.1 → 1.0.2

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.
@@ -12,6 +12,18 @@ This command creates a discovery document for gathering and clarifying requireme
12
12
 
13
13
  ---
14
14
 
15
+ > ⚠️ **IMPORTANT - DISCOVERY ONLY**
16
+ >
17
+ > This command ONLY creates a discovery document. It does NOT:
18
+ > - Create implementation plans (use `/create-plan` for that)
19
+ > - Execute code or implementation steps (use `/execute-plan` for that)
20
+ > - Write any source code files
21
+ > - Auto-chain to the next command
22
+ >
23
+ > After creating the discovery document, the command STOPS and waits for user review.
24
+
25
+ ---
26
+
15
27
 
16
28
  ## Help
17
29
 
@@ -48,7 +60,8 @@ WORKFLOW:
48
60
  4. Documents requirements (FR, NFR, Constraints)
49
61
  5. Proposes high-level approach (no code)
50
62
  6. Creates discovery document for review
51
- 7. User reviews and refines before /create-plan
63
+ 7. Asks user if they want to proceed to /create-plan
64
+ 8. Waits for user confirmation before proceeding
52
65
 
53
66
  RECOMMENDED MODEL:
54
67
  Claude Opus 4.6 or Sonnet 4.5 for best results
@@ -72,8 +85,10 @@ These rules are mandatory. For detailed patterns and guidelines, see `.claude/ru
72
85
  | **Read First** | Read all referenced documents before asking questions |
73
86
  | **High-Level Only** | Technical considerations are conceptual, not code |
74
87
  | **Allow Refinement** | User reviews and refines discovery before plan creation |
75
- | **No Auto-Chaining** | NEVER auto-invoke /create-plan - user must invoke it |
76
- | **Complete and Stop** | After presenting results, STOP and wait for user |
88
+ | **Ask Before Proceeding**| ASK user if they want to proceed to /create-plan |
89
+ | **No Auto-Execution** | Do NOT auto-invoke commands without user confirmation |
90
+ | **NO PLANNING** | Do NOT create implementation plans during discovery |
91
+ | **NO EXECUTION** | Do NOT execute any implementation steps |
77
92
 
78
93
  ---
79
94
 
@@ -134,6 +149,8 @@ The skill will:
134
149
  7. Propose high-level approach
135
150
  8. Document risks and unknowns
136
151
  9. Generate discovery document
152
+ 10. Ask user if they want to proceed to /create-plan
153
+ 11. Wait for user confirmation before proceeding
137
154
 
138
155
  See: `.claude/rules/skills/discovery-skill.md`
139
156
 
@@ -154,13 +171,25 @@ Discovery Complete!
154
171
 
155
172
  **Deliverable Created**: `flow/discovery/discovery_<feature>_v1.md`
156
173
 
157
- **Next Steps** (user must invoke manually):
174
+ **Next Steps**:
158
175
  1. Review the discovery document above
159
- 2. Request any refinements or additions
160
- 3. When ready, invoke `/create-plan @flow/discovery/discovery_<feature>_v1.md`
176
+ 2. Request any refinements or additions (if needed)
177
+ 3. Proceed to planning when ready
161
178
  ```
162
179
 
163
- **CRITICAL**: This command is now complete. Do NOT auto-invoke `/create-plan`. Wait for the user to explicitly invoke it.
180
+ **Now ask the user**:
181
+
182
+ ```markdown
183
+ Would you like me to proceed with creating the implementation plan?
184
+
185
+ - **Yes**: I'll invoke `/create-plan @flow/discovery/discovery_<feature>_v1.md`
186
+ - **No**: You can review the discovery and invoke `/create-plan` when ready
187
+ - **Refine first**: Let me know what needs to be adjusted in the discovery
188
+ ```
189
+
190
+ ⚠️ **WAIT for user response before proceeding**
191
+
192
+ Do NOT auto-invoke `/create-plan` without user confirmation.
164
193
 
165
194
  ---
166
195
 
@@ -305,10 +334,14 @@ This skill is **strictly for gathering and documenting requirements**. The proce
305
334
  | -------------------------------------- | ----------------------------------------- |
306
335
  | Create/edit source code files | Discovery is requirements gathering only |
307
336
  | Write implementation code in responses | No code during discovery |
308
- | Create implementation plans | Plans come after discovery |
337
+ | Create implementation plans | Plans come after discovery via /create-plan |
338
+ | Create files in `flow/plans/` | Planning is a separate command |
339
+ | Auto-invoke /create-plan without asking| Must ASK user before proceeding |
340
+ | Execute implementation steps | Discovery does not execute anything |
309
341
  | Modify configuration files | No codebase changes |
310
342
  | Run build or test commands | No execution commands |
311
343
  | Create files outside `flow/discovery/` | Only write discovery documents |
344
+ | Proceed without user confirmation | Must wait for user response |
312
345
 
313
346
  ### Allowed Actions
314
347
 
@@ -625,6 +658,11 @@ Before completing discovery, verify:
625
658
  - [ ] Next steps are defined (pointing to `/create-plan`)
626
659
  - [ ] **NO implementation code is included**
627
660
  - [ ] **NO source files were created or modified**
661
+ - [ ] **NO implementation plans were created**
662
+ - [ ] **NO files created in flow/plans/ directory**
663
+ - [ ] **ASKED user if they want to proceed to /create-plan**
664
+ - [ ] **WAITING for user confirmation before proceeding**
665
+ - [ ] **Did NOT auto-invoke /create-plan without asking**
628
666
 
629
667
  ---
630
668
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "planflow-ai",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Structured AI-assisted development workflows for discovery, planning, execution, code reviews, and testing",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",