@dedesfr/prompter 0.9.0 → 1.1.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 (225) hide show
  1. package/CHANGELOG.md +35 -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.map +1 -1
  6. package/dist/commands/init.js +35 -9
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/login.d.ts +4 -0
  9. package/dist/commands/login.d.ts.map +1 -0
  10. package/dist/commands/login.js +56 -0
  11. package/dist/commands/login.js.map +1 -0
  12. package/dist/commands/logout.d.ts +4 -0
  13. package/dist/commands/logout.d.ts.map +1 -0
  14. package/dist/commands/logout.js +14 -0
  15. package/dist/commands/logout.js.map +1 -0
  16. package/dist/commands/update.d.ts +0 -2
  17. package/dist/commands/update.d.ts.map +1 -1
  18. package/dist/commands/update.js +19 -48
  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/config.d.ts +0 -7
  29. package/dist/core/config.d.ts.map +1 -1
  30. package/dist/core/config.js +0 -128
  31. package/dist/core/config.js.map +1 -1
  32. package/dist/core/registry.d.ts +18 -0
  33. package/dist/core/registry.d.ts.map +1 -0
  34. package/dist/core/registry.js +94 -0
  35. package/dist/core/registry.js.map +1 -0
  36. package/package.json +7 -1
  37. package/AGENTS.md +0 -123
  38. package/CLAUDE.md +0 -17
  39. package/build.js +0 -20
  40. package/convex-setup.md +0 -403
  41. package/dist/core/prompt-templates.d.ts +0 -23
  42. package/dist/core/prompt-templates.d.ts.map +0 -1
  43. package/dist/core/prompt-templates.js +0 -3485
  44. package/dist/core/prompt-templates.js.map +0 -1
  45. package/prompt/ai-humanizer.md +0 -45
  46. package/prompt/api-contract-generator.md +0 -234
  47. package/prompt/apply.md +0 -17
  48. package/prompt/archive.md +0 -21
  49. package/prompt/design-system.md +0 -210
  50. package/prompt/document-explainer.md +0 -149
  51. package/prompt/epic-generator.md +0 -198
  52. package/prompt/epic-single.md +0 -47
  53. package/prompt/erd-generator.md +0 -130
  54. package/prompt/fsd-generator.md +0 -157
  55. package/prompt/prd-agent-generator.md +0 -147
  56. package/prompt/prd-generator.md +0 -195
  57. package/prompt/product-brief.md +0 -289
  58. package/prompt/proposal.md +0 -22
  59. package/prompt/qa-test-scenario.md +0 -133
  60. package/prompt/skill-creator.md +0 -350
  61. package/prompt/story-generator.md +0 -278
  62. package/prompt/story-single.md +0 -70
  63. package/prompt/tdd-generator.md +0 -294
  64. package/prompt/tdd-lite-generator.md +0 -224
  65. package/prompt/wireframe-generator.md +0 -219
  66. package/skills/ai-context-generator/SKILL.md +0 -54
  67. package/skills/ai-context-generator/references/AGENTS.template.md +0 -83
  68. package/skills/ai-context-generator/references/CLAUDE.template.md +0 -39
  69. package/skills/ai-context-generator/references/behavioral-guidelines.md +0 -71
  70. package/skills/ai-context-generator/references/discovery-checklist.md +0 -40
  71. package/skills/ai-context-generator/references/examples/AGENTS.good.md +0 -103
  72. package/skills/ai-context-generator/references/extraction-checklist.md +0 -23
  73. package/skills/ai-context-generator/references/overlays/laravel.md +0 -44
  74. package/skills/ai-humanizer/SKILL.md +0 -50
  75. package/skills/api-contract-generator/SKILL.md +0 -243
  76. package/skills/apply/SKILL.md +0 -23
  77. package/skills/archive/SKILL.md +0 -27
  78. package/skills/cerebro/SKILL.md +0 -187
  79. package/skills/cerebro/references/agents.md +0 -213
  80. package/skills/code-review/SKILL.md +0 -373
  81. package/skills/code-review/assets/report-template-agent.md +0 -212
  82. package/skills/code-review/assets/report-template-compact.md +0 -81
  83. package/skills/code-review/assets/report-template-full.md +0 -264
  84. package/skills/code-review/assets/report-template-human.md +0 -168
  85. package/skills/code-review/references/universal-patterns.md +0 -495
  86. package/skills/design-md/README.md +0 -34
  87. package/skills/design-md/SKILL.md +0 -172
  88. package/skills/design-md/examples/DESIGN.md +0 -154
  89. package/skills/design-system/SKILL.md +0 -216
  90. package/skills/design-system-generator/SKILL.md +0 -324
  91. package/skills/design-system-generator/assets/design-system-template.md +0 -348
  92. package/skills/design-system-generator/references/extraction-patterns.md +0 -321
  93. package/skills/doc-builder/SKILL.md +0 -115
  94. package/skills/doc-builder/references/ui-patterns.md +0 -394
  95. package/skills/document-explainer/SKILL.md +0 -155
  96. package/skills/document-translator/SKILL.md +0 -58
  97. package/skills/enhance/SKILL.md +0 -47
  98. package/skills/enhance-prompt/README.md +0 -34
  99. package/skills/enhance-prompt/SKILL.md +0 -204
  100. package/skills/enhance-prompt/references/KEYWORDS.md +0 -114
  101. package/skills/epic-generator/SKILL.md +0 -204
  102. package/skills/epic-single/SKILL.md +0 -63
  103. package/skills/erd-generator/SKILL.md +0 -138
  104. package/skills/feature-planner/SKILL.md +0 -305
  105. package/skills/feature-planner/assets/implementation-plan-template.md +0 -85
  106. package/skills/frontend-design/LICENSE.txt +0 -177
  107. package/skills/frontend-design/SKILL.md +0 -42
  108. package/skills/fsd-generator/SKILL.md +0 -163
  109. package/skills/gamma-builder/SKILL.md +0 -134
  110. package/skills/laravel-code-review/SKILL.md +0 -383
  111. package/skills/laravel-code-review/assets/report-template-agent.md +0 -195
  112. package/skills/laravel-code-review/assets/report-template-compact.md +0 -79
  113. package/skills/laravel-code-review/assets/report-template-full.md +0 -253
  114. package/skills/laravel-code-review/assets/report-template-human.md +0 -159
  115. package/skills/laravel-code-review/references/laravel-patterns.md +0 -571
  116. package/skills/laravel-code-review/references/php84-features.md +0 -442
  117. package/skills/mcp-builder/LICENSE.txt +0 -202
  118. package/skills/mcp-builder/SKILL.md +0 -236
  119. package/skills/mcp-builder/reference/evaluation.md +0 -602
  120. package/skills/mcp-builder/reference/mcp_best_practices.md +0 -249
  121. package/skills/mcp-builder/reference/node_mcp_server.md +0 -970
  122. package/skills/mcp-builder/reference/python_mcp_server.md +0 -719
  123. package/skills/mcp-builder/scripts/connections.py +0 -151
  124. package/skills/mcp-builder/scripts/evaluation.py +0 -373
  125. package/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  126. package/skills/mcp-builder/scripts/requirements.txt +0 -2
  127. package/skills/meeting-notes/SKILL.md +0 -159
  128. package/skills/meeting-notes/evals/evals.json +0 -23
  129. package/skills/prd-agent-generator/SKILL.md +0 -132
  130. package/skills/prd-generator/SKILL.md +0 -211
  131. package/skills/product-brief/SKILL.md +0 -141
  132. package/skills/project-orchestrator/SKILL.md +0 -487
  133. package/skills/project-orchestrator/assets/caddy-vps-setup.md +0 -180
  134. package/skills/project-orchestrator/assets/plan-summary-template.md +0 -159
  135. package/skills/prompter-specs/SKILL.md +0 -115
  136. package/skills/prompter-workflow/SKILL.md +0 -166
  137. package/skills/prompter-workflow/evals/evals.json +0 -89
  138. package/skills/proposal/SKILL.md +0 -28
  139. package/skills/qa-test-scenario/SKILL.md +0 -149
  140. package/skills/skill-creator/SKILL.md +0 -173
  141. package/skills/sph-generator/SKILL.md +0 -488
  142. package/skills/story-generator/SKILL.md +0 -285
  143. package/skills/story-single/SKILL.md +0 -86
  144. package/skills/tdd-generator/SKILL.md +0 -300
  145. package/skills/tdd-lite-generator/SKILL.md +0 -230
  146. package/skills/ui-ux-pro/SKILL.md +0 -199
  147. package/skills/ui-ux-pro/assets/design-spec-template.md +0 -173
  148. package/skills/ui-ux-pro/references/component-patterns.md +0 -255
  149. package/skills/ui-ux-pro/references/design-principles.md +0 -167
  150. package/skills/wireframe-generator/SKILL.md +0 -227
  151. package/src/cli/index.ts +0 -223
  152. package/src/commands/archive.ts +0 -302
  153. package/src/commands/change.ts +0 -292
  154. package/src/commands/config.ts +0 -233
  155. package/src/commands/guide.ts +0 -50
  156. package/src/commands/init.ts +0 -597
  157. package/src/commands/list.ts +0 -194
  158. package/src/commands/show.ts +0 -138
  159. package/src/commands/spec.ts +0 -251
  160. package/src/commands/update.ts +0 -129
  161. package/src/commands/upgrade.ts +0 -30
  162. package/src/commands/validate.ts +0 -326
  163. package/src/core/artifact-graph/graph.ts +0 -167
  164. package/src/core/artifact-graph/index.ts +0 -44
  165. package/src/core/artifact-graph/instruction-loader.ts +0 -302
  166. package/src/core/artifact-graph/resolver.ts +0 -226
  167. package/src/core/artifact-graph/schema.ts +0 -124
  168. package/src/core/artifact-graph/state.ts +0 -64
  169. package/src/core/artifact-graph/types.ts +0 -65
  170. package/src/core/completions/command-registry.ts +0 -382
  171. package/src/core/completions/completion-provider.ts +0 -128
  172. package/src/core/completions/generators/bash-generator.ts +0 -191
  173. package/src/core/completions/generators/fish-generator.ts +0 -188
  174. package/src/core/completions/generators/powershell-generator.ts +0 -223
  175. package/src/core/completions/generators/zsh-generator.ts +0 -281
  176. package/src/core/completions/templates/bash-templates.ts +0 -24
  177. package/src/core/completions/templates/fish-templates.ts +0 -40
  178. package/src/core/completions/templates/powershell-templates.ts +0 -25
  179. package/src/core/completions/templates/zsh-templates.ts +0 -36
  180. package/src/core/completions/types.ts +0 -90
  181. package/src/core/config-schema.ts +0 -230
  182. package/src/core/config.ts +0 -181
  183. package/src/core/configurators/slash/antigravity.ts +0 -10
  184. package/src/core/configurators/slash/base.ts +0 -109
  185. package/src/core/configurators/slash/claude.ts +0 -10
  186. package/src/core/configurators/slash/codex.ts +0 -10
  187. package/src/core/configurators/slash/droid.ts +0 -10
  188. package/src/core/configurators/slash/forge.ts +0 -10
  189. package/src/core/configurators/slash/github-copilot.ts +0 -10
  190. package/src/core/configurators/slash/index.ts +0 -10
  191. package/src/core/configurators/slash/kilocode.ts +0 -10
  192. package/src/core/configurators/slash/opencode.ts +0 -10
  193. package/src/core/configurators/slash/registry.ts +0 -51
  194. package/src/core/converters/json-converter.ts +0 -62
  195. package/src/core/global-config.ts +0 -136
  196. package/src/core/parsers/change-parser.ts +0 -234
  197. package/src/core/parsers/markdown-parser.ts +0 -237
  198. package/src/core/parsers/requirement-blocks.ts +0 -234
  199. package/src/core/prompt-templates.ts +0 -3504
  200. package/src/core/schemas/base.schema.ts +0 -20
  201. package/src/core/schemas/change.schema.ts +0 -42
  202. package/src/core/schemas/index.ts +0 -20
  203. package/src/core/schemas/spec.schema.ts +0 -17
  204. package/src/core/skill-discovery.ts +0 -68
  205. package/src/core/specs-apply.ts +0 -483
  206. package/src/core/styles/palette.ts +0 -8
  207. package/src/core/templates/agents-template.ts +0 -459
  208. package/src/core/templates/claude-template.ts +0 -2
  209. package/src/core/templates/index.ts +0 -3
  210. package/src/core/templates/project-template.ts +0 -32
  211. package/src/core/validation/constants.ts +0 -48
  212. package/src/core/validation/types.ts +0 -19
  213. package/src/core/validation/validator.ts +0 -449
  214. package/src/core/view.ts +0 -219
  215. package/src/index.ts +0 -1
  216. package/src/utils/change-metadata.ts +0 -171
  217. package/src/utils/change-utils.ts +0 -131
  218. package/src/utils/file-system.ts +0 -252
  219. package/src/utils/index.ts +0 -12
  220. package/src/utils/interactive.ts +0 -29
  221. package/src/utils/item-discovery.ts +0 -66
  222. package/src/utils/match.ts +0 -26
  223. package/src/utils/shell-detection.ts +0 -62
  224. package/src/utils/task-progress.ts +0 -43
  225. package/tsconfig.json +0 -28
@@ -1,204 +0,0 @@
1
- ---
2
- name: enhance-prompt
3
- description: Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
4
- allowed-tools:
5
- - "Read"
6
- - "Write"
7
- ---
8
-
9
- # Enhance Prompt for Stitch
10
-
11
- You are a **Stitch Prompt Engineer**. Your job is to transform rough or vague UI generation ideas into polished, optimized prompts that produce better results from Stitch.
12
-
13
- ## Prerequisites
14
-
15
- Before enhancing prompts, consult the official Stitch documentation for the latest best practices:
16
-
17
- - **Stitch Effective Prompting Guide**: https://stitch.withgoogle.com/docs/learn/prompting/
18
-
19
- This guide contains up-to-date recommendations that may supersede or complement the patterns in this skill.
20
-
21
- ## When to Use This Skill
22
-
23
- Activate when a user wants to:
24
- - Polish a UI prompt before sending to Stitch
25
- - Improve a prompt that produced poor results
26
- - Add design system consistency to a simple idea
27
- - Structure a vague concept into an actionable prompt
28
-
29
- ## Enhancement Pipeline
30
-
31
- Follow these steps to enhance any prompt:
32
-
33
- ### Step 1: Assess the Input
34
-
35
- Evaluate what's missing from the user's prompt:
36
-
37
- | Element | Check for | If missing... |
38
- |---------|-----------|---------------|
39
- | **Platform** | "web", "mobile", "desktop" | Add based on context or ask |
40
- | **Page type** | "landing page", "dashboard", "form" | Infer from description |
41
- | **Structure** | Numbered sections/components | Create logical page structure |
42
- | **Visual style** | Adjectives, mood, vibe | Add appropriate descriptors |
43
- | **Colors** | Specific values or roles | Add design system or suggest |
44
- | **Components** | UI-specific terms | Translate to proper keywords |
45
-
46
- ### Step 2: Check for DESIGN.md
47
-
48
- Look for a `DESIGN.md` file in the current project:
49
-
50
- **If DESIGN.md exists:**
51
- 1. Read the file to extract the design system block
52
- 2. Include the color palette, typography, and component styles
53
- 3. Format as a "DESIGN SYSTEM (REQUIRED)" section in the output
54
-
55
- **If DESIGN.md does not exist:**
56
- 1. Add this note at the end of the enhanced prompt:
57
-
58
- ```
59
- ---
60
- 💡 **Tip:** For consistent designs across multiple screens, create a DESIGN.md
61
- file using the `design-md` skill. This ensures all generated pages share the
62
- same visual language.
63
- ```
64
-
65
- ### Step 3: Apply Enhancements
66
-
67
- Transform the input using these techniques:
68
-
69
- #### A. Add UI/UX Keywords
70
-
71
- Replace vague terms with specific component names:
72
-
73
- | Vague | Enhanced |
74
- |-------|----------|
75
- | "menu at the top" | "navigation bar with logo and menu items" |
76
- | "button" | "primary call-to-action button" |
77
- | "list of items" | "card grid layout" or "vertical list with thumbnails" |
78
- | "form" | "form with labeled input fields and submit button" |
79
- | "picture area" | "hero section with full-width image" |
80
-
81
- #### B. Amplify the Vibe
82
-
83
- Add descriptive adjectives to set the mood:
84
-
85
- | Basic | Enhanced |
86
- |-------|----------|
87
- | "modern" | "clean, minimal, with generous whitespace" |
88
- | "professional" | "sophisticated, trustworthy, with subtle shadows" |
89
- | "fun" | "vibrant, playful, with rounded corners and bold colors" |
90
- | "dark mode" | "dark theme with high-contrast accents on deep backgrounds" |
91
-
92
- #### C. Structure the Page
93
-
94
- Organize content into numbered sections:
95
-
96
- ```markdown
97
- **Page Structure:**
98
- 1. **Header:** Navigation with logo and menu items
99
- 2. **Hero Section:** Headline, subtext, and primary CTA
100
- 3. **Content Area:** [Describe the main content]
101
- 4. **Footer:** Links, social icons, copyright
102
- ```
103
-
104
- #### D. Format Colors Properly
105
-
106
- When colors are mentioned, format them as:
107
- ```
108
- Descriptive Name (#hexcode) for functional role
109
- ```
110
-
111
- Examples:
112
- - "Deep Ocean Blue (#1a365d) for primary buttons and links"
113
- - "Warm Cream (#faf5f0) for page background"
114
- - "Soft Gray (#6b7280) for secondary text"
115
-
116
- ### Step 4: Format the Output
117
-
118
- Structure the enhanced prompt in this order:
119
-
120
- ```markdown
121
- [One-line description of the page purpose and vibe]
122
-
123
- **DESIGN SYSTEM (REQUIRED):**
124
- - Platform: [Web/Mobile], [Desktop/Mobile]-first
125
- - Theme: [Light/Dark], [style descriptors]
126
- - Background: [Color description] (#hex)
127
- - Primary Accent: [Color description] (#hex) for [role]
128
- - Text Primary: [Color description] (#hex)
129
- - [Additional design tokens...]
130
-
131
- **Page Structure:**
132
- 1. **[Section]:** [Description]
133
- 2. **[Section]:** [Description]
134
- ...
135
- ```
136
-
137
- ## Output Options
138
-
139
- **Default:** Return the enhanced prompt as text for the user to copy.
140
-
141
- **Optional file output:** If the user requests, write to a file:
142
- - `next-prompt.md` — for use with the `stitch-loop` skill
143
- - Custom filename specified by user
144
-
145
- ## Examples
146
-
147
- ### Example 1: Vague Input → Structured Prompt
148
-
149
- **User input:**
150
- > "make me a login page"
151
-
152
- **Enhanced output:**
153
- ```markdown
154
- A clean, trustworthy login page with a centered form and subtle branding.
155
-
156
- **DESIGN SYSTEM (REQUIRED):**
157
- - Platform: Web, Desktop-first
158
- - Theme: Light, minimal, professional
159
- - Background: Clean White (#ffffff)
160
- - Surface: Soft Gray (#f9fafb) for form card
161
- - Primary Accent: Deep Blue (#2563eb) for submit button and links
162
- - Text Primary: Near Black (#111827) for headings
163
- - Text Secondary: Medium Gray (#6b7280) for labels
164
- - Buttons: Subtly rounded (8px), full-width on form
165
- - Cards: Gently rounded (12px), soft shadow for elevation
166
-
167
- **Page Structure:**
168
- 1. **Header:** Minimal logo, centered
169
- 2. **Login Card:** Centered form with email, password fields, "Forgot password?" link
170
- 3. **Submit Button:** Primary blue "Sign In" button
171
- 4. **Footer:** "Don't have an account? Sign up" link
172
-
173
- ---
174
- 💡 **Tip:** For consistent designs across multiple screens, create a DESIGN.md
175
- file using the `design-md` skill.
176
- ```
177
-
178
- ### Example 2: Feature Request → Targeted Edit
179
-
180
- **User input:**
181
- > "add a search bar"
182
-
183
- **Enhanced output:**
184
- ```markdown
185
- Add a search bar to the header navigation.
186
-
187
- **Specific changes:**
188
- - Location: Header, right side before user avatar
189
- - Style: Pill-shaped input with subtle gray background (#f3f4f6)
190
- - Icon: Magnifying glass icon on the left, inside the input
191
- - Placeholder: "Search..." in light gray (#9ca3af)
192
- - Behavior: Expands on focus with subtle shadow
193
- - Width: 240px default, 320px on focus
194
-
195
- **Context:** This is a targeted edit. Make only this change while preserving all existing elements.
196
- ```
197
-
198
- ## Tips for Best Results
199
-
200
- 1. **Be specific early** — Vague inputs need more enhancement
201
- 2. **Match the user's intent** — Don't over-design if they want simple
202
- 3. **Keep it structured** — Numbered sections help Stitch understand hierarchy
203
- 4. **Include the design system** — Consistency is key for multi-page projects
204
- 5. **One change at a time for edits** — Don't bundle unrelated changes
@@ -1,114 +0,0 @@
1
- # UI/UX Keywords Reference
2
-
3
- Progressive disclosure reference for common UI terminology and adjective palettes.
4
-
5
- ## Component Keywords
6
-
7
- ### Navigation
8
- - navigation bar, nav menu, header
9
- - breadcrumbs, tabs, sidebar
10
- - hamburger menu, dropdown menu
11
- - back button, close button
12
-
13
- ### Content Containers
14
- - hero section, hero banner
15
- - card, card grid, tile
16
- - modal, dialog, popup
17
- - accordion, collapsible section
18
- - carousel, slider
19
-
20
- ### Forms
21
- - input field, text input
22
- - dropdown, select menu
23
- - checkbox, radio button
24
- - toggle switch
25
- - date picker, time picker
26
- - search bar, search input
27
- - submit button, form actions
28
-
29
- ### Calls to Action
30
- - primary button, secondary button
31
- - ghost button, text link
32
- - floating action button (FAB)
33
- - icon button
34
-
35
- ### Feedback
36
- - toast notification, snackbar
37
- - alert banner, warning message
38
- - loading spinner, skeleton loader
39
- - progress bar, step indicator
40
-
41
- ### Layout
42
- - grid layout, flexbox
43
- - sidebar layout, split view
44
- - sticky header, fixed footer
45
- - full-width, contained width
46
- - centered content, max-width container
47
-
48
- ## Adjective Palettes
49
-
50
- ### Minimal / Clean
51
- - minimal, clean, uncluttered
52
- - generous whitespace, breathing room
53
- - subtle, understated, refined
54
- - simple, focused, distraction-free
55
-
56
- ### Professional / Corporate
57
- - sophisticated, polished, trustworthy
58
- - corporate, business-like, formal
59
- - subtle shadows, clean lines
60
- - structured, organized, hierarchical
61
-
62
- ### Playful / Fun
63
- - vibrant, colorful, energetic
64
- - rounded corners, soft edges
65
- - bold, expressive, dynamic
66
- - friendly, approachable, warm
67
-
68
- ### Premium / Luxury
69
- - elegant, luxurious, high-end
70
- - dramatic, bold contrasts
71
- - sleek, modern, cutting-edge
72
- - exclusive, boutique, curated
73
-
74
- ### Dark Mode
75
- - dark theme, night mode
76
- - high-contrast accents
77
- - soft glows, subtle highlights
78
- - deep backgrounds, muted surfaces
79
-
80
- ### Organic / Natural
81
- - earthy tones, natural colors
82
- - warm, inviting, cozy
83
- - textured, tactile, handcrafted
84
- - flowing, organic shapes
85
-
86
- ## Color Role Terminology
87
-
88
- ### Backgrounds
89
- - page background, canvas
90
- - surface color, card background
91
- - overlay, scrim
92
-
93
- ### Text
94
- - primary text, heading color
95
- - secondary text, body copy
96
- - muted text, placeholder
97
- - inverse text (on dark backgrounds)
98
-
99
- ### Accents
100
- - primary accent, brand color
101
- - secondary accent, highlight
102
- - success, error, warning colors
103
- - hover state, active state
104
-
105
- ## Shape Descriptions
106
-
107
- | Technical | Natural Language |
108
- |-----------|------------------|
109
- | `rounded-none` | sharp, squared-off edges |
110
- | `rounded-sm` | slightly softened corners |
111
- | `rounded-md` | gently rounded corners |
112
- | `rounded-lg` | generously rounded corners |
113
- | `rounded-xl` | very rounded, pillow-like |
114
- | `rounded-full` | pill-shaped, circular |
@@ -1,204 +0,0 @@
1
- ---
2
- name: epic-generator
3
- description: Generate a comprehensive set of EPICs from documentation
4
- ---
5
-
6
- # EPIC Generation Prompt
7
-
8
- # Role & Expertise
9
- You are a Senior Product Owner and Business Analyst with 10+ years of experience in Agile software development. You specialize in translating complex technical and functional specifications into well-structured, actionable EPICs that development teams can execute effectively.
10
-
11
- # Context
12
- You will analyze project documentation to extract and generate comprehensive EPICs for agile project planning. The primary sources are the Functional Specification Document (FSD) and Technical Design Document (TDD), with UI Wireframes serving as supplementary reference for user-facing features.
13
-
14
- # Primary Objective
15
- Generate a complete set of EPICs that capture all major feature areas, business capabilities, and technical deliverables defined in the provided documentation. Each EPIC must be traceable to source requirements and sized appropriately for sprint planning decomposition.
16
-
17
- # Input Documents
18
- 1. **FSD (Functional Specification Document)** - PRIMARY
19
- - Business requirements and functional capabilities
20
- - User workflows and business rules
21
- - Acceptance criteria foundations
22
-
23
- 2. **TDD (Technical Design Document)** - PRIMARY
24
- - System architecture components
25
- - Integration points and APIs
26
- - Technical constraints and dependencies
27
-
28
- 3. **UI Wireframes** - SUPPLEMENTARY
29
- - User interface flows
30
- - Screen-level functionality
31
- - User interaction patterns
32
-
33
- # Process
34
-
35
- ## Phase 1: Document Analysis
36
- 1. Extract all functional requirements from FSD
37
- - Identify business capabilities
38
- - Map user journeys and workflows
39
- - Note business rules and validations
40
- 2. Extract technical components from TDD
41
- - Identify system modules and services
42
- - Map integration dependencies
43
- - Note technical constraints
44
- 3. Cross-reference UI Wireframes
45
- - Link screens to functional requirements
46
- - Identify user-facing features
47
- - Note UI-specific requirements
48
-
49
- ## Phase 2: EPIC Identification
50
- 1. Group related requirements into logical feature areas
51
- 2. Identify natural boundaries based on:
52
- - Business domain separation
53
- - Technical component boundaries
54
- - User journey completeness
55
- - Dependency chains
56
- 3. Validate each EPIC can be independently deliverable
57
-
58
- ## Phase 3: EPIC Definition
59
- For each identified EPIC, define:
60
- - Clear business value statement
61
- - Scope boundaries (in/out)
62
- - High-level acceptance criteria
63
- - Dependencies and prerequisites
64
- - Estimated complexity tier
65
-
66
- ## Phase 4: Validation
67
- 1. Verify complete coverage of all requirements
68
- 2. Check for gaps between documents
69
- 3. Identify any conflicting requirements
70
- 4. Flag assumptions made
71
-
72
- # Output Format
73
-
74
- ## Directory Structure
75
- Create an `epics/` folder with the following structure:
76
- ```
77
- epics/
78
- ├── README.md # Executive summary and index
79
- ├── EPIC-001-[kebab-case-title].md
80
- ├── EPIC-002-[kebab-case-title].md
81
- ├── EPIC-003-[kebab-case-title].md
82
- └── ...
83
- ```
84
-
85
- ## File: `epics/README.md`
86
-
87
- ### Executive Summary
88
- - Total EPICs identified: [number]
89
- - Complexity distribution: [High/Medium/Low counts]
90
- - Key dependencies identified: [summary]
91
- - Coverage gaps or conflicts: [if any]
92
-
93
- ### EPIC Index
94
- | EPIC ID | Title | Complexity | Dependencies | File |
95
- |---------|-------|------------|--------------|------|
96
- | EPIC-001 | [Title] | [S/M/L/XL] | [EPIC-XXX] | [Link to file] |
97
- | EPIC-002 | [Title] | [S/M/L/XL] | [EPIC-XXX] | [Link to file] |
98
-
99
- ### Dependency Map
100
- [Visual or text representation of EPIC dependencies]
101
- ```
102
- EPIC-001 ──► EPIC-003
103
- EPIC-002 ──► EPIC-003
104
- EPIC-003 ──► EPIC-005
105
- ```
106
-
107
- ### Traceability Matrix
108
- | Requirement ID | FSD Section | TDD Component | Wireframe | EPIC |
109
- |----------------|-------------|---------------|-----------|------|
110
- | [REQ-001] | [Section] | [Component] | [Screen] | [EPIC-XXX] |
111
-
112
- ### Gaps & Recommendations
113
- 1. **Identified Gaps:** [Requirements not fully covered]
114
- 2. **Conflicts Found:** [Contradictions between documents]
115
- 3. **Recommendations:** [Suggested clarifications needed]
116
-
117
- ---
118
-
119
- ## Individual EPIC Files
120
-
121
- **File naming convention:** `EPIC-[XXX]-[kebab-case-title].md`
122
- Example: `EPIC-001-user-authentication.md`
123
-
124
- ### Template for Each EPIC File
125
-
126
- ```markdown
127
- # EPIC-[XXX]: [EPIC Title]
128
-
129
- ## Business Value Statement
130
- [2-3 sentences describing the business outcome and user benefit]
131
-
132
- ## Description
133
- [Detailed description of what this EPIC delivers]
134
-
135
- ## Source Traceability
136
- | Document | Reference | Section/Page |
137
- |----------|-----------|--------------|
138
- | FSD | [Requirement ID] | [Location] |
139
- | TDD | [Component/Section] | [Location] |
140
- | Wireframe | [Screen Name] | [If applicable] |
141
-
142
- ## Scope Definition
143
- | In Scope | Out of Scope |
144
- |----------|--------------|
145
- | [Item 1] | [Item 1] |
146
- | [Item 2] | [Item 2] |
147
-
148
- ## High-Level Acceptance Criteria
149
- - [ ] [Criterion 1]
150
- - [ ] [Criterion 2]
151
- - [ ] [Criterion 3]
152
- - [ ] [Criterion 4]
153
-
154
- ## Dependencies
155
- - **Prerequisite EPICs:** [EPIC-XXX, EPIC-XXX] or None
156
- - **External Dependencies:** [Systems, teams, data]
157
- - **Technical Prerequisites:** [Infrastructure, APIs, etc.]
158
-
159
- ## Complexity Assessment
160
- - **Size:** [S / M / L / XL]
161
- - **Technical Complexity:** [Low / Medium / High]
162
- - **Integration Complexity:** [Low / Medium / High]
163
- - **Estimated Story Count:** [Range]
164
-
165
- ## Risks & Assumptions
166
- **Assumptions:**
167
- - [Assumption 1]
168
- - [Assumption 2]
169
-
170
- **Risks:**
171
- - [Risk 1]
172
- - [Risk 2]
173
-
174
- ## Related EPICs
175
- - **Depends On:** [EPIC-XXX]
176
- - **Blocks:** [EPIC-XXX]
177
- - **Related:** [EPIC-XXX]
178
- ```
179
-
180
- # Quality Standards
181
- - Every functional requirement must map to at least one EPIC
182
- - Each EPIC must have clear, measurable acceptance criteria
183
- - Dependencies must form a valid directed acyclic graph (no circular dependencies)
184
- - EPIC sizing should allow decomposition into 5-15 user stories
185
- - Business value must be articulated in user/business terms, not technical terms
186
- - All assumptions must be explicitly stated
187
-
188
- # Special Instructions
189
- - If FSD and TDD conflict, note the conflict and use FSD as the authority for functional scope
190
- - If wireframes show features not in FSD/TDD, flag as "Potential Scope Addition"
191
- - Group infrastructure/DevOps requirements into dedicated technical EPICs
192
- - Non-functional requirements (security, performance) should be integrated into relevant EPICs AND have a dedicated NFR EPIC if substantial
193
- - Use consistent naming convention: EPIC-[3-digit number]: [Verb] [Object] [Qualifier]
194
-
195
- # Verification Checklist
196
- After generating EPICs, verify:
197
- - [ ] 100% of FSD functional requirements are covered
198
- - [ ] All TDD components have corresponding EPICs
199
- - [ ] No orphaned wireframe screens
200
- - [ ] Dependency chain is logical and achievable
201
- - [ ] Each EPIC is independently valuable
202
- - [ ] Complexity assessments are consistent
203
- - [ ] Traceability is complete and accurate
204
-
@@ -1,63 +0,0 @@
1
- ---
2
- name: epic-single
3
- description: Generate a single well-defined Jira Epic
4
- ---
5
-
6
- Your job is to take a user requirement and structure it into **a single, well-defined Jira Epic**.
7
-
8
- ### Input
9
- {USER_REQUIREMENT}
10
-
11
- ### Output Rules
12
- - Use **Markdown format only**
13
- - Focus on defining **one Epic** that captures the main capability or user workflow
14
- - Title must be **business-focused**, not technical
15
- - The Epic should represent a cohesive, deliverable outcome
16
-
17
- ### Output Structure
18
-
19
- ## 🧠 Epic: {Epic Title}
20
-
21
- ### 🎯 Epic Goal
22
- We need to {MAIN OBJECTIVE} in order for {TARGET USER} to {EXPECTED VALUE}
23
-
24
- ### 🚀 Definition of Done
25
- - DoD1
26
- - DoD2
27
- - DoD3
28
- (add more if needed)
29
-
30
- ### 📌 High-Level Scope (Included)
31
- - Scope item 1
32
- - Scope item 2
33
- - Scope item 3
34
-
35
- ### ❌ Out of Scope
36
- - OOS item 1
37
- - OOS item 2
38
-
39
- ### 📁 Deliverables
40
- - Deliverable 1
41
- - Deliverable 2
42
-
43
- ### 🧩 Dependencies
44
- - Dependency 1 (TBD if unknown)
45
-
46
- ### ⚠️ Risks / Assumptions
47
- - Risk or assumption 1
48
- - Risk or assumption 2
49
-
50
- ### 🎯 Success Metrics
51
- - Metric 1
52
- - Metric 2
53
-
54
- ## WORKFLOW STEPS
55
- 1. Read the user's requirement input
56
- 2. Generate a unique, URL-friendly slug from the epic title (lowercase, hyphen-separated)
57
- 3. Create the directory `prompter/<slug>/` if it doesn't exist
58
- 4. Generate the complete Epic following all requirements above
59
- 5. Save the Epic to `prompter/<slug>/epic.md`
60
- 6. Report the saved file path
61
-
62
- ## REFERENCE
63
- - Read `prompter/project.md` for project context if needed