@builderos/create-agent-os 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/README.md +39 -0
  2. package/bin/cli.js +133 -0
  3. package/package.json +40 -0
  4. package/src/template/App.tsx +68 -0
  5. package/src/template/agent-os/commands/create-tasks/1-get-spec-requirements.md +19 -0
  6. package/src/template/agent-os/commands/create-tasks/2-create-tasks-list.md +234 -0
  7. package/src/template/agent-os/commands/create-tasks/create-tasks.md +254 -0
  8. package/src/template/agent-os/commands/design-screen/design-screen.md +32 -0
  9. package/src/template/agent-os/commands/design-shell/design-shell.md +34 -0
  10. package/src/template/agent-os/commands/design-tokens/design-tokens.md +36 -0
  11. package/src/template/agent-os/commands/export-product/export-product.md +44 -0
  12. package/src/template/agent-os/commands/implement-tasks/1-determine-tasks.md +13 -0
  13. package/src/template/agent-os/commands/implement-tasks/2-implement-tasks.md +63 -0
  14. package/src/template/agent-os/commands/implement-tasks/3-verify-implementation.md +113 -0
  15. package/src/template/agent-os/commands/implement-tasks/implement-tasks.md +207 -0
  16. package/src/template/agent-os/commands/initialize-design/initialize-design.md +54 -0
  17. package/src/template/agent-os/commands/orchestrate-tasks/orchestrate-tasks.md +180 -0
  18. package/src/template/agent-os/commands/plan-product/1-product-concept.md +53 -0
  19. package/src/template/agent-os/commands/plan-product/2-create-mission.md +78 -0
  20. package/src/template/agent-os/commands/plan-product/3-create-roadmap.md +73 -0
  21. package/src/template/agent-os/commands/plan-product/4-create-tech-stack.md +46 -0
  22. package/src/template/agent-os/commands/plan-product/plan-product.md +241 -0
  23. package/src/template/agent-os/commands/sample-data/sample-data.md +51 -0
  24. package/src/template/agent-os/commands/scaffold-implementation/scaffold-implementation.md +36 -0
  25. package/src/template/agent-os/commands/screenshot-design/screenshot-design.md +21 -0
  26. package/src/template/agent-os/commands/shape-spec/1-initialize-spec.md +95 -0
  27. package/src/template/agent-os/commands/shape-spec/2-shape-spec.md +300 -0
  28. package/src/template/agent-os/commands/shape-spec/shape-spec.md +40 -0
  29. package/src/template/agent-os/commands/write-spec/write-spec.md +134 -0
  30. package/src/template/agent-os/config.yml +13 -0
  31. package/src/template/agent-os/product/mission.md +29 -0
  32. package/src/template/agent-os/product/roadmap.md +9 -0
  33. package/src/template/agent-os/product/tech-stack.md +14 -0
  34. package/src/template/agent-os/specs/README.md +1 -0
  35. package/src/template/agent-os/standards/backend/api.md +10 -0
  36. package/src/template/agent-os/standards/backend/migrations.md +9 -0
  37. package/src/template/agent-os/standards/backend/models.md +10 -0
  38. package/src/template/agent-os/standards/backend/queries.md +9 -0
  39. package/src/template/agent-os/standards/frontend/accessibility.md +10 -0
  40. package/src/template/agent-os/standards/frontend/components.md +11 -0
  41. package/src/template/agent-os/standards/frontend/css.md +7 -0
  42. package/src/template/agent-os/standards/frontend/responsive.md +11 -0
  43. package/src/template/agent-os/standards/global/coding-style.md +10 -0
  44. package/src/template/agent-os/standards/global/commenting.md +5 -0
  45. package/src/template/agent-os/standards/global/conventions.md +11 -0
  46. package/src/template/agent-os/standards/global/error-handling.md +9 -0
  47. package/src/template/agent-os/standards/global/tech-stack.md +31 -0
  48. package/src/template/agent-os/standards/global/validation.md +11 -0
  49. package/src/template/agent-os/standards/testing/test-writing.md +9 -0
  50. package/src/template/agent-os-ui/README.md +73 -0
  51. package/src/template/agent-os-ui/package-lock.json +5028 -0
  52. package/src/template/agent-os-ui/package.json +52 -0
  53. package/src/template/agent-os-ui/postcss.config.js +6 -0
  54. package/src/template/agent-os-ui/src/components/AgentShell.tsx +31 -0
  55. package/src/template/agent-os-ui/src/components/AgentSidebar.tsx +65 -0
  56. package/src/template/agent-os-ui/src/components/GuidanceCard.tsx +75 -0
  57. package/src/template/agent-os-ui/src/components/MarkdownViewer.tsx +25 -0
  58. package/src/template/agent-os-ui/src/components/PromptButton.tsx +28 -0
  59. package/src/template/agent-os-ui/src/components/StatusItem.tsx +45 -0
  60. package/src/template/agent-os-ui/src/components/ThemeToggle.tsx +72 -0
  61. package/src/template/agent-os-ui/src/index.ts +11 -0
  62. package/src/template/agent-os-ui/src/style.css +3 -0
  63. package/src/template/agent-os-ui/tailwind.config.js +50 -0
  64. package/src/template/agent-os-ui/tsconfig.json +33 -0
  65. package/src/template/agent-os-ui/vite.config.ts +32 -0
  66. package/src/template/control-center/backend/backend.log +2 -0
  67. package/src/template/control-center/backend/index.js +228 -0
  68. package/src/template/control-center/backend/package-lock.json +951 -0
  69. package/src/template/control-center/backend/package.json +19 -0
  70. package/src/template/control-center/frontend/README.md +73 -0
  71. package/src/template/control-center/frontend/eslint.config.js +23 -0
  72. package/src/template/control-center/frontend/index.html +21 -0
  73. package/src/template/control-center/frontend/package-lock.json +5752 -0
  74. package/src/template/control-center/frontend/package.json +42 -0
  75. package/src/template/control-center/frontend/public/runtime-config.json +11 -0
  76. package/src/template/control-center/frontend/public/vite.svg +1 -0
  77. package/src/template/control-center/frontend/src/App.css +42 -0
  78. package/src/template/control-center/frontend/src/App.tsx +738 -0
  79. package/src/template/control-center/frontend/src/assets/react.svg +1 -0
  80. package/src/template/control-center/frontend/src/components/ThemeToggle.tsx +64 -0
  81. package/src/template/control-center/frontend/src/components/ui/ToastContext.tsx +81 -0
  82. package/src/template/control-center/frontend/src/index.css +194 -0
  83. package/src/template/control-center/frontend/src/main.tsx +14 -0
  84. package/src/template/control-center/frontend/src/vite-env.d.ts +1 -0
  85. package/src/template/control-center/frontend/tsconfig.app.json +28 -0
  86. package/src/template/control-center/frontend/tsconfig.json +7 -0
  87. package/src/template/control-center/frontend/tsconfig.node.json +26 -0
  88. package/src/template/control-center/frontend/vite.config.ts +22 -0
  89. package/src/template/design/.claude/commands/design-os/data-model.md +122 -0
  90. package/src/template/design/.claude/commands/design-os/design-screen.md +309 -0
  91. package/src/template/design/.claude/commands/design-os/design-shell.md +238 -0
  92. package/src/template/design/.claude/commands/design-os/design-tokens.md +166 -0
  93. package/src/template/design/.claude/commands/design-os/export-product.md +1105 -0
  94. package/src/template/design/.claude/commands/design-os/product-roadmap.md +121 -0
  95. package/src/template/design/.claude/commands/design-os/product-vision.md +99 -0
  96. package/src/template/design/.claude/commands/design-os/sample-data.md +263 -0
  97. package/src/template/design/.claude/commands/design-os/screenshot-design.md +112 -0
  98. package/src/template/design/.claude/commands/design-os/shape-section.md +138 -0
  99. package/src/template/design/.claude/skills/frontend-design/SKILL.md +42 -0
  100. package/src/template/design/.github/CODE_OF_CONDUCT.md +5 -0
  101. package/src/template/design/.github/CONTRIBUTING.md +51 -0
  102. package/src/template/design/.github/ISSUE_TEMPLATE/config.yml +22 -0
  103. package/src/template/design/.github/PULL_REQUEST_TEMPLATE.md +20 -0
  104. package/src/template/design/.github/SECURITY.yml +5 -0
  105. package/src/template/design/.github/SUPPORT.md +19 -0
  106. package/src/template/design/.github/workflows/pr-decline.yml +135 -0
  107. package/src/template/design/.github/workflows/stale.yml +25 -0
  108. package/src/template/design/CHANGELOG.md +13 -0
  109. package/src/template/design/LICENSE +21 -0
  110. package/src/template/design/README.md +54 -0
  111. package/src/template/design/agents.md +218 -0
  112. package/src/template/design/claude.md +1 -0
  113. package/src/template/design/components.json +22 -0
  114. package/src/template/design/docs/codebase-implementation.md +153 -0
  115. package/src/template/design/docs/design-section.md +135 -0
  116. package/src/template/design/docs/export.md +149 -0
  117. package/src/template/design/docs/getting-started.md +59 -0
  118. package/src/template/design/docs/index.md +56 -0
  119. package/src/template/design/docs/product-planning.md +113 -0
  120. package/src/template/design/docs/requirements.md +22 -0
  121. package/src/template/design/docs/usage.md +62 -0
  122. package/src/template/design/eslint.config.js +23 -0
  123. package/src/template/design/index.html +21 -0
  124. package/src/template/design/package-lock.json +5473 -0
  125. package/src/template/design/package.json +47 -0
  126. package/src/template/design/product-plan.zip +0 -0
  127. package/src/template/design/public/vite.svg +1 -0
  128. package/src/template/design/src/assets/react.svg +1 -0
  129. package/src/template/design/src/components/AppLayout.tsx +95 -0
  130. package/src/template/design/src/components/DataCard.tsx +139 -0
  131. package/src/template/design/src/components/DataModelPage.tsx +120 -0
  132. package/src/template/design/src/components/DesignPage.tsx +284 -0
  133. package/src/template/design/src/components/EmptyState.tsx +155 -0
  134. package/src/template/design/src/components/ExportPage.tsx +344 -0
  135. package/src/template/design/src/components/NextPhaseButton.tsx +33 -0
  136. package/src/template/design/src/components/PhaseNav.tsx +152 -0
  137. package/src/template/design/src/components/PhaseWarningBanner.tsx +81 -0
  138. package/src/template/design/src/components/ProductOverviewCard.tsx +102 -0
  139. package/src/template/design/src/components/ProductPage.tsx +97 -0
  140. package/src/template/design/src/components/ScreenDesignPage.tsx +370 -0
  141. package/src/template/design/src/components/ScreenDesignsCard.tsx +49 -0
  142. package/src/template/design/src/components/SectionPage.tsx +256 -0
  143. package/src/template/design/src/components/SectionsCard.tsx +47 -0
  144. package/src/template/design/src/components/SectionsPage.tsx +181 -0
  145. package/src/template/design/src/components/ShellCard.tsx +85 -0
  146. package/src/template/design/src/components/ShellDesignPage.tsx +242 -0
  147. package/src/template/design/src/components/SpecCard.tsx +121 -0
  148. package/src/template/design/src/components/StepIndicator.tsx +75 -0
  149. package/src/template/design/src/components/ThemeToggle.tsx +86 -0
  150. package/src/template/design/src/components/ui/ToastContext.tsx +81 -0
  151. package/src/template/design/src/components/ui/avatar.tsx +53 -0
  152. package/src/template/design/src/components/ui/badge.tsx +46 -0
  153. package/src/template/design/src/components/ui/button.tsx +60 -0
  154. package/src/template/design/src/components/ui/card.tsx +92 -0
  155. package/src/template/design/src/components/ui/collapsible.tsx +48 -0
  156. package/src/template/design/src/components/ui/dialog.tsx +143 -0
  157. package/src/template/design/src/components/ui/dropdown-menu.tsx +255 -0
  158. package/src/template/design/src/components/ui/input.tsx +21 -0
  159. package/src/template/design/src/components/ui/label.tsx +22 -0
  160. package/src/template/design/src/components/ui/progress.tsx +24 -0
  161. package/src/template/design/src/components/ui/scroll-area.tsx +18 -0
  162. package/src/template/design/src/components/ui/select.tsx +67 -0
  163. package/src/template/design/src/components/ui/separator.tsx +28 -0
  164. package/src/template/design/src/components/ui/sheet.tsx +137 -0
  165. package/src/template/design/src/components/ui/skeleton.tsx +13 -0
  166. package/src/template/design/src/components/ui/switch.tsx +46 -0
  167. package/src/template/design/src/components/ui/table.tsx +116 -0
  168. package/src/template/design/src/components/ui/tabs.tsx +64 -0
  169. package/src/template/design/src/index.css +284 -0
  170. package/src/template/design/src/lib/data-model-loader.ts +91 -0
  171. package/src/template/design/src/lib/design-system-loader.ts +101 -0
  172. package/src/template/design/src/lib/product-loader.ts +221 -0
  173. package/src/template/design/src/lib/router.tsx +52 -0
  174. package/src/template/design/src/lib/section-loader.ts +272 -0
  175. package/src/template/design/src/lib/shell-loader.ts +175 -0
  176. package/src/template/design/src/lib/utils.ts +6 -0
  177. package/src/template/design/src/main.tsx +15 -0
  178. package/src/template/design/src/sections/.gitkeep +0 -0
  179. package/src/template/design/src/sections/ai-orchestration-engine-oai/OrchestrationEngine.tsx +348 -0
  180. package/src/template/design/src/sections/core-platform-shell/AppShell.tsx +403 -0
  181. package/src/template/design/src/sections/gemini-live-integration/GeminiIntegration.tsx +332 -0
  182. package/src/template/design/src/sections/interactive-2d-canvas/WhiteboardCanvas.tsx +334 -0
  183. package/src/template/design/src/sections/participation-equity-tracker/EquityTracker.tsx +383 -0
  184. package/src/template/design/src/sections/persistent-memory-system/PersistentMemory.tsx +308 -0
  185. package/src/template/design/src/sections/real-time-communication-layer/VideoSession.tsx +342 -0
  186. package/src/template/design/src/sections/visual-intelligence-agents/VisualAgents.tsx +311 -0
  187. package/src/template/design/src/types/product.ts +97 -0
  188. package/src/template/design/src/types/section.ts +33 -0
  189. package/src/template/design/tsconfig.app.json +34 -0
  190. package/src/template/design/tsconfig.json +13 -0
  191. package/src/template/design/tsconfig.node.json +26 -0
  192. package/src/template/design/vite.config.ts +18 -0
  193. package/src/template/package.json +27 -0
  194. package/src/template/vite.config.ts +16 -0
@@ -0,0 +1,254 @@
1
+ I want you to create a tasks breakdown from a given spec and requirements for a new feature using the following MULTI-PHASE process and instructions.
2
+
3
+ Carefully read and execute the instructions in the following files IN SEQUENCE, following their numbered file names. Only proceed to the next numbered instruction file once the previous numbered instruction has been executed.
4
+
5
+ Instructions to follow in sequence:
6
+
7
+ # PHASE 1: Get Spec Requirements
8
+
9
+ The FIRST STEP is to make sure you have ONE OR BOTH of these files to inform your tasks breakdown:
10
+ - `agent-os/specs/[this-spec]/spec.md`
11
+ - `agent-os/specs/[this-spec]/planning/requirements.md`
12
+
13
+ IF you don't have ONE OR BOTH of those files in your current conversation context, then ask user to provide direction on where to you can find them by outputting the following request then wait for user's response:
14
+
15
+ "I'll need a spec.md or requirements.md (or both) in order to build a tasks list.
16
+
17
+ Please direct me to where I can find those. If you haven't created them yet, you can run /shape-spec or /write-spec."
18
+
19
+ # PHASE 2: Create Tasks List
20
+
21
+ Now that you have the spec.md AND/OR requirements.md, please break those down into an actionable tasks list with strategic grouping and ordering, by following these instructions:
22
+
23
+ # Task List Creation
24
+
25
+ ## Core Responsibilities
26
+
27
+ 1. **Analyze spec and requirements**: Read and analyze the spec.md and/or requirements.md to inform the tasks list you will create.
28
+ 2. **Plan task execution order**: Break the requirements into a list of tasks in an order that takes their dependencies into account.
29
+ 3. **Group tasks by specialization**: Group tasks that require the same skill or stack specialization together (backend, api, ui design, etc.)
30
+ 4. **Create Tasks list**: Create the markdown tasks list broken into groups with sub-tasks.
31
+
32
+ ## Workflow
33
+
34
+ ### Step 1: Analyze Spec & Requirements
35
+
36
+ Read each of these files (whichever are available) and analyze them to understand the requirements for this feature implementation:
37
+ - `agent-os/specs/[this-spec]/spec.md`
38
+ - `agent-os/specs/[this-spec]/planning/requirements.md`
39
+
40
+ Use your learnings to inform the tasks list and groupings you will create in the next step.
41
+
42
+
43
+ ### Step 2: Create Tasks Breakdown
44
+
45
+ Generate `agent-os/specs/[current-spec]/tasks.md`.
46
+
47
+ **Important**: The exact tasks, task groups, and organization will vary based on the feature's specific requirements. The following is an example format - adapt the content of the tasks list to match what THIS feature actually needs.
48
+
49
+ ```markdown
50
+ # Task Breakdown: [Feature Name]
51
+
52
+ ## Overview
53
+ Total Tasks: [count]
54
+
55
+ ## Task List
56
+
57
+ ### Database Layer
58
+
59
+ #### Task Group 1: Data Models and Migrations
60
+ **Dependencies:** None
61
+
62
+ - [ ] 1.0 Complete database layer
63
+ - [ ] 1.1 Write 2-8 focused tests for [Model] functionality
64
+ - Limit to 2-8 highly focused tests maximum
65
+ - Test only critical model behaviors (e.g., primary validation, key association, core method)
66
+ - Skip exhaustive coverage of all methods and edge cases
67
+ - [ ] 1.2 Create [Model] with validations
68
+ - Fields: [list]
69
+ - Validations: [list]
70
+ - Reuse pattern from: [existing model if applicable]
71
+ - [ ] 1.3 Create migration for [table]
72
+ - Add indexes for: [fields]
73
+ - Foreign keys: [relationships]
74
+ - [ ] 1.4 Set up associations
75
+ - [Model] has_many [related]
76
+ - [Model] belongs_to [parent]
77
+ - [ ] 1.5 Ensure database layer tests pass
78
+ - Run ONLY the 2-8 tests written in 1.1
79
+ - Verify migrations run successfully
80
+ - Do NOT run the entire test suite at this stage
81
+
82
+ **Acceptance Criteria:**
83
+ - The 2-8 tests written in 1.1 pass
84
+ - Models pass validation tests
85
+ - Migrations run successfully
86
+ - Associations work correctly
87
+
88
+ ### API Layer
89
+
90
+ #### Task Group 2: API Endpoints
91
+ **Dependencies:** Task Group 1
92
+
93
+ - [ ] 2.0 Complete API layer
94
+ - [ ] 2.1 Write 2-8 focused tests for API endpoints
95
+ - Limit to 2-8 highly focused tests maximum
96
+ - Test only critical controller actions (e.g., primary CRUD operation, auth check, key error case)
97
+ - Skip exhaustive testing of all actions and scenarios
98
+ - [ ] 2.2 Create [resource] controller
99
+ - Actions: index, show, create, update, destroy
100
+ - Follow pattern from: [existing controller]
101
+ - [ ] 2.3 Implement authentication/authorization
102
+ - Use existing auth pattern
103
+ - Add permission checks
104
+ - [ ] 2.4 Add API response formatting
105
+ - JSON responses
106
+ - Error handling
107
+ - Status codes
108
+ - [ ] 2.5 Ensure API layer tests pass
109
+ - Run ONLY the 2-8 tests written in 2.1
110
+ - Verify critical CRUD operations work
111
+ - Do NOT run the entire test suite at this stage
112
+
113
+ **Acceptance Criteria:**
114
+ - The 2-8 tests written in 2.1 pass
115
+ - All CRUD operations work
116
+ - Proper authorization enforced
117
+ - Consistent response format
118
+
119
+ ### Frontend Components
120
+
121
+ #### Task Group 3: UI Design
122
+ **Dependencies:** Task Group 2
123
+
124
+ - [ ] 3.0 Complete UI components
125
+ - [ ] 3.1 Write 2-8 focused tests for UI components
126
+ - Limit to 2-8 highly focused tests maximum
127
+ - Test only critical component behaviors (e.g., primary user interaction, key form submission, main rendering case)
128
+ - Skip exhaustive testing of all component states and interactions
129
+ - [ ] 3.2 Create [Component] component
130
+ - Reuse: [existing component] as base
131
+ - Props: [list]
132
+ - State: [list]
133
+ - [ ] 3.3 Implement [Feature] form
134
+ - Fields: [list]
135
+ - Validation: client-side
136
+ - Submit handling
137
+ - [ ] 3.4 Build [View] page
138
+ - Layout: [description]
139
+ - Components: [list]
140
+ - Match mockup: `planning/visuals/[file]`
141
+ - [ ] 3.5 Apply base styles
142
+ - Follow existing design system
143
+ - Use variables from: [style file]
144
+ - [ ] 3.6 Implement responsive design
145
+ - Mobile: 320px - 768px
146
+ - Tablet: 768px - 1024px
147
+ - Desktop: 1024px+
148
+ - [ ] 3.7 Add interactions and animations
149
+ - Hover states
150
+ - Transitions
151
+ - Loading states
152
+ - [ ] 3.8 Ensure UI component tests pass
153
+ - Run ONLY the 2-8 tests written in 3.1
154
+ - Verify critical component behaviors work
155
+ - Do NOT run the entire test suite at this stage
156
+
157
+ **Acceptance Criteria:**
158
+ - The 2-8 tests written in 3.1 pass
159
+ - Components render correctly
160
+ - Forms validate and submit
161
+ - Matches visual design
162
+
163
+ ### Testing
164
+
165
+ #### Task Group 4: Test Review & Gap Analysis
166
+ **Dependencies:** Task Groups 1-3
167
+
168
+ - [ ] 4.0 Review existing tests and fill critical gaps only
169
+ - [ ] 4.1 Review tests from Task Groups 1-3
170
+ - Review the 2-8 tests written by database-engineer (Task 1.1)
171
+ - Review the 2-8 tests written by api-engineer (Task 2.1)
172
+ - Review the 2-8 tests written by ui-designer (Task 3.1)
173
+ - Total existing tests: approximately 6-24 tests
174
+ - [ ] 4.2 Analyze test coverage gaps for THIS feature only
175
+ - Identify critical user workflows that lack test coverage
176
+ - Focus ONLY on gaps related to this spec's feature requirements
177
+ - Do NOT assess entire application test coverage
178
+ - Prioritize end-to-end workflows over unit test gaps
179
+ - [ ] 4.3 Write up to 10 additional strategic tests maximum
180
+ - Add maximum of 10 new tests to fill identified critical gaps
181
+ - Focus on integration points and end-to-end workflows
182
+ - Do NOT write comprehensive coverage for all scenarios
183
+ - Skip edge cases, performance tests, and accessibility tests unless business-critical
184
+ - [ ] 4.4 Run feature-specific tests only
185
+ - Run ONLY tests related to this spec's feature (tests from 1.1, 2.1, 3.1, and 4.3)
186
+ - Expected total: approximately 16-34 tests maximum
187
+ - Do NOT run the entire application test suite
188
+ - Verify critical workflows pass
189
+
190
+ **Acceptance Criteria:**
191
+ - All feature-specific tests pass (approximately 16-34 tests total)
192
+ - Critical user workflows for this feature are covered
193
+ - No more than 10 additional tests added when filling in testing gaps
194
+ - Testing focused exclusively on this spec's feature requirements
195
+
196
+ ## Execution Order
197
+
198
+ Recommended implementation sequence:
199
+ 1. Database Layer (Task Group 1)
200
+ 2. API Layer (Task Group 2)
201
+ 3. Frontend Design (Task Group 3)
202
+ 4. Test Review & Gap Analysis (Task Group 4)
203
+ ```
204
+
205
+ **Note**: Adapt this structure based on the actual feature requirements. Some features may need:
206
+ - Different task groups (e.g., email notifications, payment processing, data migration)
207
+ - Different execution order based on dependencies
208
+ - More or fewer sub-tasks per group
209
+
210
+ ## Important Constraints
211
+
212
+ - **Create tasks that are specific and verifiable**
213
+ - **Group related tasks:** For example, group back-end engineering tasks together and front-end UI tasks together.
214
+ - **Limit test writing during development**:
215
+ - Each task group (1-3) should write 2-8 focused tests maximum
216
+ - Tests should cover only critical behaviors, not exhaustive coverage
217
+ - Test verification should run ONLY the newly written tests, not the entire suite
218
+ - If there is a dedicated test coverage group for filling in gaps in test coverage, this group should add only a maximum of 10 additional tests IF NECESSARY to fill critical gaps
219
+ - **Use a focused test-driven approach** where each task group starts with writing 2-8 tests (x.1 sub-task) and ends with running ONLY those tests (final sub-task)
220
+ - **Include acceptance criteria** for each task group
221
+ - **Reference visual assets** if visuals are available
222
+
223
+
224
+ ## Display confirmation and next step
225
+
226
+ Display the following message to the user:
227
+
228
+ ```
229
+ The tasks list has created at `agent-os/specs/[this-spec]/tasks.md`.
230
+
231
+ Review it closely to make sure it all looks good.
232
+
233
+ NEXT STEP 👉 Run `/implement-tasks` (simple, effective) or `/orchestrate-tasks` (advanced, powerful) to start building!
234
+ ```
235
+
236
+ ## User Standards & Preferences Compliance
237
+
238
+ IMPORTANT: Ensure that the tasks list is ALIGNED and DOES NOT CONFLICT with the user's preferences and standards as detailed in the following files:
239
+
240
+ @agent-os/standards/backend/api.md
241
+ @agent-os/standards/backend/migrations.md
242
+ @agent-os/standards/backend/models.md
243
+ @agent-os/standards/backend/queries.md
244
+ @agent-os/standards/frontend/accessibility.md
245
+ @agent-os/standards/frontend/components.md
246
+ @agent-os/standards/frontend/css.md
247
+ @agent-os/standards/frontend/responsive.md
248
+ @agent-os/standards/global/coding-style.md
249
+ @agent-os/standards/global/commenting.md
250
+ @agent-os/standards/global/conventions.md
251
+ @agent-os/standards/global/error-handling.md
252
+ @agent-os/standards/global/tech-stack.md
253
+ @agent-os/standards/global/validation.md
254
+ @agent-os/standards/testing/test-writing.md
@@ -0,0 +1,32 @@
1
+ # COMMAND: Design Screen Component
2
+
3
+ ## Goal
4
+ Implement a React component for a specific screen design within a section.
5
+
6
+ ## Prerequisites
7
+ - `design/product/sections/[section-id]/spec.md` (for requirements).
8
+ - `design/product/sections/[section-id]/data.json` (for sample data).
9
+ - `design/src/components/ui` (Design System components must be used).
10
+ - You must know the **Section Title** and **Section ID**.
11
+
12
+ ## Instructions
13
+
14
+ ### Step 1: Analyze Requirements
15
+ - Read the Spec to understand the user flow and UI requirements.
16
+ - Read the Data to understand the content structure.
17
+
18
+ ### Step 2: Create Component
19
+ Create `design/src/sections/[section-id]/[ComponentName].tsx`.
20
+
21
+ **Guidelines:**
22
+ - Use `lucide-react` for icons.
23
+ - Use `Tailwind CSS` for styling (matching `colors.json` and `typography.json`).
24
+ - Import UI components from `@/components/ui/...`.
25
+ - **Mock Data**: Import data from the section's `data.json` if possible, or define strictly typed mock data within the file matching the real data structure.
26
+ - **Props**: The component can accept props but should have a default export with no required props for easy rendering in the viewer.
27
+
28
+ ### Step 3: Register Component
29
+ (Note: The `section-loader.ts` will automatically pick up any `.tsx` file in `src/sections/[id]/` as a screen design. No manual registration needed.)
30
+
31
+ ### Step 4: Verification
32
+ - Output: "Screen design '[ComponentName]' created! You can now view it in Design OS."
@@ -0,0 +1,34 @@
1
+ # COMMAND: Generate App Shell
2
+
3
+ ## Goal
4
+ Design the application shell (navigation, layout) for the product.
5
+
6
+ ## Prerequisites
7
+ - `design/product/product-roadmap.md` must exist (to determine navigation items).
8
+ - `design/product/product-overview.md` must exist.
9
+
10
+ ## Instructions
11
+
12
+ ### Step 1: Analyze Roadmap
13
+ Read the roadmap to determine the main navigation sections (e.g. Dashboard, Settings, Projects).
14
+
15
+ ### Step 2: Create Shell Spec
16
+ Create `design/product/shell/spec.md`.
17
+
18
+ Format:
19
+ ```markdown
20
+ # Application Shell Specification
21
+
22
+ ## Overview
23
+ [Describe the layout strategy - e.g. Sidebar layout for complex apps, Top-nav for simple tools]
24
+
25
+ ## Navigation Structure
26
+ - [Nav Item 1] -> [Link to Section]
27
+ - [Nav Item 2] -> [Link to Section]
28
+
29
+ ## Layout Pattern
30
+ [Description of the layout components]
31
+ ```
32
+
33
+ ### Step 3: Verification
34
+ - Output: "App Shell designed! You can now view the layout in Design OS."
@@ -0,0 +1,36 @@
1
+ # COMMAND: Generate Design Tokens
2
+
3
+ ## Goal
4
+ Create the visual foundation (colors, typography) for the product based on its Mission and Brand.
5
+
6
+ ## Prerequisites
7
+ - `design/product/product-overview.md` must exist.
8
+
9
+ ## Instructions
10
+
11
+ ### Step 1: Analyze Product Brand
12
+ Read `design/product/product-overview.md` to understand the product's mood, target audience, and vibe (e.g., "Professional & Trustworthy" vs "Playful & Vibrant").
13
+
14
+ ### Step 2: Generate Color Key
15
+ Create `design/product/design-system/colors.json` with the following structure. select colors that match the brand.
16
+ ```json
17
+ {
18
+ "primary": "blue", // e.g. blue, indigo, violet, rose (Tailwind color names)
19
+ "secondary": "slate", // e.g. slate, gray, zinc, stone
20
+ "neutral": "gray" // e.g. slate, gray, zinc, stone
21
+ }
22
+ ```
23
+
24
+ ### Step 3: Generate Typography
25
+ Create `design/product/design-system/typography.json`.
26
+ ```json
27
+ {
28
+ "heading": "Inter", // e.g. Inter, DM Sans, Roboto, Playfair Display
29
+ "body": "Inter", // e.g. Inter, Roboto, Open Sans
30
+ "mono": "JetBrains Mono" // e.g. JetBrains Mono, Fira Code, IBM Plex Mono
31
+ }
32
+ ```
33
+
34
+ ### Step 4: Verification
35
+ - Check that the files exist.
36
+ - Output: "Design Tokens generated! You can now view them in Design OS."
@@ -0,0 +1,44 @@
1
+ # COMMAND: Export Product Package
2
+
3
+ ## Goal
4
+ Generate a complete "handoff package" (`product-plan/`) containing all design specs, data, tokens, and screen implementations for the development team.
5
+
6
+ ## Prerequisites
7
+ - All sections should be "Ready" (Spec, Data, Screen Design).
8
+ - `design/src` should contain the implemented screens.
9
+ - `design/public/product` should contain the design data.
10
+
11
+ ## Instructions
12
+
13
+ ### Step 1: Create Export Directory
14
+ Create a folder named `product-plan` in the project root.
15
+
16
+ ### Step 2: Copy Documentation
17
+ - Copy `design/product/product-overview.md` -> `product-plan/product-overview.md`
18
+ - Copy `design/product/product-roadmap.md` -> `product-plan/product-roadmap.md`
19
+ - Copy `design/product/data-model/schema.md` -> `product-plan/data-model.md` (if exists)
20
+
21
+ ### Step 3: Copy Design System
22
+ Create `product-plan/design-system/`.
23
+ - Copy `design/public/product/design-system/colors.json` -> `product-plan/design-system/colors.json`
24
+ - Copy `design/public/product/design-system/typography.json` -> `product-plan/design-system/typography.json`
25
+
26
+ ### Step 4: Copy Sections
27
+ For each section in the roadmap:
28
+ - Create `product-plan/sections/[section-id]/`
29
+ - Copy `design/product/sections/[section-id]/spec.md`
30
+ - Copy `design/product/sections/[section-id]/data.json`
31
+ - Copy `design/src/sections/[section-id]/[ComponentName].tsx` (The screen implementation)
32
+ - Copy `design/src/sections/[section-id]/[ComponentName].png` (The screenshot)
33
+
34
+ ### Step 5: Archive
35
+ Zip the `product-plan` folder into `product-plan.zip`.
36
+
37
+ ### Step 6: Deploy to Integration (Direct Handoff)
38
+ - Copy `product-plan/product-overview.md` -> `app/agent-os/product/product-overview.md` (Overwrite)
39
+ - Copy `product-plan/product-roadmap.md` -> `app/agent-os/product/product-roadmap.md` (Integration)
40
+ - Copy `product-plan/data-model.md` -> `app/agent-os/product/data-model.md` (Overwrite)
41
+ - Copy `product-plan/design-system/` -> `app/agent-os/product/design-system/` (Recursive)
42
+
43
+ ### Step 7: Verification
44
+ - Output: "Export package generated at `product-plan.zip` AND synced to `app/agent-os/product/`! You are ready for implementation."
@@ -0,0 +1,13 @@
1
+ First, check if the user has already provided instructions about which task group(s) to implement.
2
+
3
+ **If the user HAS provided instructions:** Proceed to PHASE 2 to delegate implementation of those specified task group(s) to the **implementer** subagent.
4
+
5
+ **If the user has NOT provided instructions:**
6
+
7
+ Read `agent-os/specs/[this-spec]/tasks.md` to review the available task groups, then output the following message to the user and WAIT for their response:
8
+
9
+ ```
10
+ Should we proceed with implementation of all task groups in tasks.md?
11
+
12
+ If not, then please specify which task(s) to implement.
13
+ ```
@@ -0,0 +1,63 @@
1
+ Now that you have the task group(s) to be implemented, proceed with implementation by following these instructions:
2
+
3
+ Implement all tasks assigned to you and ONLY those task(s) that have been assigned to you.
4
+
5
+ ## Implementation process:
6
+
7
+ 1. Analyze the provided spec.md, requirements.md, and visuals (if any)
8
+ 2. Analyze patterns in the codebase according to its built-in workflow
9
+ 3. Implement the assigned task group according to requirements and standards
10
+ 4. Update `agent-os/specs/[this-spec]/tasks.md` to update the tasks you've implemented to mark that as done by updating their checkbox to checked state: `- [x]`
11
+
12
+ ## Guide your implementation using:
13
+ - **The existing patterns** that you've found and analyzed in the codebase.
14
+ - **Specific notes provided in requirements.md, spec.md AND/OR tasks.md**
15
+ - **Visuals provided (if any)** which would be located in `agent-os/specs/[this-spec]/planning/visuals/`
16
+ - **User Standards & Preferences** which are defined below.
17
+
18
+ ## Self-verify and test your work by:
19
+ - Running ONLY the tests you've written (if any) and ensuring those tests pass.
20
+ - IF your task involves user-facing UI, and IF you have access to browser testing tools, open a browser and use the feature you've implemented as if you are a user to ensure a user can use the feature in the intended way.
21
+ - Take screenshots of the views and UI elements you've tested and store those in `agent-os/specs/[this-spec]/verification/screenshots/`. Do not store screenshots anywhere else in the codebase other than this location.
22
+ - Analyze the screenshot(s) you've taken to check them against your current requirements.
23
+
24
+
25
+ ## Display confirmation and next step
26
+
27
+ Display a summary of what was implemented.
28
+
29
+ IF all tasks are now marked as done (with `- [x]`) in tasks.md, display this message to user:
30
+
31
+ ```
32
+ All tasks have been implemented: `agent-os/specs/[this-spec]/tasks.md`.
33
+
34
+ NEXT STEP 👉 Run `3-verify-implementation.md` to verify the implementation.
35
+ ```
36
+
37
+ IF there are still tasks in tasks.md that have yet to be implemented (marked unfinished with `- [ ]`) then display this message to user:
38
+
39
+ ```
40
+ Would you like to proceed with implementation of the remaining tasks in tasks.md?
41
+
42
+ If not, please specify which task group(s) to implement next.
43
+ ```
44
+
45
+ ## User Standards & Preferences Compliance
46
+
47
+ IMPORTANT: Ensure that the tasks list is ALIGNED and DOES NOT CONFLICT with the user's preferences and standards as detailed in the following files:
48
+
49
+ @agent-os/standards/backend/api.md
50
+ @agent-os/standards/backend/migrations.md
51
+ @agent-os/standards/backend/models.md
52
+ @agent-os/standards/backend/queries.md
53
+ @agent-os/standards/frontend/accessibility.md
54
+ @agent-os/standards/frontend/components.md
55
+ @agent-os/standards/frontend/css.md
56
+ @agent-os/standards/frontend/responsive.md
57
+ @agent-os/standards/global/coding-style.md
58
+ @agent-os/standards/global/commenting.md
59
+ @agent-os/standards/global/conventions.md
60
+ @agent-os/standards/global/error-handling.md
61
+ @agent-os/standards/global/tech-stack.md
62
+ @agent-os/standards/global/validation.md
63
+ @agent-os/standards/testing/test-writing.md
@@ -0,0 +1,113 @@
1
+ Now that we've implemented all tasks in tasks.md, we must run final verifications and produce a verification report using the following MULTI-PHASE workflow:
2
+
3
+ ## Workflow
4
+
5
+ ### Step 1: Ensure tasks.md has been updated
6
+
7
+ Check `agent-os/specs/[this-spec]/tasks.md` and ensure that all tasks and their sub-tasks are marked as completed with `- [x]`.
8
+
9
+ If a task is still marked incomplete, then verify that it has in fact been completed by checking the following:
10
+ - Run a brief spot check in the code to find evidence that this task's details have been implemented
11
+ - Check for existence of an implementation report titled using this task's title in `agent-os/spec/[this-spec]/implementation/` folder.
12
+
13
+ IF you have concluded that this task has been completed, then mark it's checkbox and its' sub-tasks checkboxes as completed with `- [x]`.
14
+
15
+ IF you have concluded that this task has NOT been completed, then mark this checkbox with ⚠️ and note it's incompleteness in your verification report.
16
+
17
+
18
+ ### Step 2: Update roadmap (if applicable)
19
+
20
+ Open `agent-os/product/roadmap.md` and check to see whether any item(s) match the description of the current spec that has just been implemented. If so, then ensure that these item(s) are marked as completed by updating their checkbox(s) to `- [x]`.
21
+
22
+
23
+ ### Step 3: Run entire tests suite
24
+
25
+ Run the entire tests suite for the application so that ALL tests run. Verify how many tests are passing and how many have failed or produced errors.
26
+
27
+ Include these counts and the list of failed tests in your final verification report.
28
+
29
+ DO NOT attempt to fix any failing tests. Just note their failures in your final verification report.
30
+
31
+
32
+ ### Step 4: Create final verification report
33
+
34
+ Create your final verification report in `agent-os/specs/[this-spec]/verifications/final-verification.md`.
35
+
36
+ The content of this report should follow this structure:
37
+
38
+ ```markdown
39
+ # Verification Report: [Spec Title]
40
+
41
+ **Spec:** `[spec-name]`
42
+ **Date:** [Current Date]
43
+ **Verifier:** implementation-verifier
44
+ **Status:** ✅ Passed | ⚠️ Passed with Issues | ❌ Failed
45
+
46
+ ---
47
+
48
+ ## Executive Summary
49
+
50
+ [Brief 2-3 sentence overview of the verification results and overall implementation quality]
51
+
52
+ ---
53
+
54
+ ## 1. Tasks Verification
55
+
56
+ **Status:** ✅ All Complete | ⚠️ Issues Found
57
+
58
+ ### Completed Tasks
59
+ - [x] Task Group 1: [Title]
60
+ - [x] Subtask 1.1
61
+ - [x] Subtask 1.2
62
+ - [x] Task Group 2: [Title]
63
+ - [x] Subtask 2.1
64
+
65
+ ### Incomplete or Issues
66
+ [List any tasks that were found incomplete or have issues, or note "None" if all complete]
67
+
68
+ ---
69
+
70
+ ## 2. Documentation Verification
71
+
72
+ **Status:** ✅ Complete | ⚠️ Issues Found
73
+
74
+ ### Implementation Documentation
75
+ - [x] Task Group 1 Implementation: `implementations/1-[task-name]-implementation.md`
76
+ - [x] Task Group 2 Implementation: `implementations/2-[task-name]-implementation.md`
77
+
78
+ ### Verification Documentation
79
+ [List verification documents from area verifiers if applicable]
80
+
81
+ ### Missing Documentation
82
+ [List any missing documentation, or note "None"]
83
+
84
+ ---
85
+
86
+ ## 3. Roadmap Updates
87
+
88
+ **Status:** ✅ Updated | ⚠️ No Updates Needed | ❌ Issues Found
89
+
90
+ ### Updated Roadmap Items
91
+ - [x] [Roadmap item that was marked complete]
92
+
93
+ ### Notes
94
+ [Any relevant notes about roadmap updates, or note if no updates were needed]
95
+
96
+ ---
97
+
98
+ ## 4. Test Suite Results
99
+
100
+ **Status:** ✅ All Passing | ⚠️ Some Failures | ❌ Critical Failures
101
+
102
+ ### Test Summary
103
+ - **Total Tests:** [count]
104
+ - **Passing:** [count]
105
+ - **Failing:** [count]
106
+ - **Errors:** [count]
107
+
108
+ ### Failed Tests
109
+ [List any failing tests with their descriptions, or note "None - all tests passing"]
110
+
111
+ ### Notes
112
+ [Any additional context about test results, known issues, or regressions]
113
+ ```