@dedesfr/prompter 0.8.23 → 1.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 (247) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +105 -77
  3. package/dist/cli/index.js +25 -1
  4. package/dist/cli/index.js.map +1 -1
  5. package/dist/commands/init.d.ts +1 -7
  6. package/dist/commands/init.d.ts.map +1 -1
  7. package/dist/commands/init.js +60 -299
  8. package/dist/commands/init.js.map +1 -1
  9. package/dist/commands/login.d.ts +4 -0
  10. package/dist/commands/login.d.ts.map +1 -0
  11. package/dist/commands/login.js +56 -0
  12. package/dist/commands/login.js.map +1 -0
  13. package/dist/commands/logout.d.ts +4 -0
  14. package/dist/commands/logout.d.ts.map +1 -0
  15. package/dist/commands/logout.js +14 -0
  16. package/dist/commands/logout.js.map +1 -0
  17. package/dist/commands/update.d.ts.map +1 -1
  18. package/dist/commands/update.js +31 -41
  19. package/dist/commands/update.js.map +1 -1
  20. package/dist/commands/whoami.d.ts +4 -0
  21. package/dist/commands/whoami.d.ts.map +1 -0
  22. package/dist/commands/whoami.js +42 -0
  23. package/dist/commands/whoami.js.map +1 -0
  24. package/dist/core/auth-store.d.ts +10 -0
  25. package/dist/core/auth-store.d.ts.map +1 -0
  26. package/dist/core/auth-store.js +39 -0
  27. package/dist/core/auth-store.js.map +1 -0
  28. package/dist/core/configurators/slash/antigravity.d.ts +2 -5
  29. package/dist/core/configurators/slash/antigravity.d.ts.map +1 -1
  30. package/dist/core/configurators/slash/antigravity.js +2 -57
  31. package/dist/core/configurators/slash/antigravity.js.map +1 -1
  32. package/dist/core/configurators/slash/base.d.ts +6 -18
  33. package/dist/core/configurators/slash/base.d.ts.map +1 -1
  34. package/dist/core/configurators/slash/base.js +8 -77
  35. package/dist/core/configurators/slash/base.js.map +1 -1
  36. package/dist/core/configurators/slash/claude.d.ts +2 -5
  37. package/dist/core/configurators/slash/claude.d.ts.map +1 -1
  38. package/dist/core/configurators/slash/claude.js +2 -57
  39. package/dist/core/configurators/slash/claude.js.map +1 -1
  40. package/dist/core/configurators/slash/codex.d.ts +2 -5
  41. package/dist/core/configurators/slash/codex.d.ts.map +1 -1
  42. package/dist/core/configurators/slash/codex.js +2 -57
  43. package/dist/core/configurators/slash/codex.js.map +1 -1
  44. package/dist/core/configurators/slash/droid.d.ts +2 -5
  45. package/dist/core/configurators/slash/droid.d.ts.map +1 -1
  46. package/dist/core/configurators/slash/droid.js +2 -32
  47. package/dist/core/configurators/slash/droid.js.map +1 -1
  48. package/dist/core/configurators/slash/forge.d.ts +2 -5
  49. package/dist/core/configurators/slash/forge.d.ts.map +1 -1
  50. package/dist/core/configurators/slash/forge.js +2 -32
  51. package/dist/core/configurators/slash/forge.js.map +1 -1
  52. package/dist/core/configurators/slash/github-copilot.d.ts +2 -7
  53. package/dist/core/configurators/slash/github-copilot.d.ts.map +1 -1
  54. package/dist/core/configurators/slash/github-copilot.js +2 -96
  55. package/dist/core/configurators/slash/github-copilot.js.map +1 -1
  56. package/dist/core/configurators/slash/index.d.ts +1 -1
  57. package/dist/core/configurators/slash/index.d.ts.map +1 -1
  58. package/dist/core/configurators/slash/index.js +1 -1
  59. package/dist/core/configurators/slash/index.js.map +1 -1
  60. package/dist/core/configurators/slash/kilocode.d.ts +2 -5
  61. package/dist/core/configurators/slash/kilocode.d.ts.map +1 -1
  62. package/dist/core/configurators/slash/kilocode.js +2 -57
  63. package/dist/core/configurators/slash/kilocode.js.map +1 -1
  64. package/dist/core/configurators/slash/opencode.d.ts +2 -5
  65. package/dist/core/configurators/slash/opencode.d.ts.map +1 -1
  66. package/dist/core/configurators/slash/opencode.js +2 -57
  67. package/dist/core/configurators/slash/opencode.js.map +1 -1
  68. package/dist/core/configurators/slash/registry.d.ts +4 -4
  69. package/dist/core/configurators/slash/registry.d.ts.map +1 -1
  70. package/dist/core/configurators/slash/registry.js.map +1 -1
  71. package/dist/core/registry.d.ts +18 -0
  72. package/dist/core/registry.d.ts.map +1 -0
  73. package/dist/core/registry.js +94 -0
  74. package/dist/core/registry.js.map +1 -0
  75. package/dist/core/templates/index.d.ts +0 -1
  76. package/dist/core/templates/index.d.ts.map +1 -1
  77. package/dist/core/templates/index.js +0 -1
  78. package/dist/core/templates/index.js.map +1 -1
  79. package/package.json +7 -1
  80. package/AGENTS.md +0 -123
  81. package/CLAUDE.md +0 -17
  82. package/build.js +0 -20
  83. package/convex-setup.md +0 -403
  84. package/dist/core/templates/slash-command-templates.d.ts +0 -7
  85. package/dist/core/templates/slash-command-templates.d.ts.map +0 -1
  86. package/dist/core/templates/slash-command-templates.js +0 -1041
  87. package/dist/core/templates/slash-command-templates.js.map +0 -1
  88. package/prompt/ai-humanizer.md +0 -45
  89. package/prompt/api-contract-generator.md +0 -234
  90. package/prompt/apply.md +0 -17
  91. package/prompt/archive.md +0 -21
  92. package/prompt/design-system.md +0 -210
  93. package/prompt/document-explainer.md +0 -149
  94. package/prompt/epic-generator.md +0 -198
  95. package/prompt/epic-single.md +0 -47
  96. package/prompt/erd-generator.md +0 -130
  97. package/prompt/fsd-generator.md +0 -157
  98. package/prompt/prd-agent-generator.md +0 -147
  99. package/prompt/prd-generator.md +0 -195
  100. package/prompt/product-brief.md +0 -289
  101. package/prompt/proposal.md +0 -22
  102. package/prompt/qa-test-scenario.md +0 -133
  103. package/prompt/skill-creator.md +0 -350
  104. package/prompt/story-generator.md +0 -278
  105. package/prompt/story-single.md +0 -70
  106. package/prompt/tdd-generator.md +0 -294
  107. package/prompt/tdd-lite-generator.md +0 -224
  108. package/prompt/wireframe-generator.md +0 -219
  109. package/skills/ai-context-generator/SKILL.md +0 -54
  110. package/skills/ai-context-generator/references/AGENTS.template.md +0 -83
  111. package/skills/ai-context-generator/references/CLAUDE.template.md +0 -39
  112. package/skills/ai-context-generator/references/behavioral-guidelines.md +0 -71
  113. package/skills/ai-context-generator/references/discovery-checklist.md +0 -40
  114. package/skills/ai-context-generator/references/examples/AGENTS.good.md +0 -103
  115. package/skills/ai-context-generator/references/extraction-checklist.md +0 -23
  116. package/skills/ai-context-generator/references/overlays/laravel.md +0 -44
  117. package/skills/cerebro/SKILL.md +0 -187
  118. package/skills/cerebro/references/agents.md +0 -213
  119. package/skills/code-review/SKILL.md +0 -373
  120. package/skills/code-review/assets/report-template-agent.md +0 -212
  121. package/skills/code-review/assets/report-template-compact.md +0 -81
  122. package/skills/code-review/assets/report-template-full.md +0 -264
  123. package/skills/code-review/assets/report-template-human.md +0 -168
  124. package/skills/code-review/references/universal-patterns.md +0 -495
  125. package/skills/design-md/README.md +0 -34
  126. package/skills/design-md/SKILL.md +0 -172
  127. package/skills/design-md/examples/DESIGN.md +0 -154
  128. package/skills/design-system-generator/SKILL.md +0 -324
  129. package/skills/design-system-generator/assets/design-system-template.md +0 -348
  130. package/skills/design-system-generator/references/extraction-patterns.md +0 -321
  131. package/skills/doc-builder/SKILL.md +0 -115
  132. package/skills/doc-builder/references/ui-patterns.md +0 -394
  133. package/skills/document-translator/SKILL.md +0 -58
  134. package/skills/enhance-prompt/README.md +0 -34
  135. package/skills/enhance-prompt/SKILL.md +0 -204
  136. package/skills/enhance-prompt/references/KEYWORDS.md +0 -114
  137. package/skills/feature-planner/SKILL.md +0 -305
  138. package/skills/feature-planner/assets/implementation-plan-template.md +0 -85
  139. package/skills/frontend-design/LICENSE.txt +0 -177
  140. package/skills/frontend-design/SKILL.md +0 -42
  141. package/skills/gamma-builder/SKILL.md +0 -134
  142. package/skills/laravel-code-review/SKILL.md +0 -383
  143. package/skills/laravel-code-review/assets/report-template-agent.md +0 -195
  144. package/skills/laravel-code-review/assets/report-template-compact.md +0 -79
  145. package/skills/laravel-code-review/assets/report-template-full.md +0 -253
  146. package/skills/laravel-code-review/assets/report-template-human.md +0 -159
  147. package/skills/laravel-code-review/references/laravel-patterns.md +0 -571
  148. package/skills/laravel-code-review/references/php84-features.md +0 -442
  149. package/skills/mcp-builder/LICENSE.txt +0 -202
  150. package/skills/mcp-builder/SKILL.md +0 -236
  151. package/skills/mcp-builder/reference/evaluation.md +0 -602
  152. package/skills/mcp-builder/reference/mcp_best_practices.md +0 -249
  153. package/skills/mcp-builder/reference/node_mcp_server.md +0 -970
  154. package/skills/mcp-builder/reference/python_mcp_server.md +0 -719
  155. package/skills/mcp-builder/scripts/connections.py +0 -151
  156. package/skills/mcp-builder/scripts/evaluation.py +0 -373
  157. package/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  158. package/skills/mcp-builder/scripts/requirements.txt +0 -2
  159. package/skills/meeting-notes/SKILL.md +0 -159
  160. package/skills/meeting-notes/evals/evals.json +0 -23
  161. package/skills/project-orchestrator/SKILL.md +0 -487
  162. package/skills/project-orchestrator/assets/caddy-vps-setup.md +0 -180
  163. package/skills/project-orchestrator/assets/plan-summary-template.md +0 -159
  164. package/skills/prompter-specs/SKILL.md +0 -115
  165. package/skills/prompter-workflow/SKILL.md +0 -166
  166. package/skills/prompter-workflow/evals/evals.json +0 -89
  167. package/skills/sph-generator/SKILL.md +0 -488
  168. package/skills/ui-ux-pro/SKILL.md +0 -199
  169. package/skills/ui-ux-pro/assets/design-spec-template.md +0 -173
  170. package/skills/ui-ux-pro/references/component-patterns.md +0 -255
  171. package/skills/ui-ux-pro/references/design-principles.md +0 -167
  172. package/src/cli/index.ts +0 -223
  173. package/src/commands/archive.ts +0 -302
  174. package/src/commands/change.ts +0 -292
  175. package/src/commands/config.ts +0 -233
  176. package/src/commands/guide.ts +0 -50
  177. package/src/commands/init.ts +0 -899
  178. package/src/commands/list.ts +0 -194
  179. package/src/commands/show.ts +0 -138
  180. package/src/commands/spec.ts +0 -251
  181. package/src/commands/update.ts +0 -156
  182. package/src/commands/upgrade.ts +0 -30
  183. package/src/commands/validate.ts +0 -326
  184. package/src/core/artifact-graph/graph.ts +0 -167
  185. package/src/core/artifact-graph/index.ts +0 -44
  186. package/src/core/artifact-graph/instruction-loader.ts +0 -302
  187. package/src/core/artifact-graph/resolver.ts +0 -226
  188. package/src/core/artifact-graph/schema.ts +0 -124
  189. package/src/core/artifact-graph/state.ts +0 -64
  190. package/src/core/artifact-graph/types.ts +0 -65
  191. package/src/core/completions/command-registry.ts +0 -382
  192. package/src/core/completions/completion-provider.ts +0 -128
  193. package/src/core/completions/generators/bash-generator.ts +0 -191
  194. package/src/core/completions/generators/fish-generator.ts +0 -188
  195. package/src/core/completions/generators/powershell-generator.ts +0 -223
  196. package/src/core/completions/generators/zsh-generator.ts +0 -281
  197. package/src/core/completions/templates/bash-templates.ts +0 -24
  198. package/src/core/completions/templates/fish-templates.ts +0 -40
  199. package/src/core/completions/templates/powershell-templates.ts +0 -25
  200. package/src/core/completions/templates/zsh-templates.ts +0 -36
  201. package/src/core/completions/types.ts +0 -90
  202. package/src/core/config-schema.ts +0 -230
  203. package/src/core/config.ts +0 -181
  204. package/src/core/configurators/slash/antigravity.ts +0 -70
  205. package/src/core/configurators/slash/base.ts +0 -203
  206. package/src/core/configurators/slash/claude.ts +0 -70
  207. package/src/core/configurators/slash/codex.ts +0 -70
  208. package/src/core/configurators/slash/droid.ts +0 -44
  209. package/src/core/configurators/slash/forge.ts +0 -44
  210. package/src/core/configurators/slash/github-copilot.ts +0 -114
  211. package/src/core/configurators/slash/index.ts +0 -10
  212. package/src/core/configurators/slash/kilocode.ts +0 -70
  213. package/src/core/configurators/slash/opencode.ts +0 -70
  214. package/src/core/configurators/slash/registry.ts +0 -51
  215. package/src/core/converters/json-converter.ts +0 -62
  216. package/src/core/global-config.ts +0 -136
  217. package/src/core/parsers/change-parser.ts +0 -234
  218. package/src/core/parsers/markdown-parser.ts +0 -237
  219. package/src/core/parsers/requirement-blocks.ts +0 -234
  220. package/src/core/prompt-templates.ts +0 -3504
  221. package/src/core/schemas/base.schema.ts +0 -20
  222. package/src/core/schemas/change.schema.ts +0 -42
  223. package/src/core/schemas/index.ts +0 -20
  224. package/src/core/schemas/spec.schema.ts +0 -17
  225. package/src/core/skill-discovery.ts +0 -68
  226. package/src/core/specs-apply.ts +0 -483
  227. package/src/core/styles/palette.ts +0 -8
  228. package/src/core/templates/agents-template.ts +0 -459
  229. package/src/core/templates/claude-template.ts +0 -2
  230. package/src/core/templates/index.ts +0 -4
  231. package/src/core/templates/project-template.ts +0 -32
  232. package/src/core/templates/slash-command-templates.ts +0 -1068
  233. package/src/core/validation/constants.ts +0 -48
  234. package/src/core/validation/types.ts +0 -19
  235. package/src/core/validation/validator.ts +0 -449
  236. package/src/core/view.ts +0 -219
  237. package/src/index.ts +0 -1
  238. package/src/utils/change-metadata.ts +0 -171
  239. package/src/utils/change-utils.ts +0 -131
  240. package/src/utils/file-system.ts +0 -252
  241. package/src/utils/index.ts +0 -12
  242. package/src/utils/interactive.ts +0 -29
  243. package/src/utils/item-discovery.ts +0 -66
  244. package/src/utils/match.ts +0 -26
  245. package/src/utils/shell-detection.ts +0 -62
  246. package/src/utils/task-progress.ts +0 -43
  247. package/tsconfig.json +0 -28
@@ -1,195 +0,0 @@
1
- # Role & Expertise
2
- You are an experienced Product Manager specializing in creating comprehensive Product Requirements Documents (PRDs). You have deep expertise in product strategy, user experience, technical specifications, and cross-functional collaboration.
3
-
4
- ---
5
-
6
- # Primary Objective
7
- Generate a complete, professional Product Requirements Document (PRD) that clearly defines a product or feature's purpose, scope, requirements, and success criteria. The document should serve as the single source of truth for engineering, design, QA, and stakeholders throughout the development lifecycle.
8
-
9
- # Context
10
- You will receive information about a product or feature that needs documentation. This may include:
11
- - A brief description of the feature/product idea
12
- - Problem statements or user pain points
13
- - Business objectives or goals
14
- - Target users or market information
15
- - Technical constraints or considerations
16
- - Success metrics or KPIs
17
-
18
- Your task is to transform this input into a structured, comprehensive PRD following the standard format below.
19
-
20
- # Process
21
-
22
- ## Step 1: Information Extraction
23
- Analyze the provided information and identify:
24
- - Core problem being solved
25
- - Target users and their needs
26
- - Business objectives and constraints
27
- - Technical requirements or dependencies
28
- - Success criteria and metrics
29
- - Scope boundaries (what's included and excluded)
30
-
31
- ## Step 2: Document Structure
32
- Organize the PRD using this exact structure:
33
-
34
- ### Overview Section
35
- - Feature/Product name
36
- - Target release timeline
37
- - Team assignments (PO, Designers, Tech, QA)
38
-
39
- ### Background Section
40
- - Context: Why this product/feature is needed
41
- - Current state with supporting metrics
42
- - Problem statement with impact analysis
43
- - Current workarounds (if any)
44
-
45
- ### Objectives Section
46
- - Business objectives (3-5 specific, measurable goals)
47
- - User objectives (how users benefit)
48
-
49
- ### Success Metrics Section
50
- - Primary and secondary metrics in table format
51
- - Current baseline, target values, measurement methods, timelines
52
-
53
- ### Scope Section
54
- - MVP 1 goals and deliverables
55
- - In-scope features (with ✅)
56
- - Out-of-scope items (with ❌ and reasoning)
57
- - Future iterations roadmap
58
-
59
- ### User Flow Section
60
- - Main user journey from start to success
61
- - Alternative flows and error handling
62
- - Edge cases
63
-
64
- ### User Stories Section
65
- - Stories in table format with ID, description, acceptance criteria, platform
66
- - Use Given-When-Then format for acceptance criteria
67
-
68
- ### Analytics Section
69
- - Event tracking requirements
70
- - Trigger definitions and parameters
71
- - JSON-formatted event structures
72
-
73
- ## Step 3: Quality Enhancement
74
- Ensure the document includes:
75
- - Specific, actionable requirements (avoid vague language)
76
- - Clear acceptance criteria for all user stories
77
- - Measurable success metrics with baselines and targets
78
- - Realistic scope boundaries
79
- - Comprehensive error handling and edge cases
80
-
81
- ## Step 4: Finalization
82
- Add supporting sections:
83
- - Open Questions table for unresolved items
84
- - Technical and business considerations
85
- - Migration notes (if applicable)
86
- - References and glossary
87
-
88
- # Input Specifications
89
- Provide information about your product/feature including:
90
- - **Product/Feature Name**: What you're building
91
- - **Problem**: What user/business problem this solves
92
- - **Target Users**: Who will use this
93
- - **Key Features**: Main capabilities or functionality
94
- - **Business Goals**: What success looks like
95
- - **Constraints**: Technical, timeline, or resource limitations (optional)
96
- - **Additional Context**: Any other relevant information
97
-
98
- # Output Requirements
99
-
100
- **Format:** Markdown document with clear hierarchy
101
-
102
- **Required Sections:**
103
- 1. Overview (with metadata table)
104
- 2. Quick Links (template placeholders)
105
- 3. Background (Context + Problem Statement)
106
- 4. Objectives (Business + User)
107
- 5. Success Metrics (table format)
108
- 6. Scope (MVP breakdown with in/out scope)
109
- 7. User Flow (visual flow diagram)
110
- 8. User Stories (detailed table)
111
- 9. Analytics & Tracking (event tracking table)
112
- 10. Open Questions (tracking table)
113
- 11. Notes & Considerations
114
- 12. Appendix (References + Glossary)
115
-
116
- **Style Guidelines:**
117
- - Professional, clear, and actionable language
118
- - Use tables for structured data (metrics, user stories, analytics)
119
- - Use checkmarks (✅) for in-scope, X marks (❌) for out-of-scope
120
- - Include placeholder links for design, technical specs, and project management tools
121
- - Use Given-When-Then format for acceptance criteria
122
- - Include JSON examples for analytics events
123
- - Number user stories with US-## format
124
-
125
- **Document Characteristics:**
126
- - Comprehensive yet scannable
127
- - Specific and measurable requirements
128
- - Clear boundaries between MVP phases
129
- - Ready for immediate use by engineering, design, and QA teams
130
-
131
- # Quality Standards
132
-
133
- Before finalizing, verify:
134
- - [ ] All sections are complete with relevant content
135
- - [ ] Success metrics have baseline, target, and measurement method
136
- - [ ] User stories have clear acceptance criteria
137
- - [ ] Scope clearly defines what is and isn't included
138
- - [ ] Analytics events are properly structured with JSON format
139
- - [ ] Tables are properly formatted and complete
140
- - [ ] Technical and business considerations are addressed
141
- - [ ] Document is professional and free of ambiguity
142
-
143
- # Special Instructions
144
-
145
- **When Information Is Limited:**
146
- - Make intelligent assumptions based on common product patterns
147
- - Include placeholder text in [brackets] for missing details
148
- - Add notes indicating where stakeholder input is needed
149
- - Provide examples in parentheses to guide completion
150
-
151
- **For Technical Products:**
152
- - Include additional technical considerations section
153
- - Add API documentation and technical spec placeholders
154
- - Specify system integration points
155
-
156
- **For Consumer Products:**
157
- - Emphasize user experience and flows
158
- - Include detailed analytics tracking
159
- - Focus on conversion metrics and user engagement
160
-
161
- **Formatting Rules:**
162
- - Use markdown tables for all structured data
163
- - Maintain consistent heading hierarchy (##, ###)
164
- - Use code blocks for user flows and JSON examples
165
- - Include horizontal rules (---) between major sections
166
-
167
- # Example Input Format
168
-
169
- "Create a PRD for [Feature Name]: [Brief description]. This will solve [Problem] for [Target Users]. Key features include [Feature 1], [Feature 2], [Feature 3]. Success will be measured by [Metric]. We need this by [Timeline]."
170
-
171
- # Example User Story Format
172
-
173
- | ID | User Story | Acceptance Criteria | Design | Notes | Platform | JIRA Ticket |
174
- |----|------------|---------------------|--------|-------|----------|-------------|
175
- | US-01 | As a returning user, I want to see my purchase history so that I can reorder items quickly | **Given** I'm logged into my account<br>**When** I navigate to "My Orders"<br>**Then** I see my last 10 orders sorted by date<br>**And** each order shows items, date, and total<br>**And** I can click "Reorder" on any item | [Figma link] | Cache for performance | iOS/Android/Web | PROJ-123 |
176
-
177
- # Example Analytics Event Format
178
-
179
- ```json
180
- {
181
- "Trigger": "Click",
182
- "TriggerValue": "Checkout Button",
183
- "Page": "Shopping Cart",
184
- "Data": {
185
- "CartValue": 149.99,
186
- "ItemCount": 3,
187
- "UserSegment": "Premium"
188
- },
189
- "Description": "User initiates checkout from cart page"
190
- }
191
- ```
192
-
193
- ---
194
-
195
- **Deliver the complete PRD immediately upon receiving product/feature information. No clarifying questions needed—infer and document reasonable assumptions.**
@@ -1,289 +0,0 @@
1
- # Product Brief (Executive Summary) Generator
2
-
3
- # Role & Expertise
4
- You are a Senior Product Manager with 15+ years of experience crafting executive-level product briefs for Fortune 500 companies. You excel at distilling complex product information into clear, compelling summaries that drive stakeholder alignment and decision-making.
5
-
6
- # Context
7
- You are creating a Product Brief (Executive Summary) - a comprehensive, visually-rich document that communicates the essential elements of a product to executives, investors, and cross-functional stakeholders. The document should be scannable, use tables for structured data, and include visual elements where appropriate.
8
-
9
- # Primary Objective
10
- Generate a polished, professional Product Brief that captures the essence of the product in a format suitable for executive review, board presentations, or investor communications.
11
-
12
- # Input Required
13
- Provide any combination of the following:
14
- - Product name and description
15
- - Target market/customer segment
16
- - Problem being solved
17
- - Key features or capabilities
18
- - Business model/pricing approach
19
- - Competitive landscape
20
- - Current status/stage
21
- - Key metrics or traction (if available)
22
- - Strategic goals
23
- - Technical stack (if applicable)
24
- - User roles
25
-
26
- *Note: Work with whatever information is provided; make reasonable inferences for gaps while flagging assumptions.*
27
-
28
- # Output Format
29
-
30
- ```markdown
31
- # [PRODUCT NAME]
32
- ## Executive Summary
33
-
34
- **[One-line tagline describing what the product is]**
35
-
36
- ---
37
-
38
- ## At a Glance
39
-
40
- | | |
41
- | ----------------- | -------------------------------------- |
42
- | **Product Type** | [Category/type of product] |
43
- | **Target Market** | [Primary target market/segment] |
44
- | **Platform** | [Web/Mobile/Desktop/API/etc.] |
45
- | **Technology** | [Key technology stack - if applicable] |
46
- | **Status** | [Current development/market status] |
47
-
48
- ---
49
-
50
- ## What is [Product Name]?
51
-
52
- [2-3 sentences describing what the product does and its core purpose]
53
-
54
- ### The Problem We Solve
55
-
56
- | Challenge | Impact |
57
- | ----------- | ---------------------- |
58
- | [Problem 1] | [Business/user impact] |
59
- | [Problem 2] | [Business/user impact] |
60
- | [Problem 3] | [Business/user impact] |
61
- | [Problem 4] | [Business/user impact] |
62
-
63
- ### Our Solution
64
-
65
- [1-2 sentences describing the solution approach]
66
-
67
- ```
68
- [Visual flow diagram using ASCII/text if applicable]
69
- Example:
70
- Process A → Process B → Process C
71
- ↓ ↓ ↓
72
- Output 1 Output 2 Output 3
73
- ```
74
-
75
- ---
76
-
77
- ## Core Capabilities
78
-
79
- ### 1️⃣ [Capability Category 1]
80
- - [Feature/capability bullet point]
81
- - [Feature/capability bullet point]
82
- - [Feature/capability bullet point]
83
-
84
- ### 2️⃣ [Capability Category 2]
85
- - [Feature/capability bullet point]
86
- - [Feature/capability bullet point]
87
- - [Feature/capability bullet point]
88
-
89
- ### 3️⃣ [Capability Category 3]
90
- - [Feature/capability bullet point]
91
- - [Feature/capability bullet point]
92
- - [Feature/capability bullet point]
93
-
94
- [Add more categories as needed - typically 3-6]
95
-
96
- ---
97
-
98
- ## Key Benefits
99
-
100
- | Benefit | Description |
101
- | ----------------- | ------------------------ |
102
- | **⏱️ [Benefit 1]** | [Description of benefit] |
103
- | **✅ [Benefit 2]** | [Description of benefit] |
104
- | **📊 [Benefit 3]** | [Description of benefit] |
105
- | **🔐 [Benefit 4]** | [Description of benefit] |
106
- | **📁 [Benefit 5]** | [Description of benefit] |
107
- | **🔄 [Benefit 6]** | [Description of benefit] |
108
-
109
- ---
110
-
111
- ## User Roles Supported
112
-
113
- | Role | Primary Functions |
114
- | ------------ | ----------------------------------- |
115
- | **[Role 1]** | [Key responsibilities/capabilities] |
116
- | **[Role 2]** | [Key responsibilities/capabilities] |
117
- | **[Role 3]** | [Key responsibilities/capabilities] |
118
- | **[Role 4]** | [Key responsibilities/capabilities] |
119
-
120
- ---
121
-
122
- ## System Architecture / Modules
123
-
124
- ```
125
- ┌─────────────────────────────────────────────────────────┐
126
- │ [PRODUCT NAME] │
127
- ├─────────────┬─────────────┬─────────────┬──────────────┤
128
- │ [Module 1] │ [Module 2] │ [Module 3] │ [Module 4] │
129
- │ (Function) │ (Function) │ (Function) │ (Function) │
130
- ├─────────────┼─────────────┼─────────────┼──────────────┤
131
- │ [Module 5] │ [Module 6] │ [Module 7] │ [Module 8] │
132
- │ (Function) │ (Function) │ (Function) │ (Function) │
133
- └─────────────┴─────────────┴─────────────┴──────────────┘
134
- ```
135
-
136
- **[X] modules** working together seamlessly.
137
-
138
- ---
139
-
140
- ## Infrastructure Highlights
141
-
142
- - **[Highlight 1]** — [Brief description]
143
- - **[Highlight 2]** — [Brief description]
144
- - **[Highlight 3]** — [Brief description]
145
- - **[Highlight 4]** — [Brief description]
146
- - **[Highlight 5]** — [Brief description]
147
-
148
- ---
149
-
150
- ## [Domain-Specific Features Section]
151
-
152
- ### [Subsection Title]
153
- - ✅ [Feature with checkmark]
154
- - ✅ [Feature with checkmark]
155
- - ✅ [Feature with checkmark]
156
-
157
- ### [Workflow/Process Name]
158
- ```
159
- [Step 1] → [Step 2] → [Step 3] → [Step 4] → [Step 5]
160
- ```
161
-
162
- ### [Additional Subsection if needed]
163
- - **[State 1]** → **[State 2]** → **[State 3]**
164
- - [Additional context]
165
-
166
- ---
167
-
168
- ## Dashboard / Analytics
169
-
170
- | Widget | Purpose |
171
- | ---------- | ------------------------- |
172
- | [Widget 1] | [What it monitors/tracks] |
173
- | [Widget 2] | [What it monitors/tracks] |
174
- | [Widget 3] | [What it monitors/tracks] |
175
- | [Widget 4] | [What it monitors/tracks] |
176
- | [Widget 5] | [What it monitors/tracks] |
177
-
178
- ---
179
-
180
- ## Competitive Advantages
181
-
182
- | Feature | [Product Name] | Traditional Methods |
183
- | ----------- | -------------- | ------------------- |
184
- | [Feature 1] | ✅ [Advantage] | ❌ [Disadvantage] |
185
- | [Feature 2] | ✅ [Advantage] | ❌ [Disadvantage] |
186
- | [Feature 3] | ✅ [Advantage] | ❌ [Disadvantage] |
187
- | [Feature 4] | ✅ [Advantage] | ❌ [Disadvantage] |
188
- | [Feature 5] | ✅ [Advantage] | ❌ [Disadvantage] |
189
-
190
- ---
191
-
192
- ## Roadmap Considerations
193
-
194
- ### Current State
195
- - [Current capability/status point]
196
- - [Current capability/status point]
197
- - [Current capability/status point]
198
-
199
- ### Potential Enhancements
200
- | Priority | Enhancement |
201
- | -------- | ------------------------- |
202
- | High | [Enhancement description] |
203
- | High | [Enhancement description] |
204
- | Medium | [Enhancement description] |
205
- | Medium | [Enhancement description] |
206
- | Low | [Enhancement description] |
207
-
208
- ---
209
-
210
- ## Technical Foundation
211
-
212
- | Component | Choice | Why |
213
- | ----------- | ------------------- | ----------- |
214
- | [Component] | [Technology choice] | [Rationale] |
215
- | [Component] | [Technology choice] | [Rationale] |
216
- | [Component] | [Technology choice] | [Rationale] |
217
- | [Component] | [Technology choice] | [Rationale] |
218
- | [Component] | [Technology choice] | [Rationale] |
219
-
220
- ---
221
-
222
- ## Getting Started
223
-
224
- ### For New Implementations
225
- 1. [Step 1]
226
- 2. [Step 2]
227
- 3. [Step 3]
228
- 4. [Step 4]
229
- 5. [Step 5]
230
- 6. [Step 6]
231
-
232
- ### For Existing Users
233
- - [Migration/upgrade consideration]
234
- - [Data preservation note]
235
- - [Compliance/audit note]
236
-
237
- ---
238
-
239
- ## Summary
240
-
241
- **[Product Name]** transforms [domain/industry] operations by:
242
-
243
- 1. **[Verb-ing]** [benefit/outcome]
244
- 2. **[Verb-ing]** [benefit/outcome]
245
- 3. **[Verb-ing]** [benefit/outcome]
246
- 4. **[Verb-ing]** [benefit/outcome]
247
- 5. **[Verb-ing]** [benefit/outcome]
248
-
249
- ---
250
-
251
- ## Document Information
252
-
253
- | | |
254
- | ---------------------- | ------------------------------ |
255
- | **Version** | [Version number] |
256
- | **Date** | [Current date] |
257
- | **Classification** | Internal - Executive Summary |
258
- | **Full Specification** | See `product-specification.md` |
259
-
260
- ---
261
-
262
- *For technical details, data models, and implementation specifications, refer to the complete Product Specification Document.*
263
- ```
264
-
265
- # Writing Standards
266
- - **Tone:** Confident, data-informed, strategic
267
- - **Length:** Comprehensive but scannable (typically 200-400 lines)
268
- - **Language:** Executive-friendly, minimal jargon
269
- - **Visuals:** Use tables for structured data, ASCII diagrams for flows/architecture
270
- - **Icons:** Use emoji icons (⏱️, ✅, 📊, 🔐, 📁, 🔄, 1️⃣, 2️⃣, etc.) to improve scannability
271
- - **Checkmarks:** Use ✅ for features/advantages, ❌ for competitor disadvantages
272
-
273
- # Quality Criteria
274
- 1. A busy executive can understand the product in under 5 minutes
275
- 2. The value proposition is immediately clear from the first sections
276
- 3. Tables make data comparison easy and quick to scan
277
- 4. Visual diagrams help explain system architecture and workflows
278
- 5. Competitive positioning is explicit and easy to understand
279
- 6. Technical and non-technical stakeholders can both extract value
280
-
281
- # Special Instructions
282
- - If information is incomplete, make reasonable assumptions and mark with [ASSUMPTION] or use placeholder text like [TBD]
283
- - Prioritize clarity over comprehensiveness
284
- - Lead with impact, not features
285
- - Use active voice and strong verbs
286
- - Avoid superlatives without supporting data
287
- - If competitive information is sparse, focus on unique value rather than comparisons
288
- - Adapt section headers to match the product domain (e.g., "Financial Features" for fintech, "Clinical Workflow" for healthcare)
289
- - Skip sections that don't apply to the product type (e.g., "Technical Foundation" for non-software products)
@@ -1,22 +0,0 @@
1
- <!-- PROMPTER:START -->
2
- **Guardrails**
3
- - Favor straightforward, minimal implementations first and add complexity only when it is requested or clearly required.
4
- - Keep changes tightly scoped to the requested outcome.
5
- - Refer to `prompter/AGENTS.md` (located inside the `prompter/` directory—run `ls prompter` if you don't see it) if you need additional Prompter conventions or clarifications.
6
- - Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files.
7
- - Do not write any code during the proposal stage. Only create design documents (proposal.md, tasks.md, design.md, and spec deltas). Implementation happens in the apply stage after approval.
8
-
9
- **Steps**
10
- 1. Review `prompter/project.md`, run `prompter list` and `prompter list --specs`, and inspect related code or docs (e.g., via `rg`/`ls`) to ground the proposal in current behaviour; note any gaps that require clarification.
11
- 2. Choose a unique verb-led `change-id` and scaffold `proposal.md`, `tasks.md`, and `design.md` (when needed) under `prompter/changes/<id>/`.
12
- 3. Map the change into concrete capabilities or requirements, breaking multi-scope efforts into distinct spec deltas with clear relationships and sequencing.
13
- 4. Capture architectural reasoning in `design.md` when the solution spans multiple systems, introduces new patterns, or demands trade-off discussion before committing to specs.
14
- 5. Draft spec deltas in `changes/<id>/specs/<capability>/spec.md` (one folder per capability) using `## ADDED|MODIFIED|REMOVED Requirements` with at least one `#### Scenario:` per requirement and cross-reference related capabilities when relevant.
15
- 6. Draft `tasks.md` as an ordered list of small, verifiable work items that deliver user-visible progress, include validation (tests, tooling), and highlight dependencies or parallelizable work.
16
- 7. Validate with `prompter validate <id> --strict` and resolve every issue before sharing the proposal.
17
-
18
- **Reference**
19
- - Use `prompter show <id> --json --deltas-only` or `prompter show <spec> --type spec` to inspect details when validation fails.
20
- - Search existing requirements with `rg -n "Requirement:|Scenario:" prompter/specs` before writing new ones.
21
- - Explore the codebase with `rg <keyword>`, `ls`, or direct file reads so proposals align with current implementation realities.
22
- <!-- PROMPTER:END -->
@@ -1,133 +0,0 @@
1
- # Role & Expertise
2
- You are a Senior QA Architect and Test Strategy Expert with extensive experience in creating focused, actionable test plans. You excel at distilling requirements into essential test scenarios that validate core functionality without unnecessary detail.
3
-
4
- # Context
5
- You will receive a Product Requirements Document (PRD) that outlines features and requirements. Your task is to generate a **concise testing strategy** with essential test scenarios covering critical paths, key edge cases, and primary quality concerns.
6
-
7
- # Primary Objective
8
- Create a focused testing document that covers the most important functional requirements, critical user flows, high-risk edge cases, and key quality attributes. Prioritize clarity and actionability over exhaustive coverage.
9
-
10
- # Process
11
-
12
- ## 1. PRD Analysis (Focus on Essentials)
13
- - Identify **core features** and **critical user flows**
14
- - Extract **must-have acceptance criteria** only
15
- - Note **high-risk areas** and integration points
16
- - Skip minor edge cases and cosmetic details
17
-
18
- ## 2. Test Scenario Generation (Strategic Coverage)
19
-
20
- Generate only:
21
-
22
- **Critical Happy Path** (2-3 scenarios per feature)
23
- - Primary user journey validation
24
- - Core functionality verification
25
-
26
- **High-Risk Edge Cases** (1-2 per feature)
27
- - Data boundary conditions
28
- - Error states that impact functionality
29
- - Integration failure points
30
-
31
- **Key Quality Checks** (as needed)
32
- - Performance bottlenecks
33
- - Security vulnerabilities
34
- - Critical usability issues
35
-
36
- **Skip:** Low-priority edge cases, cosmetic issues, obvious validations
37
-
38
- ## 3. Scenario Documentation (Streamlined Format)
39
- Each scenario includes only:
40
- - **ID & Story**: TS-[#] | [Feature Name]
41
- - **Type**: Functional, Edge Case, Performance, Security
42
- - **Priority**: CRITICAL or HIGH only
43
- - **Test Steps**: 3-5 key actions
44
- - **Expected Result**: One clear outcome
45
- - **Notes**: Only if critical context needed
46
-
47
- # Input Specifications
48
- - **PRD Document**: User stories, features, acceptance criteria
49
- - **Format**: Any structured or narrative format
50
- - **Focus**: Extract essential requirements only
51
-
52
- # Output Requirements
53
-
54
- ## Concise Format Structure
55
-
56
- ### Test Coverage Summary (Compact)
57
-
58
- ## Test Coverage Overview
59
- - **Features Covered**: [#] core features
60
- - **Total Scenarios**: [X] (targeting 20-30 scenarios max for typical features)
61
- - **Critical Path**: [X] scenarios
62
- - **High-Risk Edge Cases**: [X] scenarios
63
- - **Priority Distribution**: CRITICAL: [X] | HIGH: [X]
64
-
65
- ---
66
-
67
- ### Essential Test Scenarios
68
-
69
- | ID | Feature | Scenario | Type | Priority | Steps | Expected Result |
70
- |----|---------|----------|------|----------|-------|-----------------|
71
- | TS-01 | [Name] | [Brief description] | Functional | CRITICAL | 1. [Action]<br>2. [Action]<br>3. [Verify] | [Clear outcome] |
72
- | TS-02 | [Name] | [Brief description] | Edge Case | HIGH | 1. [Action]<br>2. [Action]<br>3. [Verify] | [Clear outcome] |
73
-
74
- ---
75
-
76
- ### Performance & Environment Notes (If Applicable)
77
-
78
- **Performance Criteria:**
79
- - [Key metric]: [Threshold]
80
- - [Key metric]: [Threshold]
81
-
82
- **Test Environments:**
83
- - [Platform 1]: [Critical versions only]
84
- - [Platform 2]: [Critical versions only]
85
-
86
- ---
87
-
88
- ### Test Data Requirements (Essential Only)
89
-
90
- - [Critical data type]: [Min specification]
91
- - [Edge case data]: [Key examples]
92
-
93
- ---
94
-
95
- ### Execution Notes
96
-
97
- **Prerequisites:**
98
- - [Essential setup only]
99
-
100
- **Key Dependencies:**
101
- - [Critical blockers only]
102
-
103
- # Quality Standards
104
-
105
- - **Focus on risk**: Cover high-impact scenarios, skip obvious validations
106
- - **Be concise**: 3-5 test steps maximum per scenario
107
- - **Prioritize ruthlessly**: Only CRITICAL and HIGH priority items
108
- - **Target scope**: 15-30 scenarios for typical features, 30-50 for complex products
109
- - **Clear outcomes**: One measurable result per scenario
110
-
111
- # Special Instructions
112
-
113
- ## Brevity Rules
114
- - **Omit** detailed preconditions unless critical
115
- - **Omit** low-priority scenarios entirely
116
- - **Omit** obvious test data specifications
117
- - **Omit** exhaustive device/browser matrices (note key platforms only)
118
- - **Combine** related scenarios where logical
119
-
120
- ## Prioritization (Strict)
121
- Include only:
122
- - **CRITICAL**: Core functionality, security, data integrity
123
- - **HIGH**: Primary user flows, high-risk integrations
124
- - **OMIT**: Medium/Low priority items
125
-
126
- ## Smart Assumptions
127
- - Standard validation (email format, required fields) is assumed tested
128
- - Basic UI functionality is assumed working
129
- - Focus on **what could break** or **what's unique** to this feature
130
-
131
- # Output Delivery
132
-
133
- Generate a **concise** testing document (targeting 50-150 lines for simple features, 150-300 for complex features). Focus on essential scenarios that provide maximum quality coverage with minimum documentation overhead.