@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.
- package/README.md +39 -0
- package/bin/cli.js +133 -0
- package/package.json +40 -0
- package/src/template/App.tsx +68 -0
- package/src/template/agent-os/commands/create-tasks/1-get-spec-requirements.md +19 -0
- package/src/template/agent-os/commands/create-tasks/2-create-tasks-list.md +234 -0
- package/src/template/agent-os/commands/create-tasks/create-tasks.md +254 -0
- package/src/template/agent-os/commands/design-screen/design-screen.md +32 -0
- package/src/template/agent-os/commands/design-shell/design-shell.md +34 -0
- package/src/template/agent-os/commands/design-tokens/design-tokens.md +36 -0
- package/src/template/agent-os/commands/export-product/export-product.md +44 -0
- package/src/template/agent-os/commands/implement-tasks/1-determine-tasks.md +13 -0
- package/src/template/agent-os/commands/implement-tasks/2-implement-tasks.md +63 -0
- package/src/template/agent-os/commands/implement-tasks/3-verify-implementation.md +113 -0
- package/src/template/agent-os/commands/implement-tasks/implement-tasks.md +207 -0
- package/src/template/agent-os/commands/initialize-design/initialize-design.md +54 -0
- package/src/template/agent-os/commands/orchestrate-tasks/orchestrate-tasks.md +180 -0
- package/src/template/agent-os/commands/plan-product/1-product-concept.md +53 -0
- package/src/template/agent-os/commands/plan-product/2-create-mission.md +78 -0
- package/src/template/agent-os/commands/plan-product/3-create-roadmap.md +73 -0
- package/src/template/agent-os/commands/plan-product/4-create-tech-stack.md +46 -0
- package/src/template/agent-os/commands/plan-product/plan-product.md +241 -0
- package/src/template/agent-os/commands/sample-data/sample-data.md +51 -0
- package/src/template/agent-os/commands/scaffold-implementation/scaffold-implementation.md +36 -0
- package/src/template/agent-os/commands/screenshot-design/screenshot-design.md +21 -0
- package/src/template/agent-os/commands/shape-spec/1-initialize-spec.md +95 -0
- package/src/template/agent-os/commands/shape-spec/2-shape-spec.md +300 -0
- package/src/template/agent-os/commands/shape-spec/shape-spec.md +40 -0
- package/src/template/agent-os/commands/write-spec/write-spec.md +134 -0
- package/src/template/agent-os/config.yml +13 -0
- package/src/template/agent-os/product/mission.md +29 -0
- package/src/template/agent-os/product/roadmap.md +9 -0
- package/src/template/agent-os/product/tech-stack.md +14 -0
- package/src/template/agent-os/specs/README.md +1 -0
- package/src/template/agent-os/standards/backend/api.md +10 -0
- package/src/template/agent-os/standards/backend/migrations.md +9 -0
- package/src/template/agent-os/standards/backend/models.md +10 -0
- package/src/template/agent-os/standards/backend/queries.md +9 -0
- package/src/template/agent-os/standards/frontend/accessibility.md +10 -0
- package/src/template/agent-os/standards/frontend/components.md +11 -0
- package/src/template/agent-os/standards/frontend/css.md +7 -0
- package/src/template/agent-os/standards/frontend/responsive.md +11 -0
- package/src/template/agent-os/standards/global/coding-style.md +10 -0
- package/src/template/agent-os/standards/global/commenting.md +5 -0
- package/src/template/agent-os/standards/global/conventions.md +11 -0
- package/src/template/agent-os/standards/global/error-handling.md +9 -0
- package/src/template/agent-os/standards/global/tech-stack.md +31 -0
- package/src/template/agent-os/standards/global/validation.md +11 -0
- package/src/template/agent-os/standards/testing/test-writing.md +9 -0
- package/src/template/agent-os-ui/README.md +73 -0
- package/src/template/agent-os-ui/package-lock.json +5028 -0
- package/src/template/agent-os-ui/package.json +52 -0
- package/src/template/agent-os-ui/postcss.config.js +6 -0
- package/src/template/agent-os-ui/src/components/AgentShell.tsx +31 -0
- package/src/template/agent-os-ui/src/components/AgentSidebar.tsx +65 -0
- package/src/template/agent-os-ui/src/components/GuidanceCard.tsx +75 -0
- package/src/template/agent-os-ui/src/components/MarkdownViewer.tsx +25 -0
- package/src/template/agent-os-ui/src/components/PromptButton.tsx +28 -0
- package/src/template/agent-os-ui/src/components/StatusItem.tsx +45 -0
- package/src/template/agent-os-ui/src/components/ThemeToggle.tsx +72 -0
- package/src/template/agent-os-ui/src/index.ts +11 -0
- package/src/template/agent-os-ui/src/style.css +3 -0
- package/src/template/agent-os-ui/tailwind.config.js +50 -0
- package/src/template/agent-os-ui/tsconfig.json +33 -0
- package/src/template/agent-os-ui/vite.config.ts +32 -0
- package/src/template/control-center/backend/backend.log +2 -0
- package/src/template/control-center/backend/index.js +228 -0
- package/src/template/control-center/backend/package-lock.json +951 -0
- package/src/template/control-center/backend/package.json +19 -0
- package/src/template/control-center/frontend/README.md +73 -0
- package/src/template/control-center/frontend/eslint.config.js +23 -0
- package/src/template/control-center/frontend/index.html +21 -0
- package/src/template/control-center/frontend/package-lock.json +5752 -0
- package/src/template/control-center/frontend/package.json +42 -0
- package/src/template/control-center/frontend/public/runtime-config.json +11 -0
- package/src/template/control-center/frontend/public/vite.svg +1 -0
- package/src/template/control-center/frontend/src/App.css +42 -0
- package/src/template/control-center/frontend/src/App.tsx +738 -0
- package/src/template/control-center/frontend/src/assets/react.svg +1 -0
- package/src/template/control-center/frontend/src/components/ThemeToggle.tsx +64 -0
- package/src/template/control-center/frontend/src/components/ui/ToastContext.tsx +81 -0
- package/src/template/control-center/frontend/src/index.css +194 -0
- package/src/template/control-center/frontend/src/main.tsx +14 -0
- package/src/template/control-center/frontend/src/vite-env.d.ts +1 -0
- package/src/template/control-center/frontend/tsconfig.app.json +28 -0
- package/src/template/control-center/frontend/tsconfig.json +7 -0
- package/src/template/control-center/frontend/tsconfig.node.json +26 -0
- package/src/template/control-center/frontend/vite.config.ts +22 -0
- package/src/template/design/.claude/commands/design-os/data-model.md +122 -0
- package/src/template/design/.claude/commands/design-os/design-screen.md +309 -0
- package/src/template/design/.claude/commands/design-os/design-shell.md +238 -0
- package/src/template/design/.claude/commands/design-os/design-tokens.md +166 -0
- package/src/template/design/.claude/commands/design-os/export-product.md +1105 -0
- package/src/template/design/.claude/commands/design-os/product-roadmap.md +121 -0
- package/src/template/design/.claude/commands/design-os/product-vision.md +99 -0
- package/src/template/design/.claude/commands/design-os/sample-data.md +263 -0
- package/src/template/design/.claude/commands/design-os/screenshot-design.md +112 -0
- package/src/template/design/.claude/commands/design-os/shape-section.md +138 -0
- package/src/template/design/.claude/skills/frontend-design/SKILL.md +42 -0
- package/src/template/design/.github/CODE_OF_CONDUCT.md +5 -0
- package/src/template/design/.github/CONTRIBUTING.md +51 -0
- package/src/template/design/.github/ISSUE_TEMPLATE/config.yml +22 -0
- package/src/template/design/.github/PULL_REQUEST_TEMPLATE.md +20 -0
- package/src/template/design/.github/SECURITY.yml +5 -0
- package/src/template/design/.github/SUPPORT.md +19 -0
- package/src/template/design/.github/workflows/pr-decline.yml +135 -0
- package/src/template/design/.github/workflows/stale.yml +25 -0
- package/src/template/design/CHANGELOG.md +13 -0
- package/src/template/design/LICENSE +21 -0
- package/src/template/design/README.md +54 -0
- package/src/template/design/agents.md +218 -0
- package/src/template/design/claude.md +1 -0
- package/src/template/design/components.json +22 -0
- package/src/template/design/docs/codebase-implementation.md +153 -0
- package/src/template/design/docs/design-section.md +135 -0
- package/src/template/design/docs/export.md +149 -0
- package/src/template/design/docs/getting-started.md +59 -0
- package/src/template/design/docs/index.md +56 -0
- package/src/template/design/docs/product-planning.md +113 -0
- package/src/template/design/docs/requirements.md +22 -0
- package/src/template/design/docs/usage.md +62 -0
- package/src/template/design/eslint.config.js +23 -0
- package/src/template/design/index.html +21 -0
- package/src/template/design/package-lock.json +5473 -0
- package/src/template/design/package.json +47 -0
- package/src/template/design/product-plan.zip +0 -0
- package/src/template/design/public/vite.svg +1 -0
- package/src/template/design/src/assets/react.svg +1 -0
- package/src/template/design/src/components/AppLayout.tsx +95 -0
- package/src/template/design/src/components/DataCard.tsx +139 -0
- package/src/template/design/src/components/DataModelPage.tsx +120 -0
- package/src/template/design/src/components/DesignPage.tsx +284 -0
- package/src/template/design/src/components/EmptyState.tsx +155 -0
- package/src/template/design/src/components/ExportPage.tsx +344 -0
- package/src/template/design/src/components/NextPhaseButton.tsx +33 -0
- package/src/template/design/src/components/PhaseNav.tsx +152 -0
- package/src/template/design/src/components/PhaseWarningBanner.tsx +81 -0
- package/src/template/design/src/components/ProductOverviewCard.tsx +102 -0
- package/src/template/design/src/components/ProductPage.tsx +97 -0
- package/src/template/design/src/components/ScreenDesignPage.tsx +370 -0
- package/src/template/design/src/components/ScreenDesignsCard.tsx +49 -0
- package/src/template/design/src/components/SectionPage.tsx +256 -0
- package/src/template/design/src/components/SectionsCard.tsx +47 -0
- package/src/template/design/src/components/SectionsPage.tsx +181 -0
- package/src/template/design/src/components/ShellCard.tsx +85 -0
- package/src/template/design/src/components/ShellDesignPage.tsx +242 -0
- package/src/template/design/src/components/SpecCard.tsx +121 -0
- package/src/template/design/src/components/StepIndicator.tsx +75 -0
- package/src/template/design/src/components/ThemeToggle.tsx +86 -0
- package/src/template/design/src/components/ui/ToastContext.tsx +81 -0
- package/src/template/design/src/components/ui/avatar.tsx +53 -0
- package/src/template/design/src/components/ui/badge.tsx +46 -0
- package/src/template/design/src/components/ui/button.tsx +60 -0
- package/src/template/design/src/components/ui/card.tsx +92 -0
- package/src/template/design/src/components/ui/collapsible.tsx +48 -0
- package/src/template/design/src/components/ui/dialog.tsx +143 -0
- package/src/template/design/src/components/ui/dropdown-menu.tsx +255 -0
- package/src/template/design/src/components/ui/input.tsx +21 -0
- package/src/template/design/src/components/ui/label.tsx +22 -0
- package/src/template/design/src/components/ui/progress.tsx +24 -0
- package/src/template/design/src/components/ui/scroll-area.tsx +18 -0
- package/src/template/design/src/components/ui/select.tsx +67 -0
- package/src/template/design/src/components/ui/separator.tsx +28 -0
- package/src/template/design/src/components/ui/sheet.tsx +137 -0
- package/src/template/design/src/components/ui/skeleton.tsx +13 -0
- package/src/template/design/src/components/ui/switch.tsx +46 -0
- package/src/template/design/src/components/ui/table.tsx +116 -0
- package/src/template/design/src/components/ui/tabs.tsx +64 -0
- package/src/template/design/src/index.css +284 -0
- package/src/template/design/src/lib/data-model-loader.ts +91 -0
- package/src/template/design/src/lib/design-system-loader.ts +101 -0
- package/src/template/design/src/lib/product-loader.ts +221 -0
- package/src/template/design/src/lib/router.tsx +52 -0
- package/src/template/design/src/lib/section-loader.ts +272 -0
- package/src/template/design/src/lib/shell-loader.ts +175 -0
- package/src/template/design/src/lib/utils.ts +6 -0
- package/src/template/design/src/main.tsx +15 -0
- package/src/template/design/src/sections/.gitkeep +0 -0
- package/src/template/design/src/sections/ai-orchestration-engine-oai/OrchestrationEngine.tsx +348 -0
- package/src/template/design/src/sections/core-platform-shell/AppShell.tsx +403 -0
- package/src/template/design/src/sections/gemini-live-integration/GeminiIntegration.tsx +332 -0
- package/src/template/design/src/sections/interactive-2d-canvas/WhiteboardCanvas.tsx +334 -0
- package/src/template/design/src/sections/participation-equity-tracker/EquityTracker.tsx +383 -0
- package/src/template/design/src/sections/persistent-memory-system/PersistentMemory.tsx +308 -0
- package/src/template/design/src/sections/real-time-communication-layer/VideoSession.tsx +342 -0
- package/src/template/design/src/sections/visual-intelligence-agents/VisualAgents.tsx +311 -0
- package/src/template/design/src/types/product.ts +97 -0
- package/src/template/design/src/types/section.ts +33 -0
- package/src/template/design/tsconfig.app.json +34 -0
- package/src/template/design/tsconfig.json +13 -0
- package/src/template/design/tsconfig.node.json +26 -0
- package/src/template/design/vite.config.ts +18 -0
- package/src/template/package.json +27 -0
- package/src/template/vite.config.ts +16 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
The final part of our product planning process is to document this product's tech stack in `agent-os/product/tech-stack.md`. Follow these instructions to do so:
|
|
2
|
+
|
|
3
|
+
Create `agent-os/product/tech-stack.md` with a list of all tech stack choices that cover all aspects of this product's codebase.
|
|
4
|
+
|
|
5
|
+
### Creating the Tech Stack document
|
|
6
|
+
|
|
7
|
+
#### Step 1: Note User's Input Regarding Tech Stack
|
|
8
|
+
|
|
9
|
+
IF the user has provided specific information in the current conversation in regards to tech stack choices, these notes ALWAYS take precidence. These must be reflected in your final `tech-stack.md` document that you will create.
|
|
10
|
+
|
|
11
|
+
#### Step 2: Gather User's Default Tech Stack Information
|
|
12
|
+
|
|
13
|
+
Reconcile and fill in the remaining gaps in the tech stack list by finding, reading and analyzing information regarding the tech stack. Find this information in the following sources, in this order:
|
|
14
|
+
|
|
15
|
+
1. If user has provided their default tech stack under "User Standards & Preferences Compliance", READ and analyze this document.
|
|
16
|
+
2. If the current project has any of these files, read them to find information regarding tech stack choices for this codebase:
|
|
17
|
+
- `claude.md`
|
|
18
|
+
- `agents.md`
|
|
19
|
+
|
|
20
|
+
#### Step 3: Create the Tech Stack Document
|
|
21
|
+
|
|
22
|
+
Create `agent-os/product/tech-stack.md` and populate it with the final list of all technical stack choices, reconciled between the information the user has provided to you and the information found in provided sources.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Display confirmation and next step
|
|
26
|
+
|
|
27
|
+
Once you've created tech-stack.md, output the following message:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
✅ I have documented the product's tech stack at `agent-os/product/tech-stack.md`.
|
|
31
|
+
|
|
32
|
+
Review it to ensure all of the tech stack details are correct for this product.
|
|
33
|
+
|
|
34
|
+
You're ready to start planning a feature spec! You can do so by running `shape-spec.md` or `write-spec.md`.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## User Standards & Preferences Compliance
|
|
38
|
+
|
|
39
|
+
The user may provide information regarding their tech stack, which should take precidence when documenting the product's tech stack. To fill in any gaps, find the user's usual tech stack information as documented in any of these files:
|
|
40
|
+
|
|
41
|
+
@agent-os/standards/global/coding-style.md
|
|
42
|
+
@agent-os/standards/global/commenting.md
|
|
43
|
+
@agent-os/standards/global/conventions.md
|
|
44
|
+
@agent-os/standards/global/error-handling.md
|
|
45
|
+
@agent-os/standards/global/tech-stack.md
|
|
46
|
+
@agent-os/standards/global/validation.md
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
You are helping to plan and document the mission, roadmap and tech stack for the current product. This will include:
|
|
2
|
+
|
|
3
|
+
- **Gathering Information**: The user's product vision, user personas, problems and key features
|
|
4
|
+
- **Mission Document**: Take what you've gathered and create a concise mission document
|
|
5
|
+
- **Roadmap**: Create a phased development plan with prioritized features
|
|
6
|
+
- **Tech stack**: Establish the technical stack used for all aspects of this product's codebase
|
|
7
|
+
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
Instructions to follow in sequence:
|
|
11
|
+
|
|
12
|
+
# PHASE 1: Product Concept
|
|
13
|
+
|
|
14
|
+
This begins a multi-step process for planning and documenting the mission and roadmap for the current product.
|
|
15
|
+
|
|
16
|
+
The FIRST STEP is to confirm the product details by following these instructions:
|
|
17
|
+
|
|
18
|
+
Collect comprehensive product information from the user:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Check if product folder already exists
|
|
22
|
+
if [ -d "agent-os/product" ]; then
|
|
23
|
+
echo "Product documentation already exists. Review existing files or start fresh?"
|
|
24
|
+
# List existing product files
|
|
25
|
+
ls -la agent-os/product/
|
|
26
|
+
fi
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Gather from user the following required information:
|
|
30
|
+
- **Product Idea**: Core concept and purpose (required)
|
|
31
|
+
- **Key Features**: Minimum 3 features with descriptions
|
|
32
|
+
- **Target Users**: At least 1 user segment with use cases
|
|
33
|
+
- **Tech stack**: Confirmation or info regarding the product's tech stack choices
|
|
34
|
+
|
|
35
|
+
If any required information is missing, prompt user:
|
|
36
|
+
```
|
|
37
|
+
Please provide the following to create your product plan:
|
|
38
|
+
1. Main idea for the product
|
|
39
|
+
2. List of key features (minimum 3)
|
|
40
|
+
3. Target users and use cases (minimum 1)
|
|
41
|
+
4. Will this product use your usual tech stack choices or deviate in any way?
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Then WAIT for me to give you specific instructions on how to use the information you've gathered to create the mission and roadmap.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## User Standards & Preferences Compliance
|
|
49
|
+
|
|
50
|
+
When planning the product's tech stack, mission statement and roadmap, use the user's standards and preferences for context and baseline assumptions, as documented in these files:
|
|
51
|
+
|
|
52
|
+
@agent-os/standards/global/coding-style.md
|
|
53
|
+
@agent-os/standards/global/commenting.md
|
|
54
|
+
@agent-os/standards/global/conventions.md
|
|
55
|
+
@agent-os/standards/global/error-handling.md
|
|
56
|
+
@agent-os/standards/global/tech-stack.md
|
|
57
|
+
@agent-os/standards/global/validation.md
|
|
58
|
+
|
|
59
|
+
# PHASE 2: Create Mission
|
|
60
|
+
|
|
61
|
+
Now that you've gathered information about this product, use that info to create the mission document in `agent-os/product/mission.md` by following these instructions:
|
|
62
|
+
|
|
63
|
+
Create `agent-os/product/mission.md` with comprehensive product definition following this structure for its' content:
|
|
64
|
+
|
|
65
|
+
#### Mission Structure:
|
|
66
|
+
```markdown
|
|
67
|
+
# Product Mission
|
|
68
|
+
|
|
69
|
+
## Pitch
|
|
70
|
+
[PRODUCT_NAME] is a [PRODUCT_TYPE] that helps [TARGET_USERS] [SOLVE_PROBLEM]
|
|
71
|
+
by providing [KEY_VALUE_PROPOSITION].
|
|
72
|
+
|
|
73
|
+
## Users
|
|
74
|
+
|
|
75
|
+
### Primary Customers
|
|
76
|
+
- [CUSTOMER_SEGMENT_1]: [DESCRIPTION]
|
|
77
|
+
- [CUSTOMER_SEGMENT_2]: [DESCRIPTION]
|
|
78
|
+
|
|
79
|
+
### User Personas
|
|
80
|
+
**[USER_TYPE]** ([AGE_RANGE])
|
|
81
|
+
- **Role:** [JOB_TITLE/CONTEXT]
|
|
82
|
+
- **Context:** [BUSINESS/PERSONAL_CONTEXT]
|
|
83
|
+
- **Pain Points:** [SPECIFIC_PROBLEMS]
|
|
84
|
+
- **Goals:** [DESIRED_OUTCOMES]
|
|
85
|
+
|
|
86
|
+
## The Problem
|
|
87
|
+
|
|
88
|
+
### [PROBLEM_TITLE]
|
|
89
|
+
[PROBLEM_DESCRIPTION]. [QUANTIFIABLE_IMPACT].
|
|
90
|
+
|
|
91
|
+
**Our Solution:** [SOLUTION_APPROACH]
|
|
92
|
+
|
|
93
|
+
## Differentiators
|
|
94
|
+
|
|
95
|
+
### [DIFFERENTIATOR_TITLE]
|
|
96
|
+
Unlike [COMPETITOR/ALTERNATIVE], we provide [SPECIFIC_ADVANTAGE].
|
|
97
|
+
This results in [MEASURABLE_BENEFIT].
|
|
98
|
+
|
|
99
|
+
## Key Features
|
|
100
|
+
|
|
101
|
+
### Core Features
|
|
102
|
+
- **[FEATURE_NAME]:** [USER_BENEFIT_DESCRIPTION]
|
|
103
|
+
|
|
104
|
+
### Collaboration Features
|
|
105
|
+
- **[FEATURE_NAME]:** [USER_BENEFIT_DESCRIPTION]
|
|
106
|
+
|
|
107
|
+
### Advanced Features
|
|
108
|
+
- **[FEATURE_NAME]:** [USER_BENEFIT_DESCRIPTION]
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### Important Constraints
|
|
112
|
+
|
|
113
|
+
- **Focus on user benefits** in feature descriptions, not technical details
|
|
114
|
+
- **Keep it concise** and easy for users to scan and get the more important concepts quickly
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## User Standards & Preferences Compliance
|
|
119
|
+
|
|
120
|
+
IMPORTANT: Ensure the product mission is ALIGNED and DOES NOT CONFLICT with the user's preferences and standards as detailed in the following files:
|
|
121
|
+
|
|
122
|
+
@agent-os/standards/global/coding-style.md
|
|
123
|
+
@agent-os/standards/global/commenting.md
|
|
124
|
+
@agent-os/standards/global/conventions.md
|
|
125
|
+
@agent-os/standards/global/error-handling.md
|
|
126
|
+
@agent-os/standards/global/tech-stack.md
|
|
127
|
+
@agent-os/standards/global/validation.md
|
|
128
|
+
|
|
129
|
+
# PHASE 3: Create Roadmap
|
|
130
|
+
|
|
131
|
+
Now that you've created this product's mission.md, use that to guide your creation of the roadmap in `agent-os/product/roadmap.md` by following these instructions:
|
|
132
|
+
|
|
133
|
+
Generate `agent-os/product/roadmap.md` with an ordered feature checklist:
|
|
134
|
+
|
|
135
|
+
Do not include any tasks for initializing a new codebase or bootstrapping a new application. Assume the user is already inside the project's codebase and has a bare-bones application initialized.
|
|
136
|
+
|
|
137
|
+
#### Creating the Roadmap:
|
|
138
|
+
|
|
139
|
+
1. **Review the Mission** - Read `agent-os/product/mission.md` to understand the product's goals, target users, and success criteria.
|
|
140
|
+
|
|
141
|
+
2. **Identify Features** - Based on the mission, determine the list of concrete features needed to achieve the product vision.
|
|
142
|
+
|
|
143
|
+
3. **Strategic Ordering** - Order features based on:
|
|
144
|
+
- Technical dependencies (foundational features first)
|
|
145
|
+
- Most direct path to achieving the mission
|
|
146
|
+
- Building incrementally from MVP to full product
|
|
147
|
+
|
|
148
|
+
4. **Create the Roadmap** - Use the structure below as your template. Replace all bracketed placeholders (e.g., `[FEATURE_NAME]`, `[DESCRIPTION]`, `[EFFORT]`) with real content that you create based on the mission.
|
|
149
|
+
|
|
150
|
+
#### Roadmap Structure:
|
|
151
|
+
```markdown
|
|
152
|
+
# Product Roadmap
|
|
153
|
+
|
|
154
|
+
1. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
155
|
+
2. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
156
|
+
3. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
157
|
+
4. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
158
|
+
5. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
159
|
+
6. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
160
|
+
7. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
161
|
+
8. [ ] [FEATURE_NAME] — [1-2 SENTENCE DESCRIPTION OF COMPLETE, TESTABLE FEATURE] `[EFFORT]`
|
|
162
|
+
|
|
163
|
+
> Notes
|
|
164
|
+
> - Order items by technical dependencies and product architecture
|
|
165
|
+
> - Each item should represent an end-to-end (frontend + backend) functional and testable feature
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Effort scale:
|
|
169
|
+
- `XS`: 1 day
|
|
170
|
+
- `S`: 2-3 days
|
|
171
|
+
- `M`: 1 week
|
|
172
|
+
- `L`: 2 weeks
|
|
173
|
+
- `XL`: 3+ weeks
|
|
174
|
+
|
|
175
|
+
#### Important Constraints
|
|
176
|
+
|
|
177
|
+
- **Make roadmap actionable** - include effort estimates and dependencies
|
|
178
|
+
- **Priorities guided by mission** - When deciding on order, aim for the most direct path to achieving the mission as documented in mission.md
|
|
179
|
+
- **Ensure phases are achievable** - start with MVP, build incrementally
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
## User Standards & Preferences Compliance
|
|
184
|
+
|
|
185
|
+
IMPORTANT: Ensure the product roadmap is ALIGNED and DOES NOT CONFLICT with the user's preferences and standards as detailed in the following files:
|
|
186
|
+
|
|
187
|
+
@agent-os/standards/global/coding-style.md
|
|
188
|
+
@agent-os/standards/global/commenting.md
|
|
189
|
+
@agent-os/standards/global/conventions.md
|
|
190
|
+
@agent-os/standards/global/error-handling.md
|
|
191
|
+
@agent-os/standards/global/tech-stack.md
|
|
192
|
+
@agent-os/standards/global/validation.md
|
|
193
|
+
|
|
194
|
+
# PHASE 4: Create Tech Stack
|
|
195
|
+
|
|
196
|
+
The final part of our product planning process is to document this product's tech stack in `agent-os/product/tech-stack.md`. Follow these instructions to do so:
|
|
197
|
+
|
|
198
|
+
Create `agent-os/product/tech-stack.md` with a list of all tech stack choices that cover all aspects of this product's codebase.
|
|
199
|
+
|
|
200
|
+
### Creating the Tech Stack document
|
|
201
|
+
|
|
202
|
+
#### Step 1: Note User's Input Regarding Tech Stack
|
|
203
|
+
|
|
204
|
+
IF the user has provided specific information in the current conversation in regards to tech stack choices, these notes ALWAYS take precidence. These must be reflected in your final `tech-stack.md` document that you will create.
|
|
205
|
+
|
|
206
|
+
#### Step 2: Gather User's Default Tech Stack Information
|
|
207
|
+
|
|
208
|
+
Reconcile and fill in the remaining gaps in the tech stack list by finding, reading and analyzing information regarding the tech stack. Find this information in the following sources, in this order:
|
|
209
|
+
|
|
210
|
+
1. If user has provided their default tech stack under "User Standards & Preferences Compliance", READ and analyze this document.
|
|
211
|
+
2. If the current project has any of these files, read them to find information regarding tech stack choices for this codebase:
|
|
212
|
+
- `claude.md`
|
|
213
|
+
- `agents.md`
|
|
214
|
+
|
|
215
|
+
#### Step 3: Create the Tech Stack Document
|
|
216
|
+
|
|
217
|
+
Create `agent-os/product/tech-stack.md` and populate it with the final list of all technical stack choices, reconciled between the information the user has provided to you and the information found in provided sources.
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
## Display confirmation and next step
|
|
221
|
+
|
|
222
|
+
Once you've created tech-stack.md, output the following message:
|
|
223
|
+
|
|
224
|
+
```
|
|
225
|
+
✅ I have documented the product's tech stack at `agent-os/product/tech-stack.md`.
|
|
226
|
+
|
|
227
|
+
Review it to ensure all of the tech stack details are correct for this product.
|
|
228
|
+
|
|
229
|
+
You're ready to start planning a feature spec! You can do so by running `shape-spec.md` or `write-spec.md`.
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
## User Standards & Preferences Compliance
|
|
233
|
+
|
|
234
|
+
The user may provide information regarding their tech stack, which should take precidence when documenting the product's tech stack. To fill in any gaps, find the user's usual tech stack information as documented in any of these files:
|
|
235
|
+
|
|
236
|
+
@agent-os/standards/global/coding-style.md
|
|
237
|
+
@agent-os/standards/global/commenting.md
|
|
238
|
+
@agent-os/standards/global/conventions.md
|
|
239
|
+
@agent-os/standards/global/error-handling.md
|
|
240
|
+
@agent-os/standards/global/tech-stack.md
|
|
241
|
+
@agent-os/standards/global/validation.md
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# COMMAND: Generate Sample Data
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Create realistic sample data (`data.json`) for a specific product section to populate the UI.
|
|
5
|
+
|
|
6
|
+
## Prerequisites
|
|
7
|
+
- `design/product/sections/[section-id]/spec.md` should exist (to understand what data is needed).
|
|
8
|
+
- You must know the **Section Title** and **Section ID**.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
### Step 1: Analyze Spec
|
|
13
|
+
Read `design/product/sections/[section-id]/spec.md` to identify the entities and data structures required by the UI.
|
|
14
|
+
|
|
15
|
+
### Step 2: Create Data File
|
|
16
|
+
Create `design/product/sections/[section-id]/data.json`.
|
|
17
|
+
|
|
18
|
+
Format:
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"_meta": {
|
|
22
|
+
"models": {
|
|
23
|
+
"ModelName": "Description of the model",
|
|
24
|
+
"AnotherModel": "Description..."
|
|
25
|
+
},
|
|
26
|
+
"relationships": [
|
|
27
|
+
"ModelName has many AnotherModel",
|
|
28
|
+
"AnotherModel belongs to ModelName"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"modelCollectionName": [
|
|
32
|
+
{
|
|
33
|
+
"id": "1",
|
|
34
|
+
"name": "Sample Item",
|
|
35
|
+
"status": "active",
|
|
36
|
+
"createdAt": "2023-10-27T10:00:00Z"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"singleObject": {
|
|
40
|
+
"key": "value"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Requirements:**
|
|
46
|
+
- Generate at least 3-5 items for lists.
|
|
47
|
+
- Use realistic, semantic data (not "Item 1", "Item 2").
|
|
48
|
+
- Ensure dates are ISO 8601 strings.
|
|
49
|
+
|
|
50
|
+
### Step 3: Verification
|
|
51
|
+
- Output: "Sample data for '[Section Title]' generated! You can now view it in Design OS."
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# COMMAND: Scaffold Implementation
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Initialize the production Next.js application (`app/facilitron`) and prepare it for feature implementation.
|
|
5
|
+
|
|
6
|
+
## Steps
|
|
7
|
+
|
|
8
|
+
### 1. Initialize Next.js App
|
|
9
|
+
Run the following command to create the app if it doesn't exist:
|
|
10
|
+
```bash
|
|
11
|
+
npx create-next-app@latest app/facilitron \
|
|
12
|
+
--typescript \
|
|
13
|
+
--tailwind \
|
|
14
|
+
--eslint \
|
|
15
|
+
--app \
|
|
16
|
+
--src-dir \
|
|
17
|
+
--import-alias "@/*" \
|
|
18
|
+
--use-npm \
|
|
19
|
+
--no-git # We are already in a git repo
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 2. Install Core Dependencies
|
|
23
|
+
Install the standard UI libraries used in Design OS:
|
|
24
|
+
```bash
|
|
25
|
+
cd app/facilitron
|
|
26
|
+
npm install lucide-react clsx tailwind-merge class-variance-authority @radix-ui/react-slot
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 3. Integrate Design System
|
|
30
|
+
- Copy `product-plan/design-system/colors.json` -> `app/facilitron/src/styles/colors.json` (or verify path)
|
|
31
|
+
- Update `app/facilitron/tailwind.config.ts` (or .js) to import and use these colors.
|
|
32
|
+
- Copy `design/src/lib/utils.ts` -> `app/facilitron/src/lib/utils.ts` (cn helper)
|
|
33
|
+
|
|
34
|
+
### 4. Verification
|
|
35
|
+
- Start the dev server: `npm run dev` (on a new port, e.g., 3002).
|
|
36
|
+
- Verify basic page load.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# COMMAND: Capture Design Screenshots
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Capture and save a screenshot of the implemented screen design for documentation.
|
|
5
|
+
|
|
6
|
+
## Prerequisites
|
|
7
|
+
- The screen design must be implemented and visible in Design OS.
|
|
8
|
+
- You must know the **Section Title** and **Section ID**.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
### Step 1: Navigate and Capture
|
|
13
|
+
- Use the Browser Tool to navigate to the specific screen design URL in Design OS:
|
|
14
|
+
`http://localhost:3000/sections/[section-id]/screen-designs/[ComponentName]`
|
|
15
|
+
- Take a screenshot of the viewport (excluding the browser window chrome if possible, or just the main content area).
|
|
16
|
+
|
|
17
|
+
### Step 2: Save Screenshot
|
|
18
|
+
- Save the screenshot to: `design/product/sections/[section-id]/[component-name-kebab-case].png`.
|
|
19
|
+
|
|
20
|
+
### Step 3: Verification
|
|
21
|
+
- Output: "Screenshot saved to [path]! It will now appear in the Section Overview."
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
The FIRST STEP is to initialize the spec by following these instructions:
|
|
2
|
+
|
|
3
|
+
# Spec Initialization
|
|
4
|
+
|
|
5
|
+
## Core Responsibilities
|
|
6
|
+
|
|
7
|
+
1. **Get the description of the feature:** Receive it from the user or check the product roadmap
|
|
8
|
+
2. **Initialize Spec Structure**: Create the spec folder with date prefix
|
|
9
|
+
3. **Save Raw Idea**: Document the user's exact description without modification
|
|
10
|
+
4. **Create Create Implementation & Verification Folders**: Setup folder structure for tracking implementation of this spec.
|
|
11
|
+
5. **Prepare for Requirements**: Set up structure for next phase
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
### Step 1: Get the description of the feature
|
|
16
|
+
|
|
17
|
+
IF you were given a description of the feature, then use that to initiate a new spec.
|
|
18
|
+
|
|
19
|
+
OTHERWISE follow these steps to get the description:
|
|
20
|
+
|
|
21
|
+
1. Check `@agent-os/product/roadmap.md` to find the next feature in the roadmap.
|
|
22
|
+
2. OUTPUT the following to user and WAIT for user's response:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Which feature would you like to initiate a new spec for?
|
|
26
|
+
|
|
27
|
+
- The roadmap shows [feature description] is next. Go with that?
|
|
28
|
+
- Or provide a description of a feature you'd like to initiate a spec for.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**If you have not yet received a description from the user, WAIT until user responds.**
|
|
32
|
+
|
|
33
|
+
### Step 2: Initialize Spec Structure
|
|
34
|
+
|
|
35
|
+
Determine a kebab-case spec name from the user's description, then create the spec folder:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Get today's date in YYYY-MM-DD format
|
|
39
|
+
TODAY=$(date +%Y-%m-%d)
|
|
40
|
+
|
|
41
|
+
# Determine kebab-case spec name from user's description
|
|
42
|
+
SPEC_NAME="[kebab-case-name]"
|
|
43
|
+
|
|
44
|
+
# Create dated folder name
|
|
45
|
+
DATED_SPEC_NAME="${TODAY}-${SPEC_NAME}"
|
|
46
|
+
|
|
47
|
+
# Store this path for output
|
|
48
|
+
SPEC_PATH="agent-os/specs/$DATED_SPEC_NAME"
|
|
49
|
+
|
|
50
|
+
# Create folder structure following architecture
|
|
51
|
+
mkdir -p $SPEC_PATH/planning
|
|
52
|
+
mkdir -p $SPEC_PATH/planning/visuals
|
|
53
|
+
|
|
54
|
+
echo "Created spec folder: $SPEC_PATH"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 3: Create Implementation Folder
|
|
58
|
+
|
|
59
|
+
Create 2 folders:
|
|
60
|
+
- `$SPEC_PATH/implementation/`
|
|
61
|
+
|
|
62
|
+
Leave this folder empty, for now. Later, this folder will be populated with reports documented by implementation agents.
|
|
63
|
+
|
|
64
|
+
### Step 4: Output Confirmation
|
|
65
|
+
|
|
66
|
+
Return or output the following:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Spec folder initialized: `[spec-path]`
|
|
70
|
+
|
|
71
|
+
Structure created:
|
|
72
|
+
- planning/ - For requirements and specifications
|
|
73
|
+
- planning/visuals/ - For mockups and screenshots
|
|
74
|
+
- implementation/ - For implementation documentation
|
|
75
|
+
|
|
76
|
+
Ready for requirements research phase.
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Important Constraints
|
|
80
|
+
|
|
81
|
+
- Always use dated folder names (YYYY-MM-DD-spec-name)
|
|
82
|
+
- Pass the exact spec path back to the orchestrator
|
|
83
|
+
- Follow folder structure exactly
|
|
84
|
+
- Implementation folder should be empty, for now
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## Display confirmation and next step
|
|
88
|
+
|
|
89
|
+
Once you've initialized the spec folder, output the following message (replace `[this-spec]` with the folder name for this spec)
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
✅ I have initialized the spec folder at `agent-os/specs/[this-spec]`.
|
|
93
|
+
|
|
94
|
+
NEXT STEP 👉 Run the command, 2-research-spec.md
|
|
95
|
+
```
|