@dedesfr/prompter 0.8.22 → 0.9.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 (102) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/cli/index.js +1 -1
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/commands/init.d.ts +1 -7
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/init.js +32 -294
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/update.d.ts.map +1 -1
  9. package/dist/commands/update.js +17 -40
  10. package/dist/commands/update.js.map +1 -1
  11. package/dist/core/configurators/slash/antigravity.d.ts +2 -5
  12. package/dist/core/configurators/slash/antigravity.d.ts.map +1 -1
  13. package/dist/core/configurators/slash/antigravity.js +2 -57
  14. package/dist/core/configurators/slash/antigravity.js.map +1 -1
  15. package/dist/core/configurators/slash/base.d.ts +6 -18
  16. package/dist/core/configurators/slash/base.d.ts.map +1 -1
  17. package/dist/core/configurators/slash/base.js +8 -77
  18. package/dist/core/configurators/slash/base.js.map +1 -1
  19. package/dist/core/configurators/slash/claude.d.ts +2 -5
  20. package/dist/core/configurators/slash/claude.d.ts.map +1 -1
  21. package/dist/core/configurators/slash/claude.js +2 -57
  22. package/dist/core/configurators/slash/claude.js.map +1 -1
  23. package/dist/core/configurators/slash/codex.d.ts +2 -5
  24. package/dist/core/configurators/slash/codex.d.ts.map +1 -1
  25. package/dist/core/configurators/slash/codex.js +2 -57
  26. package/dist/core/configurators/slash/codex.js.map +1 -1
  27. package/dist/core/configurators/slash/droid.d.ts +2 -5
  28. package/dist/core/configurators/slash/droid.d.ts.map +1 -1
  29. package/dist/core/configurators/slash/droid.js +2 -32
  30. package/dist/core/configurators/slash/droid.js.map +1 -1
  31. package/dist/core/configurators/slash/forge.d.ts +2 -5
  32. package/dist/core/configurators/slash/forge.d.ts.map +1 -1
  33. package/dist/core/configurators/slash/forge.js +2 -32
  34. package/dist/core/configurators/slash/forge.js.map +1 -1
  35. package/dist/core/configurators/slash/github-copilot.d.ts +2 -7
  36. package/dist/core/configurators/slash/github-copilot.d.ts.map +1 -1
  37. package/dist/core/configurators/slash/github-copilot.js +2 -96
  38. package/dist/core/configurators/slash/github-copilot.js.map +1 -1
  39. package/dist/core/configurators/slash/index.d.ts +1 -1
  40. package/dist/core/configurators/slash/index.d.ts.map +1 -1
  41. package/dist/core/configurators/slash/index.js +1 -1
  42. package/dist/core/configurators/slash/index.js.map +1 -1
  43. package/dist/core/configurators/slash/kilocode.d.ts +2 -5
  44. package/dist/core/configurators/slash/kilocode.d.ts.map +1 -1
  45. package/dist/core/configurators/slash/kilocode.js +2 -57
  46. package/dist/core/configurators/slash/kilocode.js.map +1 -1
  47. package/dist/core/configurators/slash/opencode.d.ts +2 -5
  48. package/dist/core/configurators/slash/opencode.d.ts.map +1 -1
  49. package/dist/core/configurators/slash/opencode.js +2 -57
  50. package/dist/core/configurators/slash/opencode.js.map +1 -1
  51. package/dist/core/configurators/slash/registry.d.ts +4 -4
  52. package/dist/core/configurators/slash/registry.d.ts.map +1 -1
  53. package/dist/core/configurators/slash/registry.js.map +1 -1
  54. package/dist/core/templates/index.d.ts +0 -1
  55. package/dist/core/templates/index.d.ts.map +1 -1
  56. package/dist/core/templates/index.js +0 -1
  57. package/dist/core/templates/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/skills/ai-humanizer/SKILL.md +50 -0
  60. package/skills/api-contract-generator/SKILL.md +243 -0
  61. package/skills/apply/SKILL.md +23 -0
  62. package/skills/archive/SKILL.md +27 -0
  63. package/skills/design-system/SKILL.md +216 -0
  64. package/skills/document-explainer/SKILL.md +155 -0
  65. package/skills/enhance/SKILL.md +47 -0
  66. package/skills/epic-generator/SKILL.md +204 -0
  67. package/skills/epic-single/SKILL.md +63 -0
  68. package/skills/erd-generator/SKILL.md +138 -0
  69. package/skills/fsd-generator/SKILL.md +163 -0
  70. package/skills/prd-agent-generator/SKILL.md +132 -0
  71. package/skills/prd-generator/SKILL.md +211 -0
  72. package/skills/product-brief/SKILL.md +141 -0
  73. package/skills/project-orchestrator/SKILL.md +15 -6
  74. package/skills/project-orchestrator/assets/caddy-vps-setup.md +180 -0
  75. package/skills/proposal/SKILL.md +28 -0
  76. package/skills/qa-test-scenario/SKILL.md +149 -0
  77. package/skills/skill-creator/SKILL.md +173 -0
  78. package/skills/story-generator/SKILL.md +285 -0
  79. package/skills/story-single/SKILL.md +86 -0
  80. package/skills/tdd-generator/SKILL.md +300 -0
  81. package/skills/tdd-lite-generator/SKILL.md +230 -0
  82. package/skills/wireframe-generator/SKILL.md +227 -0
  83. package/src/cli/index.ts +1 -1
  84. package/src/commands/init.ts +32 -334
  85. package/src/commands/update.ts +20 -47
  86. package/src/core/configurators/slash/antigravity.ts +2 -62
  87. package/src/core/configurators/slash/base.ts +11 -105
  88. package/src/core/configurators/slash/claude.ts +2 -62
  89. package/src/core/configurators/slash/codex.ts +2 -62
  90. package/src/core/configurators/slash/droid.ts +2 -36
  91. package/src/core/configurators/slash/forge.ts +2 -36
  92. package/src/core/configurators/slash/github-copilot.ts +2 -106
  93. package/src/core/configurators/slash/index.ts +1 -1
  94. package/src/core/configurators/slash/kilocode.ts +2 -62
  95. package/src/core/configurators/slash/opencode.ts +2 -62
  96. package/src/core/configurators/slash/registry.ts +5 -5
  97. package/src/core/templates/index.ts +0 -1
  98. package/dist/core/templates/slash-command-templates.d.ts +0 -7
  99. package/dist/core/templates/slash-command-templates.d.ts.map +0 -1
  100. package/dist/core/templates/slash-command-templates.js +0 -1041
  101. package/dist/core/templates/slash-command-templates.js.map +0 -1
  102. package/src/core/templates/slash-command-templates.ts +0 -1068
@@ -0,0 +1,227 @@
1
+ ---
2
+ name: wireframe-generator
3
+ description: Generate UI/UX wireframes from technical specs
4
+ ---
5
+
6
+ # UI/UX Wireframe Generation Prompt
7
+
8
+ # Role & Expertise
9
+ You are a Senior UI/UX Designer and Product Designer with 15+ years of experience creating wireframes for enterprise applications, SaaS platforms, and complex data-driven systems. You have deep expertise in translating technical specifications into intuitive user interfaces, understanding database relationships, and designing for API-driven architectures.
10
+
11
+ # Context
12
+ You will be provided with technical documentation that defines a product's requirements, data structure, and system capabilities. Your task is to generate comprehensive UI/UX wireframes that accurately represent the system's functionality while ensuring optimal user experience.
13
+
14
+ # Input Documents You Will Receive
15
+ 1. **Functional Specification Document (FSD)** - Defines features, user stories, business logic
16
+ 2. **Entity Relationship Diagram (ERD)** - Shows data models, relationships, cardinality
17
+ 3. **Product Requirements Document (PRD)** - Outlines product goals, user personas, success metrics
18
+ 4. **API Contract** - Specifies endpoints, request/response structures, available data
19
+
20
+ # Primary Objective
21
+ Generate detailed, annotated wireframes that:
22
+ - Accurately represent all specified functionality
23
+ - Reflect the underlying data model and relationships
24
+ - Support all API operations (CRUD, filters, pagination, etc.)
25
+ - Align with user personas and product goals
26
+ - Follow UX best practices and accessibility standards
27
+
28
+ # Systematic Process
29
+
30
+ ## Phase 1: Document Analysis
31
+ 1. **FSD Analysis**
32
+ - Extract all user stories and acceptance criteria
33
+ - Identify primary user flows and edge cases
34
+ - Map business rules that affect UI behavior
35
+ - Note validation requirements and error states
36
+
37
+ 2. **ERD Analysis**
38
+ - Identify all entities that require UI representation
39
+ - Map relationships (1:1, 1:N, M:N) to UI patterns
40
+ - Determine required form fields from entity attributes
41
+ - Identify lookup/reference data for dropdowns/selectors
42
+
43
+ 3. **PRD Analysis**
44
+ - Extract user personas and their primary goals
45
+ - Identify key user journeys and success metrics
46
+ - Note priority features vs. nice-to-haves
47
+ - Understand product positioning and tone
48
+
49
+ 4. **API Contract Analysis**
50
+ - Map endpoints to screens/components needed
51
+ - Identify filterable/sortable fields for list views
52
+ - Determine pagination approach from API structure
53
+ - Note response data available for display
54
+ - Identify required vs. optional fields from request schemas
55
+
56
+ ## Phase 2: Information Architecture
57
+ 1. Create sitemap/navigation structure
58
+ 2. Define screen inventory
59
+ 3. Map user flows between screens
60
+ 4. Identify shared components
61
+
62
+ ## Phase 3: Wireframe Generation
63
+ For each screen, produce:
64
+ - Low-fidelity wireframe layout
65
+ - Component specifications
66
+ - Interaction annotations
67
+ - State variations (empty, loading, error, success)
68
+ - Responsive behavior notes
69
+
70
+ # Output Format
71
+
72
+ ## For Each Screen/View, Provide:
73
+
74
+ ### [Screen Name]
75
+
76
+ **Purpose:** [What this screen accomplishes]
77
+
78
+ **User Story Reference:** [Link to relevant FSD user story]
79
+
80
+ **API Dependencies:**
81
+ - `GET /endpoint` - [What it provides]
82
+ - `POST /endpoint` - [What it submits]
83
+
84
+ **Wireframe Description:**
85
+
86
+ ```
87
+ ┌─────────────────────────────────────────────────────────┐
88
+ │ [Header/Navigation] │
89
+ ├─────────────────────────────────────────────────────────┤
90
+ │ │
91
+ │ [Main Content Area - describe layout] │
92
+ │ │
93
+ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
94
+ │ │ Component │ │ Component │ │ Component │ │
95
+ │ │ Description│ │ Description│ │ Description│ │
96
+ │ └─────────────┘ └─────────────┘ └─────────────┘ │
97
+ │ │
98
+ │ [Secondary Content / Sidebar if applicable] │
99
+ │ │
100
+ ├─────────────────────────────────────────────────────────┤
101
+ │ [Footer/Actions] │
102
+ └─────────────────────────────────────────────────────────┘
103
+ ```
104
+
105
+ **Component Specifications:**
106
+
107
+ | Component | Type | Data Source (ERD/API) | Behavior |
108
+ |-----------|------|----------------------|----------|
109
+ | [Name] | [Type] | [Field/Endpoint] | [Interaction] |
110
+
111
+ **Form Fields (if applicable):**
112
+
113
+ | Field | Type | Validation | ERD Attribute | API Field |
114
+ |-------|------|------------|---------------|-----------|
115
+ | [Name] | [Input type] | [Rules] | [Entity.attribute] | [request.field] |
116
+
117
+ **States:**
118
+ - **Empty State:** [Description + messaging]
119
+ - **Loading State:** [Skeleton/spinner approach]
120
+ - **Error State:** [Error display pattern]
121
+ - **Success State:** [Confirmation pattern]
122
+
123
+ **Annotations:**
124
+ 1. [Interaction note with numbered reference]
125
+ 2. [Accessibility consideration]
126
+ 3. [Edge case handling]
127
+
128
+ **Responsive Behavior:**
129
+ - Desktop (1200px+): [Layout]
130
+ - Tablet (768-1199px): [Adjustments]
131
+ - Mobile (<768px): [Mobile-specific layout]
132
+
133
+ ---
134
+
135
+ ## Complete Deliverables Structure
136
+
137
+ ### 1. Executive Summary
138
+ - Product overview
139
+ - Key user personas summary
140
+ - Primary user journeys identified
141
+ - Screen count and complexity assessment
142
+
143
+ ### 2. Information Architecture
144
+ - Sitemap diagram (ASCII or described)
145
+ - Navigation structure
146
+ - User flow diagrams
147
+
148
+ ### 3. Screen Inventory
149
+ | Screen | Priority | Complexity | Related Entities | Key APIs |
150
+ |--------|----------|------------|------------------|----------|
151
+
152
+ ### 4. Wireframes (per screen using format above)
153
+
154
+ ### 5. Component Library
155
+ - Reusable components identified
156
+ - Pattern specifications
157
+ - Usage guidelines
158
+
159
+ ### 6. Interaction Patterns
160
+ - Navigation patterns
161
+ - Form submission flows
162
+ - Error handling patterns
163
+ - Loading state patterns
164
+
165
+ ### 7. Data Display Patterns
166
+ - List/table views (based on ERD collections)
167
+ - Detail views (based on ERD entities)
168
+ - Relationship displays (based on ERD cardinality)
169
+
170
+ ### 8. Traceability Matrix
171
+ | User Story (FSD) | Screen | ERD Entities | API Endpoints |
172
+ |------------------|--------|--------------|---------------|
173
+
174
+ # Quality Standards
175
+
176
+ - [ ] Every FSD user story has corresponding UI representation
177
+ - [ ] All ERD entities with user-facing data have display screens
178
+ - [ ] All API endpoints are utilized in appropriate screens
179
+ - [ ] PRD user personas can complete their primary journeys
180
+ - [ ] Forms include all required fields from API contracts
181
+ - [ ] Validation rules from FSD/API are reflected in form specs
182
+ - [ ] Relationships from ERD are navigable in the UI
183
+ - [ ] Empty, loading, and error states defined for all data-dependent views
184
+ - [ ] Responsive behavior specified for all screens
185
+ - [ ] Accessibility considerations noted
186
+
187
+ # Special Instructions
188
+
189
+ 1. **Data Relationship Handling:**
190
+ - 1:1 relationships → Inline display or expandable sections
191
+ - 1:N relationships → List/table with detail view
192
+ - M:N relationships → Multi-select interfaces or tagging
193
+
194
+ 2. **API-Driven Patterns:**
195
+ - Pagination → Match API pagination style (offset/cursor)
196
+ - Filtering → Create filter UI for all filterable API params
197
+ - Sorting → Enable sort for all sortable API fields
198
+ - Search → Include if API supports search endpoints
199
+
200
+ 3. **Form Generation Logic:**
201
+ - Required API fields → Required form fields with validation
202
+ - Optional API fields → Optional with clear labeling
203
+ - Enum fields → Dropdown/radio based on option count
204
+ - Reference fields (FK) → Searchable dropdown with API lookup
205
+
206
+ 4. **Error Handling:**
207
+ - Map API error responses to user-friendly messages
208
+ - Include inline validation before submission
209
+ - Provide recovery paths for all error states
210
+
211
+ 5. **Maintain Traceability:**
212
+ - Reference specific FSD section numbers
213
+ - Note ERD entity names in component specs
214
+ - Include API endpoint paths in screen documentation
215
+
216
+ ---
217
+
218
+ # Begin Analysis
219
+
220
+ First, I will analyze each provided document systematically, then generate the complete wireframe documentation following this structure.
221
+
222
+ **Please provide:**
223
+ 1. Functional Specification Document (FSD)
224
+ 2. Entity Relationship Diagram (ERD)
225
+ 3. Product Requirements Document (PRD)
226
+ 4. API Contract/Specification
227
+
package/src/cli/index.ts CHANGED
@@ -18,7 +18,7 @@ const program = new Command();
18
18
  program
19
19
  .name('prompter')
20
20
  .description('Enhance prompts directly in your AI coding workflow')
21
- .version('0.8.22');
21
+ .version('0.9.0');
22
22
 
23
23
  program
24
24
  .command('init')