autodoc-agent-kit 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 (187) hide show
  1. package/README.md +362 -0
  2. package/package.json +49 -0
  3. package/src/core/module.yaml +5 -0
  4. package/src/modules/design/module.yaml +9 -0
  5. package/src/modules/design/skills/brand-guidelines/LICENSE.txt +202 -0
  6. package/src/modules/design/skills/brand-guidelines/SKILL.md +73 -0
  7. package/src/modules/design/skills/frontend-design/LICENSE.txt +177 -0
  8. package/src/modules/design/skills/frontend-design/SKILL.md +42 -0
  9. package/src/modules/design/skills/web-artifacts-builder/SKILL.md +229 -0
  10. package/src/modules/devops/module.yaml +10 -0
  11. package/src/modules/devops/skills/devops-helper/SKILL.md +60 -0
  12. package/src/modules/devops/skills/k8s-helm/SKILL.md +360 -0
  13. package/src/modules/devops/skills/monitoring-observability/SKILL.md +240 -0
  14. package/src/modules/devops/skills/security-auditor/SKILL.md +105 -0
  15. package/src/modules/engineering/module.yaml +22 -0
  16. package/src/modules/engineering/skills/ai-sdk/SKILL.md +314 -0
  17. package/src/modules/engineering/skills/api-designer/SKILL.md +77 -0
  18. package/src/modules/engineering/skills/code-reviewer/SKILL.md +71 -0
  19. package/src/modules/engineering/skills/db-architect/SKILL.md +50 -0
  20. package/src/modules/engineering/skills/debugger/SKILL.md +59 -0
  21. package/src/modules/engineering/skills/docs-generator/SKILL.md +51 -0
  22. package/src/modules/engineering/skills/git-workflow/SKILL.md +258 -0
  23. package/src/modules/engineering/skills/mcp-builder/LICENSE.txt +202 -0
  24. package/src/modules/engineering/skills/mcp-builder/SKILL.md +236 -0
  25. package/src/modules/engineering/skills/mcp-builder/reference/evaluation.md +602 -0
  26. package/src/modules/engineering/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  27. package/src/modules/engineering/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  28. package/src/modules/engineering/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  29. package/src/modules/engineering/skills/mcp-builder/scripts/connections.py +151 -0
  30. package/src/modules/engineering/skills/mcp-builder/scripts/evaluation.py +373 -0
  31. package/src/modules/engineering/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  32. package/src/modules/engineering/skills/mcp-builder/scripts/requirements.txt +2 -0
  33. package/src/modules/engineering/skills/nextjs-15/SKILL.md +312 -0
  34. package/src/modules/engineering/skills/perf-optimizer/SKILL.md +60 -0
  35. package/src/modules/engineering/skills/react-19/SKILL.md +257 -0
  36. package/src/modules/engineering/skills/refactorer/SKILL.md +60 -0
  37. package/src/modules/engineering/skills/skill-authoring-workflow/SKILL.md +183 -0
  38. package/src/modules/engineering/skills/skill-creator/LICENSE.txt +202 -0
  39. package/src/modules/engineering/skills/skill-creator/SKILL.md +356 -0
  40. package/src/modules/engineering/skills/skill-creator/references/output-patterns.md +82 -0
  41. package/src/modules/engineering/skills/skill-creator/references/workflows.md +28 -0
  42. package/src/modules/engineering/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-313.pyc +0 -0
  43. package/src/modules/engineering/skills/skill-creator/scripts/init_skill.py +303 -0
  44. package/src/modules/engineering/skills/skill-creator/scripts/package_skill.py +110 -0
  45. package/src/modules/engineering/skills/skill-creator/scripts/quick_validate.py +95 -0
  46. package/src/modules/engineering/skills/typescript/SKILL.md +231 -0
  47. package/src/modules/engineering/skills/zod-4/SKILL.md +223 -0
  48. package/src/modules/product/module.yaml +51 -0
  49. package/src/modules/product/skills/acquisition-channel-advisor/SKILL.md +643 -0
  50. package/src/modules/product/skills/acquisition-channel-advisor/examples/conversation-flow.md +531 -0
  51. package/src/modules/product/skills/ai-shaped-readiness-advisor/SKILL.md +923 -0
  52. package/src/modules/product/skills/altitude-horizon-framework/SKILL.md +250 -0
  53. package/src/modules/product/skills/altitude-horizon-framework/examples/sample.md +85 -0
  54. package/src/modules/product/skills/business-health-diagnostic/SKILL.md +783 -0
  55. package/src/modules/product/skills/company-research/SKILL.md +385 -0
  56. package/src/modules/product/skills/company-research/examples/sample.md +164 -0
  57. package/src/modules/product/skills/company-research/template.md +60 -0
  58. package/src/modules/product/skills/context-engineering-advisor/SKILL.md +763 -0
  59. package/src/modules/product/skills/customer-journey-map/SKILL.md +346 -0
  60. package/src/modules/product/skills/customer-journey-map/examples/meta-product-manager-skills.md +40 -0
  61. package/src/modules/product/skills/customer-journey-map/examples/sample.md +33 -0
  62. package/src/modules/product/skills/customer-journey-map/template.md +28 -0
  63. package/src/modules/product/skills/customer-journey-mapping-workshop/SKILL.md +523 -0
  64. package/src/modules/product/skills/director-readiness-advisor/SKILL.md +351 -0
  65. package/src/modules/product/skills/director-readiness-advisor/examples/conversation-flow.md +96 -0
  66. package/src/modules/product/skills/discovery-interview-prep/SKILL.md +410 -0
  67. package/src/modules/product/skills/discovery-process/SKILL.md +504 -0
  68. package/src/modules/product/skills/discovery-process/examples/sample.md +60 -0
  69. package/src/modules/product/skills/discovery-process/template.md +39 -0
  70. package/src/modules/product/skills/eol-message/SKILL.md +348 -0
  71. package/src/modules/product/skills/eol-message/examples/sample.md +87 -0
  72. package/src/modules/product/skills/eol-message/template.md +74 -0
  73. package/src/modules/product/skills/epic-breakdown-advisor/SKILL.md +665 -0
  74. package/src/modules/product/skills/epic-hypothesis/SKILL.md +277 -0
  75. package/src/modules/product/skills/epic-hypothesis/examples/sample.md +104 -0
  76. package/src/modules/product/skills/epic-hypothesis/template.md +30 -0
  77. package/src/modules/product/skills/executive-onboarding-playbook/SKILL.md +280 -0
  78. package/src/modules/product/skills/executive-onboarding-playbook/examples/sample.md +116 -0
  79. package/src/modules/product/skills/feature-investment-advisor/SKILL.md +639 -0
  80. package/src/modules/product/skills/feature-investment-advisor/examples/conversation-flow.md +538 -0
  81. package/src/modules/product/skills/finance-based-pricing-advisor/SKILL.md +763 -0
  82. package/src/modules/product/skills/finance-metrics-quickref/SKILL.md +309 -0
  83. package/src/modules/product/skills/jobs-to-be-done/SKILL.md +370 -0
  84. package/src/modules/product/skills/jobs-to-be-done/examples/sample.md +80 -0
  85. package/src/modules/product/skills/jobs-to-be-done/template.md +65 -0
  86. package/src/modules/product/skills/lean-ux-canvas/SKILL.md +561 -0
  87. package/src/modules/product/skills/lean-ux-canvas/examples/sample.md +88 -0
  88. package/src/modules/product/skills/lean-ux-canvas/template.md +32 -0
  89. package/src/modules/product/skills/opportunity-solution-tree/SKILL.md +420 -0
  90. package/src/modules/product/skills/opportunity-solution-tree/examples/sample.md +104 -0
  91. package/src/modules/product/skills/opportunity-solution-tree/template.md +33 -0
  92. package/src/modules/product/skills/pestel-analysis/SKILL.md +376 -0
  93. package/src/modules/product/skills/pestel-analysis/examples/sample.md +143 -0
  94. package/src/modules/product/skills/pestel-analysis/template.md +53 -0
  95. package/src/modules/product/skills/pol-probe/SKILL.md +217 -0
  96. package/src/modules/product/skills/pol-probe/examples/sample.md +136 -0
  97. package/src/modules/product/skills/pol-probe/template.md +59 -0
  98. package/src/modules/product/skills/pol-probe-advisor/SKILL.md +492 -0
  99. package/src/modules/product/skills/positioning-statement/SKILL.md +230 -0
  100. package/src/modules/product/skills/positioning-statement/examples/sample.md +51 -0
  101. package/src/modules/product/skills/positioning-statement/template.md +25 -0
  102. package/src/modules/product/skills/positioning-workshop/SKILL.md +424 -0
  103. package/src/modules/product/skills/prd-development/SKILL.md +655 -0
  104. package/src/modules/product/skills/prd-development/examples/sample.md +43 -0
  105. package/src/modules/product/skills/prd-development/template.md +55 -0
  106. package/src/modules/product/skills/press-release/SKILL.md +269 -0
  107. package/src/modules/product/skills/press-release/examples/sample.md +73 -0
  108. package/src/modules/product/skills/press-release/template.md +39 -0
  109. package/src/modules/product/skills/prioritization-advisor/SKILL.md +448 -0
  110. package/src/modules/product/skills/problem-framing-canvas/SKILL.md +466 -0
  111. package/src/modules/product/skills/problem-framing-canvas/examples/sample.md +58 -0
  112. package/src/modules/product/skills/problem-framing-canvas/template.md +22 -0
  113. package/src/modules/product/skills/problem-statement/SKILL.md +246 -0
  114. package/src/modules/product/skills/problem-statement/examples/sample.md +82 -0
  115. package/src/modules/product/skills/problem-statement/template.md +37 -0
  116. package/src/modules/product/skills/product-strategy-session/SKILL.md +426 -0
  117. package/src/modules/product/skills/product-strategy-session/examples/sample.md +67 -0
  118. package/src/modules/product/skills/product-strategy-session/template.md +38 -0
  119. package/src/modules/product/skills/proto-persona/SKILL.md +326 -0
  120. package/src/modules/product/skills/proto-persona/examples/sample.md +97 -0
  121. package/src/modules/product/skills/proto-persona/template.md +45 -0
  122. package/src/modules/product/skills/recommendation-canvas/SKILL.md +375 -0
  123. package/src/modules/product/skills/recommendation-canvas/examples/sample.md +94 -0
  124. package/src/modules/product/skills/recommendation-canvas/template.md +86 -0
  125. package/src/modules/product/skills/roadmap-planning/SKILL.md +505 -0
  126. package/src/modules/product/skills/roadmap-planning/examples/sample.md +62 -0
  127. package/src/modules/product/skills/roadmap-planning/template.md +30 -0
  128. package/src/modules/product/skills/saas-economics-efficiency-metrics/SKILL.md +694 -0
  129. package/src/modules/product/skills/saas-economics-efficiency-metrics/examples/cash-trap.md +365 -0
  130. package/src/modules/product/skills/saas-economics-efficiency-metrics/examples/healthy-unit-economics.md +279 -0
  131. package/src/modules/product/skills/saas-economics-efficiency-metrics/template.md +263 -0
  132. package/src/modules/product/skills/saas-revenue-growth-metrics/SKILL.md +630 -0
  133. package/src/modules/product/skills/saas-revenue-growth-metrics/examples/healthy-saas.md +131 -0
  134. package/src/modules/product/skills/saas-revenue-growth-metrics/examples/warning-signs.md +229 -0
  135. package/src/modules/product/skills/saas-revenue-growth-metrics/template.md +192 -0
  136. package/src/modules/product/skills/storyboard/SKILL.md +252 -0
  137. package/src/modules/product/skills/storyboard/examples/sample.md +71 -0
  138. package/src/modules/product/skills/storyboard/template.md +41 -0
  139. package/src/modules/product/skills/tam-sam-som-calculator/SKILL.md +392 -0
  140. package/src/modules/product/skills/tam-sam-som-calculator/examples/sample.md +142 -0
  141. package/src/modules/product/skills/tam-sam-som-calculator/scripts/market-sizing.py +95 -0
  142. package/src/modules/product/skills/tam-sam-som-calculator/template.md +35 -0
  143. package/src/modules/product/skills/user-story/SKILL.md +272 -0
  144. package/src/modules/product/skills/user-story/examples/sample.md +110 -0
  145. package/src/modules/product/skills/user-story/scripts/user-story-template.py +65 -0
  146. package/src/modules/product/skills/user-story/template.md +32 -0
  147. package/src/modules/product/skills/user-story-mapping/SKILL.md +285 -0
  148. package/src/modules/product/skills/user-story-mapping/examples/sample.md +77 -0
  149. package/src/modules/product/skills/user-story-mapping/template.md +41 -0
  150. package/src/modules/product/skills/user-story-mapping-workshop/SKILL.md +477 -0
  151. package/src/modules/product/skills/user-story-mapping-workshop/template.md +28 -0
  152. package/src/modules/product/skills/user-story-splitting/SKILL.md +303 -0
  153. package/src/modules/product/skills/user-story-splitting/examples/sample.md +147 -0
  154. package/src/modules/product/skills/user-story-splitting/template.md +37 -0
  155. package/src/modules/product/skills/vp-cpo-readiness-advisor/SKILL.md +409 -0
  156. package/src/modules/product/skills/vp-cpo-readiness-advisor/examples/conversation-flow.md +95 -0
  157. package/src/modules/product/skills/workshop-facilitation/SKILL.md +87 -0
  158. package/src/modules/productivity/module.yaml +9 -0
  159. package/src/modules/productivity/skills/doc-coauthoring/SKILL.md +375 -0
  160. package/src/modules/productivity/skills/internal-comms/LICENSE.txt +202 -0
  161. package/src/modules/productivity/skills/internal-comms/SKILL.md +32 -0
  162. package/src/modules/productivity/skills/internal-comms/examples/3p-updates.md +47 -0
  163. package/src/modules/productivity/skills/internal-comms/examples/company-newsletter.md +65 -0
  164. package/src/modules/productivity/skills/internal-comms/examples/faq-answers.md +30 -0
  165. package/src/modules/productivity/skills/internal-comms/examples/general-comms.md +16 -0
  166. package/src/modules/productivity/skills/technical-writing/SKILL.md +266 -0
  167. package/src/modules/qa/module.yaml +9 -0
  168. package/src/modules/qa/skills/test-strategy/SKILL.md +263 -0
  169. package/src/modules/qa/skills/test-writer/SKILL.md +57 -0
  170. package/src/modules/qa/skills/webapp-testing/LICENSE.txt +202 -0
  171. package/src/modules/qa/skills/webapp-testing/SKILL.md +96 -0
  172. package/src/modules/qa/skills/webapp-testing/examples/console_logging.py +35 -0
  173. package/src/modules/qa/skills/webapp-testing/examples/element_discovery.py +40 -0
  174. package/src/modules/qa/skills/webapp-testing/examples/static_html_automation.py +33 -0
  175. package/src/modules/qa/skills/webapp-testing/scripts/with_server.py +106 -0
  176. package/tools/autodoc-npx-wrapper.js +34 -0
  177. package/tools/cli/autodoc-cli.js +55 -0
  178. package/tools/cli/commands/install.js +36 -0
  179. package/tools/cli/commands/status.js +35 -0
  180. package/tools/cli/commands/uninstall.js +60 -0
  181. package/tools/cli/installers/lib/core/installer.js +164 -0
  182. package/tools/cli/installers/lib/core/manifest.js +49 -0
  183. package/tools/cli/installers/lib/ide/manager.js +112 -0
  184. package/tools/cli/installers/lib/ide/platform-codes.yaml +207 -0
  185. package/tools/cli/installers/lib/modules/manager.js +59 -0
  186. package/tools/cli/lib/ui.js +199 -0
  187. package/tools/cli/lib/welcome.js +82 -0
@@ -0,0 +1,655 @@
1
+ ---
2
+ name: prd-development
3
+ description: Build a structured PRD that connects problem, users, solution, and success criteria. Use when turning discovery notes into an engineering-ready document for a major initiative.
4
+ intent: >-
5
+ Guide product managers through structured PRD (Product Requirements Document) creation by orchestrating problem framing, user research synthesis, solution definition, and success criteria into a cohesive document. Use this to move from scattered notes and Slack threads to a clear, comprehensive PRD that aligns stakeholders, provides engineering context, and serves as a source of truth—avoiding ambiguity, scope creep, and the "build what's in my head" trap.
6
+ type: workflow
7
+ theme: pm-artifacts
8
+ best_for:
9
+ - "Writing a complete PRD from scratch"
10
+ - "Structuring product requirements for an engineering handoff"
11
+ - "Documenting a major new feature before development begins"
12
+ scenarios:
13
+ - "I need a PRD for a new AI-powered recommendation feature in our e-commerce platform"
14
+ - "I've completed a discovery sprint and need to turn the findings into a PRD my engineers can act on"
15
+ estimated_time: "60-120 min"
16
+ ---
17
+
18
+
19
+ ## Purpose
20
+ Guide product managers through structured PRD (Product Requirements Document) creation by orchestrating problem framing, user research synthesis, solution definition, and success criteria into a cohesive document. Use this to move from scattered notes and Slack threads to a clear, comprehensive PRD that aligns stakeholders, provides engineering context, and serves as a source of truth—avoiding ambiguity, scope creep, and the "build what's in my head" trap.
21
+
22
+ This is not a waterfall spec—it's a living document that captures strategic context, customer problems, proposed solutions, and success criteria, evolving as you learn through delivery.
23
+
24
+ ## Key Concepts
25
+
26
+ ### What is a PRD?
27
+
28
+ A PRD (Product Requirements Document) is a structured document that answers:
29
+ 1. **What problem are we solving?** (Problem statement)
30
+ 2. **For whom?** (Target users/personas)
31
+ 3. **Why now?** (Strategic context, business case)
32
+ 4. **What are we building?** (Solution overview)
33
+ 5. **How will we measure success?** (Metrics, success criteria)
34
+ 6. **What are the requirements?** (User stories, acceptance criteria, constraints)
35
+ 7. **What are we NOT building?** (Out of scope)
36
+
37
+ ### PRD Structure (Standard Template)
38
+
39
+ ```markdown
40
+ # [Feature/Product Name] PRD
41
+
42
+ ## 1. Executive Summary
43
+ - One-paragraph overview (problem + solution + impact)
44
+
45
+ ## 2. Problem Statement
46
+ - Who has this problem?
47
+ - What is the problem?
48
+ - Why is it painful?
49
+ - Evidence (customer quotes, data, research)
50
+
51
+ ## 3. Target Users & Personas
52
+ - Primary persona(s)
53
+ - Secondary persona(s)
54
+ - Jobs-to-be-done
55
+
56
+ ## 4. Strategic Context
57
+ - Business goals (OKRs)
58
+ - Market opportunity (TAM/SAM/SOM)
59
+ - Competitive landscape
60
+ - Why now?
61
+
62
+ ## 5. Solution Overview
63
+ - High-level description
64
+ - User flows or wireframes
65
+ - Key features
66
+
67
+ ## 6. Success Metrics
68
+ - Primary metric (what we're optimizing for)
69
+ - Secondary metrics
70
+ - Targets (current → goal)
71
+
72
+ ## 7. User Stories & Requirements
73
+ - Epic hypothesis
74
+ - User stories with acceptance criteria
75
+ - Edge cases, constraints
76
+
77
+ ## 8. Out of Scope
78
+ - What we're NOT building (and why)
79
+
80
+ ## 9. Dependencies & Risks
81
+ - Technical dependencies
82
+ - External dependencies (integrations, partnerships)
83
+ - Risks and mitigations
84
+
85
+ ## 10. Open Questions
86
+ - Unresolved decisions
87
+ - Areas requiring discovery
88
+ ```
89
+
90
+ ### Why This Works
91
+ - **Alignment:** Ensures everyone (PM, design, eng, stakeholders) understands the "why"
92
+ - **Context preservation:** Captures research and strategic rationale for future reference
93
+ - **Decision log:** Documents what's in scope, out of scope, and why
94
+ - **Execution clarity:** Provides engineering with user stories and acceptance criteria
95
+
96
+ ### Anti-Patterns (What This Is NOT)
97
+ - **Not a detailed spec:** PRDs frame the problem and solution; they don't specify UI pixel-by-pixel
98
+ - **Not waterfall:** PRDs evolve as you learn; they're not frozen contracts
99
+ - **Not a substitute for collaboration:** PRDs complement conversation, not replace it
100
+
101
+ ### When to Use This
102
+ - Starting a major feature or product initiative
103
+ - Aligning cross-functional teams on scope and requirements
104
+ - Documenting decisions for future reference
105
+ - Onboarding new team members to a project
106
+
107
+ ### When NOT to Use This
108
+ - For small bug fixes or trivial features (overkill)
109
+ - When problem and solution are already clear and aligned (just write user stories)
110
+ - For continuous discovery experiments (use Lean UX Canvas instead)
111
+
112
+ ---
113
+
114
+ ### Facilitation Source of Truth
115
+
116
+ When running this workflow as a guided conversation, use [`workshop-facilitation`](../workshop-facilitation/SKILL.md) as the interaction protocol.
117
+
118
+ It defines:
119
+ - session heads-up + entry mode (Guided, Context dump, Best guess)
120
+ - one-question turns with plain-language prompts
121
+ - progress labels (for example, Context Qx/8 and Scoring Qx/5)
122
+ - interruption handling and pause/resume behavior
123
+ - numbered recommendations at decision points
124
+ - quick-select numbered response options for regular questions (include `Other (specify)` when useful)
125
+
126
+ This file defines the workflow sequence and domain-specific outputs. If there is a conflict, follow this file's workflow logic.
127
+
128
+ ## Application
129
+
130
+ Use `template.md` for the full fill-in structure.
131
+
132
+ This workflow orchestrates **8 phases** over **2-4 days**, using multiple component and interactive skills.
133
+
134
+ ---
135
+
136
+ ## Phase 1: Executive Summary (30 minutes)
137
+
138
+ **Goal:** Write a one-paragraph overview for skimmers.
139
+
140
+ ### Activities
141
+
142
+ **1. Draft Executive Summary**
143
+ - **Format:** "We're building [solution] for [persona] to solve [problem], which will result in [impact]."
144
+ - **Example:**
145
+ > "We're building a guided onboarding checklist for non-technical small business owners to solve the problem of 60% drop-off in the first 24 hours due to lack of guidance, which will increase activation rate from 40% to 60% and reduce churn by 10%."
146
+
147
+ - **Participants:** PM
148
+ - **Duration:** 30 minutes
149
+ - **Output:** One-paragraph summary
150
+
151
+ **Tip:** Write this first (forces clarity), but refine it last (after other sections are complete).
152
+
153
+ ---
154
+
155
+ ## Phase 2: Problem Statement (60 minutes)
156
+
157
+ **Goal:** Frame the customer problem with evidence.
158
+
159
+ ### Activities
160
+
161
+ **1. Write Problem Statement**
162
+ - **Use:** `skills/problem-statement/SKILL.md` (component)
163
+ - **Input:** Discovery insights from `skills/discovery-process/SKILL.md` or `skills/problem-framing-canvas/SKILL.md`
164
+ - **Participants:** PM
165
+ - **Duration:** 30 minutes
166
+ - **Output:** Structured problem statement
167
+
168
+ **Example Problem Statement:**
169
+
170
+ ```markdown
171
+ ## 2. Problem Statement
172
+
173
+ ### Who has this problem?
174
+ Non-technical small business owners (solopreneurs, 1-10 employees) who sign up for our SaaS product.
175
+
176
+ ### What is the problem?
177
+ 60% of users abandon onboarding within the first 24 hours because they don't know what to do first. They see an empty dashboard with no guidance, get overwhelmed by options, and leave.
178
+
179
+ ### Why is it painful?
180
+ - **User impact:** Wastes time (30-60 min trying to figure out product), never reaches "aha moment," churns before experiencing value
181
+ - **Business impact:** 60% activation rate → high churn, low LTV, poor word-of-mouth
182
+
183
+ ### Evidence
184
+ - **Interviews:** 8/10 churned users said "I didn't know what to do first" (discovery interviews, Feb 2026)
185
+ - **Analytics:** 60% of signups complete 0 actions within 24 hours (Mixpanel, Jan 2026)
186
+ - **Support tickets:** "How do I get started?" is #1 support question (350 tickets/month)
187
+ - **Customer quote:** "I logged in, saw an empty dashboard, and thought 'now what?' I gave up and went back to my spreadsheet."
188
+ ```
189
+
190
+ **2. Add Supporting Context (Optional)**
191
+ - **Customer journey map:** If problem spans multiple touchpoints
192
+ - **Use:** `skills/customer-journey-mapping-workshop/SKILL.md` output
193
+ - **Jobs-to-be-done:** If motivations are key
194
+ - **Use:** `skills/jobs-to-be-done/SKILL.md` output
195
+
196
+ ### Outputs from Phase 2
197
+
198
+ - **Problem statement:** Who, what, why, evidence
199
+ - **Supporting artifacts:** Journey map, JTBD (if relevant)
200
+
201
+ ---
202
+
203
+ ## Phase 3: Target Users & Personas (30 minutes)
204
+
205
+ **Goal:** Define who you're building for.
206
+
207
+ ### Activities
208
+
209
+ **1. Document Personas**
210
+ - **Use:** `skills/proto-persona/SKILL.md` (component) output
211
+ - **Participants:** PM
212
+ - **Duration:** 30 minutes
213
+ - **Format:** Include persona name, role, goals, pain points, behaviors
214
+
215
+ **Example:**
216
+
217
+ ```markdown
218
+ ## 3. Target Users & Personas
219
+
220
+ ### Primary Persona: Solo Entrepreneur Sam
221
+ - **Role:** Freelance consultant, solopreneur
222
+ - **Company size:** 1 person (no IT support)
223
+ - **Tech savviness:** Low (uses email, spreadsheets, basic SaaS)
224
+ - **Goals:** Get value from software fast without technical expertise
225
+ - **Pain points:** Overwhelmed by complex UIs, no time to watch tutorials, needs immediate value
226
+ - **Current behavior:** Signs up for products, tries for 1 day, churns if not immediately useful
227
+
228
+ ### Secondary Persona: Small Business Owner (5-10 employees)
229
+ - **Role:** Owner-operator, manages team
230
+ - **Needs:** Onboard team members quickly
231
+ - **Differs from primary:** More tolerant of complexity, willing to invest setup time
232
+ ```
233
+
234
+ ### Outputs from Phase 3
235
+
236
+ - **Primary persona:** Detailed profile
237
+ - **Secondary personas:** (if applicable)
238
+
239
+ ---
240
+
241
+ ## Phase 4: Strategic Context (45 minutes)
242
+
243
+ **Goal:** Explain why this matters to the business and why now.
244
+
245
+ ### Activities
246
+
247
+ **1. Document Business Goals**
248
+ - **Source:** Company OKRs, strategic memos, roadmap
249
+ - **Format:** Link feature to business outcomes
250
+ - **Example:**
251
+ > "This initiative supports our Q1 OKR: Reduce churn from 15% to 8%. Improving onboarding activation directly impacts retention."
252
+
253
+ **2. Size Market Opportunity (Optional)**
254
+ - **Use:** `skills/tam-sam-som-calculator/SKILL.md` (interactive) output
255
+ - **When:** For major initiatives, new products, exec presentations
256
+ - **Example:**
257
+ > "TAM: 50M small businesses globally. SAM: 5M using SaaS tools. SOM: 500K solopreneurs in our target segments. Improving onboarding could unlock 30% of SAM (1.5M potential customers)."
258
+
259
+ **3. Document Competitive Landscape (Optional)**
260
+ - **Source:** Competitor research, G2/Capterra reviews
261
+ - **Example:**
262
+ > "Competitors (Competitor A, B) have guided onboarding. Our lack of guidance is cited as a churn reason in exit surveys."
263
+
264
+ **4. Explain "Why Now?"**
265
+ - **Rationale:** Why prioritize this now vs. later?
266
+ - **Example:**
267
+ > "Churn spiked 15% in Q4. Onboarding is the #1 driver (60% churn in first 30 days). Fixing this is critical to hitting retention OKR."
268
+
269
+ ### Outputs from Phase 4
270
+
271
+ - **Business goals:** OKRs or strategic initiatives
272
+ - **Market opportunity:** TAM/SAM/SOM (if applicable)
273
+ - **Competitive context:** How competitors address this
274
+ - **Why now:** Urgency rationale
275
+
276
+ ---
277
+
278
+ ## Phase 5: Solution Overview (60 minutes)
279
+
280
+ **Goal:** Describe what you're building (high-level, not detailed spec).
281
+
282
+ ### Activities
283
+
284
+ **1. Write Solution Description**
285
+ - **Format:** High-level overview, 2-3 paragraphs
286
+ - **Example:**
287
+
288
+ ```markdown
289
+ ## 5. Solution Overview
290
+
291
+ We're building a **guided onboarding checklist** that walks new users through core workflows step-by-step when they first log in.
292
+
293
+ **How it works:**
294
+ 1. User signs up and logs in for the first time
295
+ 2. Modal appears: "Let's get you set up! Complete these 3 steps to get started."
296
+ 3. Checklist shows:
297
+ - ☐ Create your first project
298
+ - ☐ Invite a teammate (optional)
299
+ - ☐ Complete a sample task
300
+ 4. As user completes each step, checklist updates with checkmarks
301
+ 5. After completion, celebration modal: "You're all set! Here's what to do next."
302
+
303
+ **Key features:**
304
+ - Minimal: Only 3 core steps (not overwhelming)
305
+ - Dismissible: Users can skip if they prefer to explore
306
+ - Progress tracking: Visual progress bar (1/3, 2/3, 3/3)
307
+ - Celebration: Positive reinforcement when complete
308
+ ```
309
+
310
+ **2. Add User Flows or Wireframes (Optional)**
311
+ - **Use:** Design tools (Figma, Sketch), or hand-drawn sketches
312
+ - **When:** For complex features requiring visual explanation
313
+ - **Output:** Embedded in PRD or linked
314
+
315
+ **3. Reference Story Map (Optional)**
316
+ - **Use:** `skills/user-story-mapping-workshop/SKILL.md` output
317
+ - **When:** For complex features with multiple release slices
318
+ - **Output:** Link to story map
319
+
320
+ ### Outputs from Phase 5
321
+
322
+ - **Solution description:** High-level overview
323
+ - **User flows/wireframes:** (if applicable)
324
+ - **Story map:** (if applicable)
325
+
326
+ ---
327
+
328
+ ## Phase 6: Success Metrics (30 minutes)
329
+
330
+ **Goal:** Define how you'll measure success.
331
+
332
+ ### Activities
333
+
334
+ **1. Define Primary Metric**
335
+ - **Question:** What is the ONE metric this feature must move?
336
+ - **Example:** "Activation rate (% of users completing first action within 24 hours)"
337
+ - **Target:** "Increase from 40% to 60%"
338
+
339
+ **2. Define Secondary Metrics**
340
+ - **Question:** What else should we monitor (but not optimize for)?
341
+ - **Examples:**
342
+ - Time-to-first-action (reduce from 3 days to 1 day)
343
+ - Completion rate of onboarding checklist (target: 80%)
344
+ - Support ticket volume (reduce "How do I get started?" tickets by 50%)
345
+
346
+ **3. Define Guardrail Metrics**
347
+ - **Question:** What should NOT get worse?
348
+ - **Example:** "Sign-up conversion rate (don't add friction to signup flow)"
349
+
350
+ **Example:**
351
+
352
+ ```markdown
353
+ ## 6. Success Metrics
354
+
355
+ ### Primary Metric
356
+ **Activation rate** (% of users completing first action within 24 hours)
357
+ - **Current:** 40%
358
+ - **Target:** 60%
359
+ - **Timeline:** Measure 30 days after launch
360
+
361
+ ### Secondary Metrics
362
+ - **Time-to-first-action:** Reduce from 3 days to 1 day
363
+ - **Onboarding checklist completion rate:** 80% of users complete all 3 steps
364
+ - **Support tickets:** Reduce "How do I get started?" tickets from 350/month to 175/month
365
+
366
+ ### Guardrail Metrics
367
+ - **Sign-up conversion rate:** Maintain at 10% (don't add friction to signup)
368
+ ```
369
+
370
+ ### Outputs from Phase 6
371
+
372
+ - **Primary metric:** What you're optimizing for
373
+ - **Secondary metrics:** Additional success indicators
374
+ - **Guardrail metrics:** What shouldn't regress
375
+
376
+ ---
377
+
378
+ ## Phase 7: User Stories & Requirements (90-120 minutes)
379
+
380
+ **Goal:** Break solution into user stories with acceptance criteria.
381
+
382
+ ### Activities
383
+
384
+ **1. Write Epic Hypothesis**
385
+ - **Use:** `skills/epic-hypothesis/SKILL.md` (component)
386
+ - **Participants:** PM
387
+ - **Duration:** 30 minutes
388
+ - **Output:** Epic hypothesis statement
389
+
390
+ **Example:**
391
+ > "We believe that adding a guided onboarding checklist for non-technical users will increase activation rate from 40% to 60% because users currently drop off due to lack of guidance. We'll measure success by activation rate 30 days post-launch."
392
+
393
+ **2. Break Down Epic into User Stories**
394
+ - **Use:** `skills/epic-breakdown-advisor/SKILL.md` (interactive - with Richard Lawrence's 9 patterns)
395
+ - **Participants:** PM, design, engineering
396
+ - **Duration:** 90 minutes
397
+ - **Output:** User stories split by patterns (workflow, CRUD, business rules, etc.)
398
+
399
+ **3. Write User Stories**
400
+ - **Use:** `skills/user-story/SKILL.md` (component)
401
+ - **Participants:** PM
402
+ - **Duration:** 30 minutes per story
403
+ - **Format:** User story + acceptance criteria
404
+
405
+ **Example User Stories:**
406
+
407
+ ```markdown
408
+ ## 7. User Stories & Requirements
409
+
410
+ ### Epic Hypothesis
411
+ We believe that adding a guided onboarding checklist for non-technical users will increase activation rate from 40% to 60% because users currently drop off due to lack of guidance.
412
+
413
+ ### User Stories
414
+
415
+ **Story 1: Display onboarding checklist on first login**
416
+ As a new user, I want to see a guided checklist when I first log in, so I know what to do first.
417
+
418
+ **Acceptance Criteria:**
419
+ - [ ] When user logs in for the first time, modal appears with checklist
420
+ - [ ] Checklist shows 3 steps: "Create project," "Invite teammate," "Complete task"
421
+ - [ ] Modal is dismissible (close button)
422
+ - [ ] If dismissed, checklist doesn't reappear (user preference saved)
423
+
424
+ **Story 2: Track checklist progress**
425
+ As a new user, I want to see my progress as I complete checklist steps, so I feel a sense of accomplishment.
426
+
427
+ **Acceptance Criteria:**
428
+ - [ ] When user completes step 1, checkmark appears next to "Create project"
429
+ - [ ] Progress bar updates (1/3 → 2/3 → 3/3)
430
+ - [ ] Checklist persists across sessions (if user logs out and back in)
431
+
432
+ **Story 3: Celebrate checklist completion**
433
+ As a new user, I want to receive positive feedback when I complete the checklist, so I feel confident using the product.
434
+
435
+ **Acceptance Criteria:**
436
+ - [ ] When user completes all 3 steps, celebration modal appears
437
+ - [ ] Message: "You're all set! Here's what to do next: [suggested next actions]"
438
+ - [ ] Confetti animation (optional, nice-to-have)
439
+ ```
440
+
441
+ **4. Document Constraints & Edge Cases**
442
+ - **Technical constraints:** Platform limitations, browser support, etc.
443
+ - **Edge cases:** What if user skips step 2? What if they complete steps out of order?
444
+
445
+ ### Outputs from Phase 7
446
+
447
+ - **Epic hypothesis:** Testable statement
448
+ - **User stories:** 3-10 stories with acceptance criteria
449
+ - **Constraints:** Technical limitations, edge cases
450
+
451
+ ---
452
+
453
+ ## Phase 8: Out of Scope & Dependencies (30 minutes)
454
+
455
+ **Goal:** Define what you're NOT building and what you depend on.
456
+
457
+ ### Activities
458
+
459
+ **1. Document Out of Scope**
460
+ - **Format:** List features/requests explicitly excluded
461
+ - **Rationale:** Why not building now?
462
+
463
+ **Example:**
464
+
465
+ ```markdown
466
+ ## 8. Out of Scope
467
+
468
+ **Not included in this release:**
469
+ - **Advanced onboarding personalization** (e.g., different checklists per persona) — Adds complexity, test simple version first
470
+ - **Video tutorials embedded in checklist** — Resource-intensive, validate checklist concept first
471
+ - **Gamification (badges, points)** — Nice-to-have, focus on core workflow guidance
472
+
473
+ **Future consideration:**
474
+ - Mobile-optimized onboarding (desktop-first for now)
475
+ ```
476
+
477
+ **2. Document Dependencies**
478
+ - **Technical dependencies:** Platform upgrades, API changes required
479
+ - **External dependencies:** Third-party integrations, partnerships
480
+ - **Team dependencies:** Design handoff, data pipeline work
481
+
482
+ **Example:**
483
+
484
+ ```markdown
485
+ ## 9. Dependencies & Risks
486
+
487
+ ### Dependencies
488
+ - **Design:** Wireframes for checklist UI (ETA: Week 1)
489
+ - **Engineering:** No technical dependencies (uses existing modals framework)
490
+
491
+ ### Risks & Mitigations
492
+ - **Risk:** Users dismiss checklist immediately, never see it
493
+ - **Mitigation:** Track dismissal rate; if >50%, iterate on messaging or timing
494
+ - **Risk:** Checklist steps are too generic, don't resonate with all personas
495
+ - **Mitigation:** Start with primary persona (Solo Entrepreneur Sam), personalize later
496
+ ```
497
+
498
+ **3. Document Open Questions**
499
+ - **Unresolved decisions:** Areas requiring discovery or discussion
500
+
501
+ **Example:**
502
+
503
+ ```markdown
504
+ ## 10. Open Questions
505
+
506
+ - Should checklist be mandatory or optional? (Decision: Optional, dismissible)
507
+ - Should we A/B test checklist vs. no checklist? (Decision: Yes, show to 50% of new users)
508
+ - What happens if user completes steps out of order? (Decision: Allow any order, update checklist dynamically)
509
+ ```
510
+
511
+ ### Outputs from Phase 8
512
+
513
+ - **Out of scope:** What we're NOT building
514
+ - **Dependencies:** What we need before starting
515
+ - **Risks:** Potential blockers and mitigations
516
+ - **Open questions:** Unresolved decisions
517
+
518
+ ---
519
+
520
+ ## Complete Workflow: End-to-End Summary
521
+
522
+ ```
523
+ Day 1:
524
+ ├─ Phase 1: Executive Summary (30 min)
525
+ ├─ Phase 2: Problem Statement (60 min)
526
+ │ └─ Use: skills/problem-statement/SKILL.md
527
+ ├─ Phase 3: Target Users & Personas (30 min)
528
+ │ └─ Use: skills/proto-persona/SKILL.md
529
+ └─ Phase 4: Strategic Context (45 min)
530
+ └─ Use: skills/tam-sam-som-calculator/SKILL.md (optional)
531
+
532
+ Day 2:
533
+ ├─ Phase 5: Solution Overview (60 min)
534
+ │ └─ Use: skills/user-story-mapping-workshop/SKILL.md (optional)
535
+ ├─ Phase 6: Success Metrics (30 min)
536
+ └─ Phase 7: User Stories & Requirements (90-120 min)
537
+ ├─ Use: skills/epic-hypothesis/SKILL.md
538
+ ├─ Use: skills/epic-breakdown-advisor/SKILL.md
539
+ └─ Use: skills/user-story/SKILL.md
540
+
541
+ Day 3:
542
+ ├─ Phase 8: Out of Scope & Dependencies (30 min)
543
+ └─ Review & Refine (60 min)
544
+ └─ Read full PRD, polish, get feedback
545
+
546
+ Day 4 (Optional):
547
+ └─ Stakeholder Review & Approval
548
+ └─ Present PRD to stakeholders, incorporate feedback
549
+ ```
550
+
551
+ **Total Time Investment:**
552
+ - **Fast track:** 1.5-2 days (straightforward feature, clear requirements)
553
+ - **Typical:** 2-3 days (includes discovery synthesis, stakeholder review)
554
+ - **Complex:** 3-4 days (major initiative, multiple personas, extensive user stories)
555
+
556
+ ---
557
+
558
+ ## Examples
559
+
560
+ See `examples/sample.md` for full PRD examples.
561
+
562
+ Mini example excerpt:
563
+
564
+ ```markdown
565
+ ## 2. Problem Statement
566
+ - 60% of trial users drop off in first 24 hours
567
+ ## 6. Success Metrics
568
+ - Activation rate: 40% → 60%
569
+ ```
570
+
571
+ ## Common Pitfalls
572
+
573
+ ### Pitfall 1: PRD Written in Isolation
574
+ **Symptom:** PM writes PRD alone, presents finished doc to team
575
+
576
+ **Consequence:** No buy-in, team doesn't understand rationale
577
+
578
+ **Fix:** Collaborate on Phase 7 (user stories) with design + eng; review draft PRD before finalizing
579
+
580
+ ---
581
+
582
+ ### Pitfall 2: No Evidence in Problem Statement
583
+ **Symptom:** "We believe users have this problem" (no data, no quotes)
584
+
585
+ **Consequence:** Team questions whether problem is real
586
+
587
+ **Fix:** Use discovery insights from `skills/discovery-process/SKILL.md`; include customer quotes, analytics, support tickets
588
+
589
+ ---
590
+
591
+ ### Pitfall 3: Solution Too Prescriptive
592
+ **Symptom:** PRD specifies exact UI, pixel dimensions, button colors
593
+
594
+ **Consequence:** Removes design collaboration, becomes waterfall spec
595
+
596
+ **Fix:** Keep Phase 5 high-level; let design own UI details
597
+
598
+ ---
599
+
600
+ ### Pitfall 4: No Success Metrics
601
+ **Symptom:** PRD defines problem + solution but no metrics
602
+
603
+ **Consequence:** Can't validate if feature succeeded
604
+
605
+ **Fix:** Always define primary metric in Phase 6 (what you're optimizing for)
606
+
607
+ ---
608
+
609
+ ### Pitfall 5: Out of Scope Not Documented
610
+ **Symptom:** No section on what's NOT being built
611
+
612
+ **Consequence:** Scope creep, stakeholders expect features not planned
613
+
614
+ **Fix:** Explicitly document out of scope in Phase 8
615
+
616
+ ---
617
+
618
+ ## References
619
+
620
+ ### Related Skills (Orchestrated by This Workflow)
621
+
622
+ **Phase 2:**
623
+ - `skills/problem-statement/SKILL.md` (component)
624
+ - `skills/problem-framing-canvas/SKILL.md` (interactive, for context)
625
+ - `skills/customer-journey-mapping-workshop/SKILL.md` (interactive, optional)
626
+
627
+ **Phase 3:**
628
+ - `skills/proto-persona/SKILL.md` (component)
629
+ - `skills/jobs-to-be-done/SKILL.md` (component, optional)
630
+
631
+ **Phase 4:**
632
+ - `skills/tam-sam-som-calculator/SKILL.md` (interactive, optional)
633
+
634
+ **Phase 5:**
635
+ - `skills/user-story-mapping-workshop/SKILL.md` (interactive, optional)
636
+
637
+ **Phase 7:**
638
+ - `skills/epic-hypothesis/SKILL.md` (component)
639
+ - `skills/epic-breakdown-advisor/SKILL.md` (interactive)
640
+ - `skills/user-story/SKILL.md` (component)
641
+
642
+ ### External Frameworks
643
+ - Martin Eriksson, "How to Write a Good PRD" (2012) — PRD structure
644
+ - Marty Cagan, *Inspired* (2017) — Product spec principles
645
+ - Amazon, "Working Backwards" (PR/FAQ format) — Alternative to PRD
646
+
647
+ ### Dean's Work
648
+ - [If Dean has PRD templates, link here]
649
+
650
+ ---
651
+
652
+ **Skill type:** Workflow
653
+ **Suggested filename:** `prd-development.md`
654
+ **Suggested placement:** `/skills/workflows/`
655
+ **Dependencies:** Orchestrates 8+ component and interactive skills across 8 phases
@@ -0,0 +1,43 @@
1
+ # PRD Examples
2
+
3
+ ### Example 1: Good PRD (Guided Onboarding)
4
+
5
+ See sections above for detailed example of a well-structured PRD covering all 10 sections.
6
+
7
+ **Why this works:**
8
+ - Clear problem statement with evidence (interviews, analytics, support tickets)
9
+ - Personas grounded in research
10
+ - Solution description at right level of detail (not overly prescriptive)
11
+ - Success metrics with targets
12
+ - User stories with acceptance criteria
13
+ - Out of scope documented explicitly
14
+
15
+ ---
16
+
17
+ ### Example 2: Bad PRD (Feature List)
18
+
19
+ **Problem Statement:**
20
+ > "Users want better onboarding."
21
+
22
+ **Solution:**
23
+ > "Add onboarding."
24
+
25
+ **Requirements:**
26
+ > "1. Onboarding flow
27
+ > 2. Tooltips
28
+ > 3. Help docs"
29
+
30
+ **Why this fails:**
31
+ - No evidence (who wants this? why?)
32
+ - No personas (who is "users"?)
33
+ - No success metrics (how do we measure "better"?)
34
+ - No acceptance criteria (what does "onboarding flow" mean?)
35
+ - No strategic context (why now?)
36
+
37
+ **Fix with PRD workflow:**
38
+ - **Phase 2:** Write problem statement with evidence from discovery interviews
39
+ - **Phase 3:** Define persona (Solo Entrepreneur Sam)
40
+ - **Phase 6:** Define success metrics (activation rate 40% → 60%)
41
+ - **Phase 7:** Break down "onboarding flow" into user stories with acceptance criteria
42
+
43
+ ---