mycontext-cli 1.0.82 → 1.0.84

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 (2) hide show
  1. package/README.md +58 -34
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -39,8 +39,8 @@ mycontext generate-components all --with-tests
39
39
  - **⚡ Fast Setup**: Initialize projects in seconds with Next.js, TypeScript, and Tailwind CSS
40
40
  - **🎨 Component Generation**: Create production-ready React components with Shadcn UI
41
41
  - **📋 Context-Aware**: Generates PRDs, types, and branding based on your project
42
- - **🧠 LLM-Powered Strategy**: AI generates 100% accurate, project-specific build strategies
43
- - **🎯 Smart Planning**: Get personalized recommendations for development approach
42
+ - **🧠 Interactive Strategy Planning**: AI-powered build strategy recommendations through guided questions
43
+ - **🎯 Smart Planning**: Get personalized development approach recommendations
44
44
  - **🔧 Developer-Friendly**: Built-in validation, testing, and preview capabilities
45
45
  - **🆓 Free Tier**: Use Qwen3 Coder model for free testing, or premium X.AI/Claude for production
46
46
 
@@ -97,14 +97,14 @@ mycontext build-strategy --load <type> # Load saved strategy data
97
97
 
98
98
  ## Build Strategy Planning
99
99
 
100
- MyContext's **AI-Powered Build Strategy** feature analyzes your project context and generates 100% accurate, project-specific development plans.
100
+ MyContext's **AI-Powered Build Strategy** feature helps you choose the right development approach for your project through interactive questions and AI-generated recommendations.
101
101
 
102
102
  ### How It Works
103
103
 
104
- 1. **Context Analysis**: Reads all your `.mycontext` files (PRD, components, user flows, technical specs)
105
- 2. **AI Processing**: Uses AI to understand your project's unique characteristics and complexity
106
- 3. **Strategic Insights**: Generates project-specific recommendations and build plans
107
- 4. **Custom Strategies**: Creates build strategies tailored to your exact project type and requirements
104
+ 1. **Interactive Questions**: Asks about your project type, complexity, timeline, and team size
105
+ 2. **AI Processing**: Uses AI to analyze your answers and project context
106
+ 3. **Strategic Recommendations**: Generates personalized development strategies
107
+ 4. **Strategy Comparison**: Shows different approaches with pros/cons and timelines
108
108
 
109
109
  ### Available Strategies
110
110
 
@@ -114,21 +114,45 @@ MyContext's **AI-Powered Build Strategy** feature analyzes your project context
114
114
  - **🔄 Iterative Scaffolding**: Small chunks everywhere, refine later
115
115
  - **⚡ Hybrid Approach**: Combines multiple strategies based on project needs
116
116
 
117
- ### AI-Powered Analysis
117
+ ### Interactive Strategy Selection
118
118
 
119
119
  The system provides:
120
120
 
121
- - **Project Complexity Assessment**: Understand your project's technical complexity
122
- - **Risk Factor Analysis**: Identify potential challenges and bottlenecks
123
- - **Success Factor Identification**: Key elements for project success
124
- - **Custom Recommendations**: Specific advice for your project
125
- - **Optimal Strategy Selection**: AI-recommended approach with detailed reasoning
121
+ - **Project Type Selection**: Choose from client work, personal projects, team development, etc.
122
+ - **Complexity Assessment**: Simple, medium, or complex application classification
123
+ - **Timeline Planning**: Urgent, moderate, or flexible development timelines
124
+ - **Team Size Consideration**: Solo developer, small team, or large team approaches
125
+ - **AI Recommendations**: Personalized strategy suggestions based on your answers
126
126
 
127
- ### Example Output
127
+ ### Example Workflow
128
128
 
129
129
  ```bash
130
+ $ mycontext build-strategy --recommend
131
+
130
132
  🎯 Getting AI-Powered Strategy Recommendations
131
133
 
134
+ ? What type of project are you building?
135
+ ❯ Client Work
136
+ Personal Project
137
+ Team Development
138
+ MVP Development
139
+ Enterprise Application
140
+
141
+ ? How complex is your application?
142
+ ❯ Simple (few features, single user type)
143
+ Medium (multiple features, some complexity)
144
+ Complex (many features, multiple user types)
145
+
146
+ ? What's your timeline?
147
+ ❯ Urgent (need demo ASAP)
148
+ Moderate (balanced approach)
149
+ Flexible (quality over speed)
150
+
151
+ ? What's your team size?
152
+ ❯ Solo developer
153
+ Small team (2-5 people)
154
+ Large team (6+ people)
155
+
132
156
  ✅ Recommended Strategies:
133
157
 
134
158
  🎯 Vertical Slice
@@ -139,7 +163,7 @@ The system provides:
139
163
  💡 Reasoning:
140
164
  Vertical slice approach recommended for balanced development with quick user value
141
165
 
142
- 💾 Saved to: /path/to/project/.mycontext/build-strategy-recommendations-2024-01-15.json
166
+ 💾 Saved to: /path/to/project/.mycontext/build-strategy-recommendations-2025-09-23.json
143
167
  ```
144
168
 
145
169
  ### Strategy Data Management
@@ -161,27 +185,27 @@ mycontext build-strategy --load comparison
161
185
 
162
186
  ```
163
187
  .mycontext/
164
- ├── build-strategy-recommendations-2024-01-15.json
165
- ├── build-strategy-plan-2024-01-15.json
166
- ├── build-strategy-tasks-2024-01-15.json
167
- └── build-strategy-comparison-2024-01-15.json
188
+ ├── build-strategy-recommendations-2025-09-23.json
189
+ ├── build-strategy-plan-2025-09-23.json
190
+ ├── build-strategy-tasks-2025-09-23.json
191
+ └── build-strategy-comparison-2025-09-23.json
168
192
  ```
169
193
 
170
- **TypeScript Integration:**
171
-
172
- ```typescript
173
- import { BuildStrategyManager } from "./buildStrategyManager";
174
-
175
- const manager = new BuildStrategyManager();
176
-
177
- // Load latest recommendations
178
- const recommendations = await manager.loadStrategyData("recommendations");
179
-
180
- // Load specific date
181
- const plan = await manager.loadStrategyData("plan", "2024-01-15");
182
-
183
- // List all available files
184
- const files = await manager.listStrategyFiles();
194
+ **File Format:**
195
+
196
+ Each saved strategy file contains:
197
+
198
+ ```json
199
+ {
200
+ "type": "recommendations",
201
+ "generatedAt": "2025-09-23T11:05:52.000Z",
202
+ "projectPath": "/path/to/project",
203
+ "data": {
204
+ "recommended": [...],
205
+ "reasoning": "...",
206
+ "alternatives": [...]
207
+ }
208
+ }
185
209
  ```
186
210
 
187
211
  ## Configuration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mycontext-cli",
3
- "version": "1.0.82",
4
- "description": "MyContext CLI - AI-powered component generation with build strategy planning, shadcn/ui and Next.js 15 integration",
3
+ "version": "1.0.84",
4
+ "description": "MyContext CLI - AI-powered component generation with interactive build strategy planning, shadcn/ui and Next.js 15 integration",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
7
7
  "mycontext-cli": "dist/cli.js",