superclaude-kiro 1.0.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.
- package/LICENSE +21 -0
- package/README.md +190 -0
- package/bin/superclaude-kiro.js +38 -0
- package/dist/agents/sc-analyze.json +18 -0
- package/dist/agents/sc-implement.json +18 -0
- package/dist/agents/sc-pm.json +18 -0
- package/dist/agents/superclaude.json +18 -0
- package/dist/mcp/mcp-servers.json +44 -0
- package/dist/steering/superclaude/sc-agent.md +80 -0
- package/dist/steering/superclaude/sc-analyze.md +89 -0
- package/dist/steering/superclaude/sc-brainstorm.md +100 -0
- package/dist/steering/superclaude/sc-build.md +94 -0
- package/dist/steering/superclaude/sc-business-panel.md +90 -0
- package/dist/steering/superclaude/sc-cleanup.md +93 -0
- package/dist/steering/superclaude/sc-design.md +88 -0
- package/dist/steering/superclaude/sc-document.md +88 -0
- package/dist/steering/superclaude/sc-estimate.md +86 -0
- package/dist/steering/superclaude/sc-explain.md +92 -0
- package/dist/steering/superclaude/sc-git.md +80 -0
- package/dist/steering/superclaude/sc-help.md +148 -0
- package/dist/steering/superclaude/sc-implement.md +97 -0
- package/dist/steering/superclaude/sc-improve.md +93 -0
- package/dist/steering/superclaude/sc-index-repo.md +169 -0
- package/dist/steering/superclaude/sc-index.md +86 -0
- package/dist/steering/superclaude/sc-load.md +93 -0
- package/dist/steering/superclaude/sc-pm.md +592 -0
- package/dist/steering/superclaude/sc-recommend.md +1008 -0
- package/dist/steering/superclaude/sc-reflect.md +87 -0
- package/dist/steering/superclaude/sc-research.md +103 -0
- package/dist/steering/superclaude/sc-save.md +93 -0
- package/dist/steering/superclaude/sc-sc.md +134 -0
- package/dist/steering/superclaude/sc-select-tool.md +86 -0
- package/dist/steering/superclaude/sc-spawn.md +85 -0
- package/dist/steering/superclaude/sc-spec-panel.md +428 -0
- package/dist/steering/superclaude/sc-task.md +89 -0
- package/dist/steering/superclaude/sc-test.md +93 -0
- package/dist/steering/superclaude/sc-troubleshoot.md +88 -0
- package/dist/steering/superclaude/sc-workflow.md +97 -0
- package/package.json +52 -0
- package/src/cli.js +23 -0
- package/src/converter.js +63 -0
- package/src/installer.js +319 -0
- package/src/utils.js +105 -0
- package/templates/cli-settings.json +7 -0
|
@@ -0,0 +1,1008 @@
|
|
|
1
|
+
---
|
|
2
|
+
inclusion: manual
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# SuperClaude: recommend
|
|
6
|
+
|
|
7
|
+
> Converted from Claude Code SuperClaude framework
|
|
8
|
+
> Original: ~/.claude/commands/sc/recommend.md
|
|
9
|
+
|
|
10
|
+
# SuperClaude Intelligent Command Recommender
|
|
11
|
+
|
|
12
|
+
**Purpose**: Ultra-intelligent command recommendation engine - recommends the most suitable SuperClaude commands for any user input
|
|
13
|
+
|
|
14
|
+
## Command Definition
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
/sc:recommend [user request] --options [flags]
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Multi-language Support
|
|
21
|
+
|
|
22
|
+
### Language Detection and Translation System
|
|
23
|
+
|
|
24
|
+
```yaml
|
|
25
|
+
language_mapping:
|
|
26
|
+
turkish_keywords:
|
|
27
|
+
machine_learning: ["machine learning", "ml", "artificial intelligence", "ai"]
|
|
28
|
+
website: ["website", "web site", "site", "page"]
|
|
29
|
+
application: ["app", "application", "program", "software"]
|
|
30
|
+
error: ["error", "bug", "issue", "problem"]
|
|
31
|
+
performance: ["performance", "speed", "fast", "optimization"]
|
|
32
|
+
new: ["new", "create", "build", "start", "develop"]
|
|
33
|
+
analysis: ["analyze", "analysis", "examine", "research"]
|
|
34
|
+
|
|
35
|
+
english_keywords:
|
|
36
|
+
machine learning: ["machine learning", "artificial intelligence", "ml", "ai"]
|
|
37
|
+
website: ["website", "site", "page", "web application"]
|
|
38
|
+
performance: ["performance", "speed", "optimization", "speed"]
|
|
39
|
+
error: ["error", "issue", "bug", "problem"]
|
|
40
|
+
|
|
41
|
+
universal_patterns:
|
|
42
|
+
question_words: ["how", "what", "why", "which"]
|
|
43
|
+
action_words: ["do", "create", "build", "develop"]
|
|
44
|
+
help_words: ["help", "suggest", "recommend", "learn"]
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Language Detection Algorithm
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
def detect_language_and_translate(input_text):
|
|
51
|
+
turkish_chars = ['ç', 'ğ', 'ı', 'ö', 'ş', 'ü']
|
|
52
|
+
if any(char in input_text.lower() for char in turkish_chars):
|
|
53
|
+
return "tr"
|
|
54
|
+
|
|
55
|
+
english_common = ["the", "and", "is", "are", "was", "were", "will", "would", "could", "should"]
|
|
56
|
+
if any(word in input_text.lower().split() for word in english_common):
|
|
57
|
+
return "en"
|
|
58
|
+
|
|
59
|
+
return "en" # Default to English
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Multi-language Examples
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Turkish examples
|
|
66
|
+
/sc:recommend "makine öğrenmesi algoritması başlat"
|
|
67
|
+
/sc:recommend "sitem yavaş açılıyor, ne yapayım?"
|
|
68
|
+
/sc:recommend "yeni bir özellik eklemeliyim"
|
|
69
|
+
/sc:recommend "hata alıyorum, çözüm bul"
|
|
70
|
+
|
|
71
|
+
# English examples
|
|
72
|
+
/sc:recommend "I want to build ML algorithm"
|
|
73
|
+
/sc:recommend "my website is slow, help me optimize"
|
|
74
|
+
/sc:recommend "I need to add a new feature"
|
|
75
|
+
/sc:recommend "getting errors, need debugging"
|
|
76
|
+
|
|
77
|
+
# Mixed language
|
|
78
|
+
/sc:recommend "makine learning projesi yapmak istiyorum"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## SuperClaude Integrated Recommendation Engine
|
|
82
|
+
|
|
83
|
+
### 1. Keyword Extraction and Persona Matching
|
|
84
|
+
```yaml
|
|
85
|
+
keyword_extraction:
|
|
86
|
+
pattern_matching:
|
|
87
|
+
# Machine Learning
|
|
88
|
+
- "machine learning|ml|ai|artificial intelligence" → ml_category + --persona-analyzer
|
|
89
|
+
- "data|database|sql" → data_category + --persona-backend
|
|
90
|
+
- "model|algorithm|prediction|classify" → ml_category + --persona-architect
|
|
91
|
+
|
|
92
|
+
# Web Development
|
|
93
|
+
- "website|frontend|ui/ux" → web_category + --persona-frontend
|
|
94
|
+
- "react|vue|angular|component" → web_category + --persona-frontend --magic
|
|
95
|
+
- "api|backend|server|microservice" → api_category + --persona-backend
|
|
96
|
+
|
|
97
|
+
# Debugging & Performance
|
|
98
|
+
- "error|bug|issue|not working" → debug_category + --persona-analyzer
|
|
99
|
+
- "slow|performance|optimization" → performance_category + --persona-performance
|
|
100
|
+
- "security|auth|vulnerability" → security_category + --persona-security
|
|
101
|
+
|
|
102
|
+
# Development
|
|
103
|
+
- "new|create|build|develop|feature" → create_category + --persona-frontend|backend
|
|
104
|
+
- "design|architecture" → design_category + --persona-architect
|
|
105
|
+
- "test|qa|quality|validation" → test_category + --persona-qa
|
|
106
|
+
|
|
107
|
+
# Learning
|
|
108
|
+
- "how|learn|explain|tutorial" → learning_category + --persona-mentor
|
|
109
|
+
- "refactor|cleanup|improve|quality" → improve_category + --persona-refactorer
|
|
110
|
+
|
|
111
|
+
context_analysis:
|
|
112
|
+
- "beginner|starter|just started" → beginner_level + --persona-mentor
|
|
113
|
+
- "expert|senior|experienced" → expert_level + --persona-architect
|
|
114
|
+
- "continue|resume" → continuity_mode + --seq
|
|
115
|
+
- "next step|what now" → next_step_mode + --think
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### 2. SuperClaude Command Map
|
|
119
|
+
```yaml
|
|
120
|
+
category_mapping:
|
|
121
|
+
ml_category:
|
|
122
|
+
primary_commands: ["/sc:analyze --seq --c7", "/sc:design --seq --ultrathink"]
|
|
123
|
+
secondary_commands: ["/sc:build --feature --tdd", "/sc:improve --performance"]
|
|
124
|
+
mcp_servers: ["--c7", "--seq"]
|
|
125
|
+
personas: ["--persona-analyzer", "--persona-architect"]
|
|
126
|
+
flags: ["--think-hard", "--evidence", "--profile"]
|
|
127
|
+
|
|
128
|
+
web_category:
|
|
129
|
+
primary_commands: ["/sc:build --feature --magic", "/sc:design --api --seq"]
|
|
130
|
+
secondary_commands: ["/sc:test --coverage --e2e --pup", "/sc:analyze --code"]
|
|
131
|
+
mcp_servers: ["--magic", "--c7", "--pup"]
|
|
132
|
+
personas: ["--persona-frontend", "--persona-qa"]
|
|
133
|
+
flags: ["--react", "--tdd", "--validate"]
|
|
134
|
+
|
|
135
|
+
api_category:
|
|
136
|
+
primary_commands: ["/sc:design --api --ddd --seq", "/sc:build --feature --tdd"]
|
|
137
|
+
secondary_commands: ["/sc:scan --security --owasp", "/sc:analyze --performance --pup"]
|
|
138
|
+
mcp_servers: ["--seq", "--c7", "--pup"]
|
|
139
|
+
personas: ["--persona-backend", "--persona-security"]
|
|
140
|
+
flags: ["--microservices", "--ultrathink", "--security"]
|
|
141
|
+
|
|
142
|
+
debug_category:
|
|
143
|
+
primary_commands: ["/sc:troubleshoot --investigate --seq", "/sc:analyze --code --seq"]
|
|
144
|
+
secondary_commands: ["/sc:scan --security", "/sc:improve --quality"]
|
|
145
|
+
mcp_servers: ["--seq", "--all-mcp"]
|
|
146
|
+
personas: ["--persona-analyzer", "--persona-security"]
|
|
147
|
+
flags: ["--evidence", "--think-hard", "--profile"]
|
|
148
|
+
|
|
149
|
+
performance_category:
|
|
150
|
+
primary_commands: ["/sc:analyze --performance --pup --profile", "/sc:troubleshoot --seq"]
|
|
151
|
+
secondary_commands: ["/sc:improve --performance --iterate", "/sc:build --optimize"]
|
|
152
|
+
mcp_servers: ["--pup", "--seq"]
|
|
153
|
+
personas: ["--persona-performance", "--persona-analyzer"]
|
|
154
|
+
flags: ["--profile", "--monitoring", "--benchmark"]
|
|
155
|
+
|
|
156
|
+
security_category:
|
|
157
|
+
primary_commands: ["/sc:scan --security --owasp --deps", "/sc:analyze --security --seq"]
|
|
158
|
+
secondary_commands: ["/sc:improve --security --harden", "/sc:troubleshoot --investigate"]
|
|
159
|
+
mcp_servers: ["--seq"]
|
|
160
|
+
personas: ["--persona-security", "--persona-analyzer"]
|
|
161
|
+
flags: ["--strict", "--validate", "--owasp"]
|
|
162
|
+
|
|
163
|
+
create_category:
|
|
164
|
+
primary_commands: ["/sc:build --feature --tdd", "/sc:design --seq --ultrathink"]
|
|
165
|
+
secondary_commands: ["/sc:analyze --code --c7", "/sc:test --coverage --e2e"]
|
|
166
|
+
mcp_servers: ["--magic", "--c7", "--pup"]
|
|
167
|
+
personas: ["--persona-frontend", "--persona-backend", "--persona-architect"]
|
|
168
|
+
flags: ["--interactive", "--plan", "--think"]
|
|
169
|
+
|
|
170
|
+
test_category:
|
|
171
|
+
primary_commands: ["/sc:test --coverage --e2e --pup", "/sc:scan --validate"]
|
|
172
|
+
secondary_commands: ["/sc:improve --quality", "/sc:troubleshoot --investigate"]
|
|
173
|
+
mcp_servers: ["--pup"]
|
|
174
|
+
personas: ["--persona-qa", "--persona-performance"]
|
|
175
|
+
flags: ["--validate", "--coverage", "--monitoring"]
|
|
176
|
+
|
|
177
|
+
improve_category:
|
|
178
|
+
primary_commands: ["/sc:improve --quality --iterate", "/sc:cleanup --code --all"]
|
|
179
|
+
secondary_commands: ["/sc:analyze --code --seq", "/sc:refactor --quality"]
|
|
180
|
+
mcp_servers: ["--seq"]
|
|
181
|
+
personas: ["--persona-refactorer", "--persona-mentor"]
|
|
182
|
+
flags: ["--threshold", "--iterate", "--profile"]
|
|
183
|
+
|
|
184
|
+
learning_category:
|
|
185
|
+
primary_commands: ["/sc:document --user --examples", "/sc:analyze --code --c7"]
|
|
186
|
+
secondary_commands: ["/sc:brainstorm --interactive", "/sc:help --specific"]
|
|
187
|
+
mcp_servers: ["--c7"]
|
|
188
|
+
personas: ["--persona-mentor", "--persona-analyzer"]
|
|
189
|
+
flags: ["--examples", "--visual", "--interactive"]
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### 3. Expertise Level Detection and Customization
|
|
193
|
+
```yaml
|
|
194
|
+
expertise_levels:
|
|
195
|
+
beginner:
|
|
196
|
+
style: "detailed, step-by-step, explanatory"
|
|
197
|
+
recommended_commands: ["/sc:brainstorm --educational", "/sc:help --interactive"]
|
|
198
|
+
extra_explanations: true
|
|
199
|
+
step_by_step: true
|
|
200
|
+
|
|
201
|
+
intermediate:
|
|
202
|
+
style: "balanced, technical but understandable"
|
|
203
|
+
recommended_commands: ["/sc:implement --guided", "/sc:design --template"]
|
|
204
|
+
some_explanations: true
|
|
205
|
+
|
|
206
|
+
expert:
|
|
207
|
+
style: "fast, technical, direct"
|
|
208
|
+
recommended_commands: ["/sc:implement --advanced", "/sc:analyze --deep"]
|
|
209
|
+
minimal_explanations: true
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## SuperClaude Integrated Real Examples
|
|
213
|
+
|
|
214
|
+
### Example 1: Beginner Level ML Project
|
|
215
|
+
```bash
|
|
216
|
+
User: /sc:recommend "I'm new, I want to do machine learning"
|
|
217
|
+
|
|
218
|
+
🎯 Project Analysis: Machine learning - Beginner level
|
|
219
|
+
🌍 Language: Turkish detected
|
|
220
|
+
📊 Level: Beginner mode + Mentor persona active
|
|
221
|
+
🎭 Persona: --persona-mentor + --persona-analyzer
|
|
222
|
+
|
|
223
|
+
✅ SuperClaude Recommended Flow:
|
|
224
|
+
1. /sc:analyze --seq --c7 --persona-mentor
|
|
225
|
+
"Research ML goals, data types, and suitable libraries"
|
|
226
|
+
|
|
227
|
+
2. /sc:design --seq --ultrathink --persona-architect
|
|
228
|
+
"Design simple but scalable ML architecture"
|
|
229
|
+
|
|
230
|
+
3. /sc:build --feature --tdd --persona-frontend
|
|
231
|
+
"Create ML pipeline with TDD"
|
|
232
|
+
|
|
233
|
+
4. /sc:test --coverage --e2e --pup --persona-qa
|
|
234
|
+
"Create comprehensive test scenarios"
|
|
235
|
+
|
|
236
|
+
🔧 Recommended MCP Servers: --c7 --seq
|
|
237
|
+
💡 Additional Recommendations:
|
|
238
|
+
- Learning mode: /sc:document --user --examples --persona-mentor
|
|
239
|
+
- Security: /sc:scan --security --owasp (next phase)
|
|
240
|
+
- Performance: /sc:analyze --performance --pup (after model training)
|
|
241
|
+
|
|
242
|
+
🚀 Quick Start (optional):
|
|
243
|
+
/sc:build --feature --magic --react --persona-frontend
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Example 2: Web Performance Optimization
|
|
247
|
+
```bash
|
|
248
|
+
User: /sc:recommend "my site is very slow, what should I do?"
|
|
249
|
+
|
|
250
|
+
🎯 Project Analysis: Web performance optimization - Urgent
|
|
251
|
+
🌍 Language: Turkish
|
|
252
|
+
📊 Level: Urgent situation + Performance persona
|
|
253
|
+
🎭 Persona: --persona-performance + --persona-analyzer
|
|
254
|
+
|
|
255
|
+
✅ SuperClaude Recommended Flow:
|
|
256
|
+
1. /sc:analyze --performance --pup --profile --persona-performance
|
|
257
|
+
"Detailed performance analysis and bottleneck detection"
|
|
258
|
+
|
|
259
|
+
2. /sc:troubleshoot --investigate --seq --persona-analyzer
|
|
260
|
+
"Investigate issue with root cause analysis"
|
|
261
|
+
|
|
262
|
+
3. /sc:improve --performance --iterate --persona-performance
|
|
263
|
+
"Data-driven performance improvements"
|
|
264
|
+
|
|
265
|
+
4. /sc:test --coverage --e2e --pup --persona-qa
|
|
266
|
+
"Tests validating improvements"
|
|
267
|
+
|
|
268
|
+
🔧 Recommended MCP Servers: --pup --seq
|
|
269
|
+
💡 Smart Flag Recommendations:
|
|
270
|
+
--monitoring (continuous performance tracking)
|
|
271
|
+
--benchmark (before/after comparison)
|
|
272
|
+
--profile (detailed profiling report)
|
|
273
|
+
|
|
274
|
+
📊 Estimated Time: 1-3 hours
|
|
275
|
+
🎯 Expected Improvement: 40-80% speed increase (data-dependent)
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Example 3: Advanced API Security (English)
|
|
279
|
+
```bash
|
|
280
|
+
User: /sc:recommend "Need to secure API with authentication and authorization"
|
|
281
|
+
|
|
282
|
+
🎯 Project Analysis: API security - Advanced level
|
|
283
|
+
🌍 Language: English detected
|
|
284
|
+
📊 Level: Expert + Security focus
|
|
285
|
+
🎭 Persona: --persona-security + --persona-backend
|
|
286
|
+
|
|
287
|
+
✅ SuperClaude Recommended Flow:
|
|
288
|
+
1. /sc:analyze --security --seq --persona-security
|
|
289
|
+
"Comprehensive security analysis and threat modeling"
|
|
290
|
+
|
|
291
|
+
2. /sc:scan --security --owasp --deps --strict --persona-security
|
|
292
|
+
"OWASP Top 10 vulnerability scan and dependency check"
|
|
293
|
+
|
|
294
|
+
3. /sc:design --api --ddd --seq --ultrathink --persona-architect
|
|
295
|
+
"Secure API architecture with proper authentication patterns"
|
|
296
|
+
|
|
297
|
+
4. /sc:build --feature --tdd --persona-backend
|
|
298
|
+
"Implement security features with test-driven development"
|
|
299
|
+
|
|
300
|
+
5. /sc:improve --security --harden --persona-security
|
|
301
|
+
"Security hardening and production-ready configurations"
|
|
302
|
+
|
|
303
|
+
🔧 Recommended MCP Servers: --seq
|
|
304
|
+
💡 Advanced Security Options:
|
|
305
|
+
--token-based-auth --role-based-access --rate-limiting
|
|
306
|
+
--audit-logging --encryption --secure-headers
|
|
307
|
+
|
|
308
|
+
📊 Estimated Timeline: 1-2 weeks
|
|
309
|
+
🔒 Security Level: Enterprise-grade
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Example 4: React Component Development
|
|
313
|
+
```bash
|
|
314
|
+
User: /sc:recommend "I'm going to create a new user profile component"
|
|
315
|
+
|
|
316
|
+
🎯 Project Analysis: React UI component development
|
|
317
|
+
🌍 Language: Turkish
|
|
318
|
+
📊 Level: Intermediate development
|
|
319
|
+
🎭 Persona: --persona-frontend + --persona-qa
|
|
320
|
+
|
|
321
|
+
✅ SuperClaude Recommended Flow:
|
|
322
|
+
1. /sc:design --api --seq --persona-architect
|
|
323
|
+
"Component interface and props design"
|
|
324
|
+
|
|
325
|
+
2. /sc:build --feature --magic --react --persona-frontend
|
|
326
|
+
"Create accessible React component with Magic"
|
|
327
|
+
|
|
328
|
+
3. /sc:test --coverage --e2e --pup --persona-qa
|
|
329
|
+
"E2E tests and accessibility validation"
|
|
330
|
+
|
|
331
|
+
4. /sc:analyze --code --c7 --persona-frontend
|
|
332
|
+
"React best practices and optimization"
|
|
333
|
+
|
|
334
|
+
🔧 Recommended MCP Servers: --magic --c7 --pup
|
|
335
|
+
💡 UI/UX Recommendations:
|
|
336
|
+
--accessibility --responsive --design-system
|
|
337
|
+
--component-library --storybook-integration
|
|
338
|
+
|
|
339
|
+
📊 Estimated Time: 2-4 hours
|
|
340
|
+
🎨 Features: Accessible, responsive, testable component
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
## Intelligent Recommendation Format
|
|
344
|
+
|
|
345
|
+
```yaml
|
|
346
|
+
standard_response_format:
|
|
347
|
+
header:
|
|
348
|
+
- 🎯 Project analysis
|
|
349
|
+
- 🌍 Language detection
|
|
350
|
+
- 📊 Level determination
|
|
351
|
+
|
|
352
|
+
main_recommendations:
|
|
353
|
+
- ✅ Main recommendations (3 commands)
|
|
354
|
+
- 💡 Additional recommendations (optional)
|
|
355
|
+
- 🚀 Quick start (if available)
|
|
356
|
+
|
|
357
|
+
enhanced_features:
|
|
358
|
+
- 🔧 Smart flag recommendations
|
|
359
|
+
- 📊 Time/Budget estimation
|
|
360
|
+
- 🎯 Success metrics
|
|
361
|
+
- 📚 Learning resources
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
## Step 3: Project Context Detection System
|
|
365
|
+
|
|
366
|
+
### Project Type Detection Algorithm
|
|
367
|
+
|
|
368
|
+
```yaml
|
|
369
|
+
project_detection:
|
|
370
|
+
file_system_analysis:
|
|
371
|
+
react_project:
|
|
372
|
+
indicators: ["package.json with react", "src/App.jsx", "public/", "node_modules/react"]
|
|
373
|
+
detection_commands:
|
|
374
|
+
primary: ["/sc:build --feature --magic --react", "/sc:test --coverage --e2e --pup"]
|
|
375
|
+
personas: ["--persona-frontend", "--persona-qa"]
|
|
376
|
+
mcp: ["--magic", "--c7", "--pup"]
|
|
377
|
+
|
|
378
|
+
vue_project:
|
|
379
|
+
indicators: ["package.json with vue", "src/App.vue", "vue.config.js"]
|
|
380
|
+
detection_commands:
|
|
381
|
+
primary: ["/sc:build --feature --magic", "/sc:analyze --code --c7"]
|
|
382
|
+
personas: ["--persona-frontend"]
|
|
383
|
+
mcp: ["--magic", "--c7"]
|
|
384
|
+
|
|
385
|
+
node_api_project:
|
|
386
|
+
indicators: ["package.json with express", "server.js", "routes/", "controllers/"]
|
|
387
|
+
detection_commands:
|
|
388
|
+
primary: ["/sc:design --api --ddd --seq", "/sc:build --feature --tdd"]
|
|
389
|
+
personas: ["--persona-backend", "--persona-security"]
|
|
390
|
+
mcp: ["--seq", "--c7"]
|
|
391
|
+
|
|
392
|
+
python_project:
|
|
393
|
+
indicators: ["requirements.txt", "setup.py", "src/", "main.py", "Dockerfile"]
|
|
394
|
+
detection_commands:
|
|
395
|
+
primary: ["/sc:analyze --code --seq", "/sc:design --seq --ultrathink"]
|
|
396
|
+
personas: ["--persona-analyzer", "--persona-architect"]
|
|
397
|
+
mcp: ["--seq"]
|
|
398
|
+
|
|
399
|
+
database_project:
|
|
400
|
+
indicators: ["schema.sql", "migrations/", "models/", "prisma.schema"]
|
|
401
|
+
detection_commands:
|
|
402
|
+
primary: ["/sc:migrate --database --validate", "/sc:analyze --security --seq"]
|
|
403
|
+
personas: ["--persona-backend", "--persona-security"]
|
|
404
|
+
mcp: ["--seq"]
|
|
405
|
+
|
|
406
|
+
project_size_estimation:
|
|
407
|
+
small_project:
|
|
408
|
+
file_count: "<50 files"
|
|
409
|
+
complexity: "simple"
|
|
410
|
+
recommended_approach: "direct implementation"
|
|
411
|
+
|
|
412
|
+
medium_project:
|
|
413
|
+
file_count: "50-200 files"
|
|
414
|
+
complexity: "moderate"
|
|
415
|
+
recommended_approach: "plan -> analyze -> implement"
|
|
416
|
+
|
|
417
|
+
large_project:
|
|
418
|
+
file_count: ">200 files"
|
|
419
|
+
complexity: "complex"
|
|
420
|
+
recommended_approach: "comprehensive analysis -> design -> implement"
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
### Context-Aware Examples
|
|
424
|
+
|
|
425
|
+
```bash
|
|
426
|
+
/sc:recommend "I need to add a new feature"
|
|
427
|
+
|
|
428
|
+
🎯 Project Analysis: React project - Feature development
|
|
429
|
+
📁 Project Context: React application detected (15+ components)
|
|
430
|
+
🎭 Persona: --persona-frontend + --persona-qa
|
|
431
|
+
|
|
432
|
+
✅ Context-Aware Recommendations:
|
|
433
|
+
1. /sc:build --feature --magic --react --persona-frontend
|
|
434
|
+
"New component compatible with existing design system"
|
|
435
|
+
|
|
436
|
+
2. /sc:test --coverage --e2e --pup --persona-qa
|
|
437
|
+
"Create tests for new feature"
|
|
438
|
+
|
|
439
|
+
3. /sc:analyze --code --c7 --persona-frontend
|
|
440
|
+
"React best practices check"
|
|
441
|
+
|
|
442
|
+
💡 Project-Specific Flags:
|
|
443
|
+
--storybook-integration (if Storybook exists)
|
|
444
|
+
--component-library (if it's a component library)
|
|
445
|
+
--design-system (integration with existing design system)
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
```bash
|
|
449
|
+
/sc:recommend "I need to do a security audit"
|
|
450
|
+
|
|
451
|
+
🎯 Project Analysis: Node.js API - Security audit
|
|
452
|
+
📁 Project Context: Express API detected (JWT auth exists)
|
|
453
|
+
🎭 Persona: --persona-security + --persona-backend
|
|
454
|
+
|
|
455
|
+
✅ Context-Aware Recommendations:
|
|
456
|
+
1. /sc:scan --security --owasp --deps --strict --persona-security
|
|
457
|
+
"OWASP Top 10 and dependency security scan"
|
|
458
|
+
|
|
459
|
+
2. /sc:analyze --security --seq --persona-security
|
|
460
|
+
"JWT and authentication pattern analysis"
|
|
461
|
+
|
|
462
|
+
3. /sc:improve --security --harden --persona-backend
|
|
463
|
+
"Security hardening and production configs"
|
|
464
|
+
|
|
465
|
+
💡 Project-Specific Flags:
|
|
466
|
+
--jwt-validation (JWT token validation)
|
|
467
|
+
--rate-limiting (API rate limiting)
|
|
468
|
+
--audit-logging (audit logging setup)
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
## Step 4: Real-Time Streaming Mode
|
|
472
|
+
|
|
473
|
+
### Continuous Recommendation System
|
|
474
|
+
|
|
475
|
+
```yaml
|
|
476
|
+
streaming_mode:
|
|
477
|
+
activation:
|
|
478
|
+
command: "/sc:recommend --stream [project description]"
|
|
479
|
+
purpose: "Continuous recommendation throughout project"
|
|
480
|
+
|
|
481
|
+
flow_tracking:
|
|
482
|
+
phase_1: Analysis & Planning
|
|
483
|
+
commands: ["/sc:analyze", "/sc:design"]
|
|
484
|
+
next_phase_trigger: "analysis_complete"
|
|
485
|
+
|
|
486
|
+
phase_2: Implementation
|
|
487
|
+
commands: ["/sc:build", "/sc:implement"]
|
|
488
|
+
next_phase_trigger: "implementation_complete"
|
|
489
|
+
|
|
490
|
+
phase_3: Testing & Validation
|
|
491
|
+
commands: ["/sc:test", "/sc:scan"]
|
|
492
|
+
next_phase_trigger: "testing_complete"
|
|
493
|
+
|
|
494
|
+
phase_4: Deployment & Monitoring
|
|
495
|
+
commands: ["/sc:deploy", "/sc:improve"]
|
|
496
|
+
project_complete: true
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
### Streaming Example
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
/sc:recommend --stream "I'm building a new e-commerce site"
|
|
503
|
+
|
|
504
|
+
🚀 STREAMING MODE ACTIVE
|
|
505
|
+
📊 Project: E-commerce website
|
|
506
|
+
⏱️ Estimated Time: 3-6 weeks
|
|
507
|
+
|
|
508
|
+
--- PHASE 1: ANALYSIS & PLANNING ---
|
|
509
|
+
✅ Current: /sc:analyze --seq --c7 --persona-architect
|
|
510
|
+
"E-commerce architecture and technology selection"
|
|
511
|
+
|
|
512
|
+
🔄 Next Steps (when completed):
|
|
513
|
+
1. /sc:design --api --ddd --seq --ultrathink --persona-architect
|
|
514
|
+
2. /sc:build --feature --magic --react --persona-frontend
|
|
515
|
+
|
|
516
|
+
--- STREAM CONTINUING ---
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
## Step 5: Alternative Recommendation Engine
|
|
520
|
+
|
|
521
|
+
### Multiple Option Presentation
|
|
522
|
+
|
|
523
|
+
```yaml
|
|
524
|
+
alternative_engine:
|
|
525
|
+
structure:
|
|
526
|
+
primary_recommendation: "Most suitable option"
|
|
527
|
+
alternatives: "2-3 different approaches"
|
|
528
|
+
comparison_matrix: "Advantage/disadvantage analysis"
|
|
529
|
+
community_preference: "Popularity rate"
|
|
530
|
+
|
|
531
|
+
categories:
|
|
532
|
+
technology_alternatives:
|
|
533
|
+
frontend: ["React", "Vue", "Angular", "Svelte"]
|
|
534
|
+
backend: ["Node.js", "Python", "Java", "Go"]
|
|
535
|
+
database: ["PostgreSQL", "MongoDB", "MySQL", "Redis"]
|
|
536
|
+
|
|
537
|
+
approach_alternatives:
|
|
538
|
+
development: ["TDD", "BDD", "Agile", "Waterfall"]
|
|
539
|
+
deployment: ["Docker", "Kubernetes", "Serverless", "Traditional"]
|
|
540
|
+
testing: ["Unit", "Integration", "E2E", "Performance"]
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
### Alternative Example
|
|
544
|
+
|
|
545
|
+
```bash
|
|
546
|
+
/sc:recommend --alternatives "new blog site"
|
|
547
|
+
|
|
548
|
+
🎯 PROJECT ANALYSIS: Blog site development
|
|
549
|
+
|
|
550
|
+
⭐ BEST RECOMMENDATION:
|
|
551
|
+
/sc:build --feature --magic --nextjs --persona-frontend
|
|
552
|
+
"Modern, SEO-friendly blog with Next.js"
|
|
553
|
+
|
|
554
|
+
🔧 ALTERNATIVES:
|
|
555
|
+
1. /sc:build --feature --react --static --persona-frontend
|
|
556
|
+
✅ Advantage: Simpler learning curve
|
|
557
|
+
❌ Disadvantage: Less SEO optimization
|
|
558
|
+
👥 Users: 35% prefer this
|
|
559
|
+
|
|
560
|
+
2. /sc:build --feature --vue --nuxt --persona-frontend
|
|
561
|
+
✅ Advantage: Great developer experience
|
|
562
|
+
❌ Disadvantage: Smaller community
|
|
563
|
+
👥 Users: 20% prefer this
|
|
564
|
+
|
|
565
|
+
3. /sc:build --feature --gatsby --static --persona-frontend
|
|
566
|
+
✅ Advantage: Excellent performance and SEO
|
|
567
|
+
❌ Disadvantage: More complex configuration
|
|
568
|
+
👥 Users: 15% prefer this
|
|
569
|
+
|
|
570
|
+
📊 COMPARISON TABLE:
|
|
571
|
+
| Technology | Speed | SEO | Learning | Community |
|
|
572
|
+
|-----------|-------|-----|----------|-----------|
|
|
573
|
+
| Next.js | ⚡⚡⚡ | ⭐⭐⭐ | ⭐⭐ | ⭐⭐⭐ |
|
|
574
|
+
| React | ⚡⚡ | ⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐ |
|
|
575
|
+
| Vue/Nuxt | ⚡⚡⚡ | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
|
|
576
|
+
| Gatsby | ⚡⚡⚡ | ⭐⭐⭐ | ⭐ | ⭐⭐ |
|
|
577
|
+
|
|
578
|
+
🏆 COMMUNITY PREFERENCE: Next.js (30%)
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
## Step 6: Time and Budget Estimation System
|
|
582
|
+
|
|
583
|
+
### Intelligent Estimation Algorithm
|
|
584
|
+
|
|
585
|
+
```yaml
|
|
586
|
+
estimation_engine:
|
|
587
|
+
complexity_factors:
|
|
588
|
+
project_type:
|
|
589
|
+
simple_component: 1-3 days
|
|
590
|
+
feature_development: 1-2 weeks
|
|
591
|
+
microservice: 2-4 weeks
|
|
592
|
+
full_application: 1-3 months
|
|
593
|
+
enterprise_system: 3-6 months
|
|
594
|
+
|
|
595
|
+
experience_multiplier:
|
|
596
|
+
beginner: 2.0x
|
|
597
|
+
intermediate: 1.5x
|
|
598
|
+
expert: 1.0x
|
|
599
|
+
senior: 0.8x
|
|
600
|
+
|
|
601
|
+
scope_factors:
|
|
602
|
+
small_scope: 1.0x
|
|
603
|
+
medium_scope: 1.5x
|
|
604
|
+
large_scope: 2.5x
|
|
605
|
+
enterprise_scope: 4.0x
|
|
606
|
+
|
|
607
|
+
time_estimates:
|
|
608
|
+
ml_projects:
|
|
609
|
+
data_collection: 20-30% of total time
|
|
610
|
+
preprocessing: 15-25% of total time
|
|
611
|
+
model_training: 10-20% of total time
|
|
612
|
+
evaluation: 10-15% of total time
|
|
613
|
+
deployment: 15-25% of total time
|
|
614
|
+
|
|
615
|
+
web_projects:
|
|
616
|
+
design: 15-25% of total time
|
|
617
|
+
frontend: 30-40% of total time
|
|
618
|
+
backend: 25-35% of total time
|
|
619
|
+
testing: 10-20% of total time
|
|
620
|
+
deployment: 5-15% of total time
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
### Estimation Examples
|
|
624
|
+
|
|
625
|
+
```bash
|
|
626
|
+
/sc:recommend "I'm developing a classification model" --estimate
|
|
627
|
+
|
|
628
|
+
🎯 PROJECT ANALYSIS: Classification model development
|
|
629
|
+
📊 Estimation Mode: Active
|
|
630
|
+
|
|
631
|
+
⏱️ TIME ESTIMATE:
|
|
632
|
+
- Total Time: 2-4 weeks
|
|
633
|
+
- Data Collection: 4-7 days (20%)
|
|
634
|
+
- Preprocessing: 3-5 days (15%)
|
|
635
|
+
- Model Training: 2-4 days (10%)
|
|
636
|
+
- Evaluation: 2-3 days (10%)
|
|
637
|
+
- Deployment: 3-5 days (15%)
|
|
638
|
+
- Buffer: 4-7 days (30%)
|
|
639
|
+
|
|
640
|
+
💰 BUDGET ESTIMATE:
|
|
641
|
+
- Development Time: 80-120 hours
|
|
642
|
+
- Experience Level: Intermediate (1.5x multiplier)
|
|
643
|
+
- Total Effort: 120-180 hours
|
|
644
|
+
|
|
645
|
+
🎯 CRITICAL FACTORS:
|
|
646
|
+
- Data quality and quantity: High impact
|
|
647
|
+
- Model complexity: Medium impact
|
|
648
|
+
- Deployment requirements: Medium impact
|
|
649
|
+
|
|
650
|
+
⚠️ RISK ASSESSMENT:
|
|
651
|
+
- Data cleaning difficulty: Medium risk
|
|
652
|
+
- Model performance: Medium risk
|
|
653
|
+
- Model drift: Low risk
|
|
654
|
+
|
|
655
|
+
🚀 QUICK START: MVP within 1 week
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
```bash
|
|
659
|
+
/sc:recommend "corporate website" --estimate
|
|
660
|
+
|
|
661
|
+
🎯 PROJECT ANALYSIS: Corporate website
|
|
662
|
+
📊 Estimation Mode: Active
|
|
663
|
+
|
|
664
|
+
⏱️ TIME ESTIMATE:
|
|
665
|
+
- Total Time: 4-8 weeks
|
|
666
|
+
- Design and UX: 1-2 weeks (25%)
|
|
667
|
+
- Frontend Development: 2-3 weeks (40%)
|
|
668
|
+
- Backend and CMS: 1-2 weeks (25%)
|
|
669
|
+
- Testing and Optimization: 0.5-1 week (10%)
|
|
670
|
+
|
|
671
|
+
💰 BUDGET ESTIMATE:
|
|
672
|
+
- Development Time: 160-320 hours
|
|
673
|
+
- Team Size: 2-3 people
|
|
674
|
+
- Total Project Engineering: 320-960 hours
|
|
675
|
+
|
|
676
|
+
🎯 FEATURE SCOPE:
|
|
677
|
+
- Homepage and services: Required
|
|
678
|
+
- About and contact: Required
|
|
679
|
+
- Blog/news: Optional (+1 week)
|
|
680
|
+
- Admin panel: Optional (+1-2 weeks)
|
|
681
|
+
- Multi-language: Optional (+1 week)
|
|
682
|
+
|
|
683
|
+
📱 DEVICE SUPPORT:
|
|
684
|
+
- Responsive design: Included
|
|
685
|
+
- Mobile app: Additional 4-8 weeks
|
|
686
|
+
- PWA: Additional 1-2 weeks
|
|
687
|
+
|
|
688
|
+
⚠️ PROJECT RISKS:
|
|
689
|
+
- Content management needs: Medium risk
|
|
690
|
+
- SEO requirements: Low risk
|
|
691
|
+
- Browser compatibility: Low risk
|
|
692
|
+
```
|
|
693
|
+
|
|
694
|
+
## Step 7: Smart Flag Recommendation System
|
|
695
|
+
|
|
696
|
+
### Context-Based Flag Recommendations
|
|
697
|
+
|
|
698
|
+
```yaml
|
|
699
|
+
smart_flag_engine:
|
|
700
|
+
context_detection:
|
|
701
|
+
project_size:
|
|
702
|
+
small: "--quick --simple --no-validation"
|
|
703
|
+
medium: "--plan --validate --profile"
|
|
704
|
+
large: "--plan --validate --seq --ultrathink"
|
|
705
|
+
|
|
706
|
+
security_requirements:
|
|
707
|
+
basic: "--basic-security"
|
|
708
|
+
standard: "--security --validate"
|
|
709
|
+
enterprise: "--security --owasp --strict --audit"
|
|
710
|
+
|
|
711
|
+
performance_requirements:
|
|
712
|
+
low_traffic: "--basic-optimization"
|
|
713
|
+
medium_traffic: "--optimize --profile"
|
|
714
|
+
high_traffic: "--optimize --profile --monitoring --benchmark"
|
|
715
|
+
|
|
716
|
+
learning_mode:
|
|
717
|
+
beginner: "--tutorial --examples --step-by-step"
|
|
718
|
+
intermediate: "--guided --examples"
|
|
719
|
+
expert: "--advanced --no-explanations"
|
|
720
|
+
|
|
721
|
+
intelligent_suggestions:
|
|
722
|
+
based_on_history:
|
|
723
|
+
if_previous_errors: "--validate --dry-run --backup"
|
|
724
|
+
if_security_issues: "--security --scan --strict"
|
|
725
|
+
if_performance_issues: "--profile --optimize --monitor"
|
|
726
|
+
if_large_refactor: "--plan --backup --validate"
|
|
727
|
+
|
|
728
|
+
based_on_project_type:
|
|
729
|
+
ml_project: "--data-validation --model-monitoring"
|
|
730
|
+
api_project: "--security --rate-limiting --monitoring"
|
|
731
|
+
frontend_project: "--accessibility --responsive --performance"
|
|
732
|
+
mobile_project: "--offline --sync --battery-optimized"
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
### Smart Flag Examples
|
|
736
|
+
|
|
737
|
+
```bash
|
|
738
|
+
/sc:recommend "performance improvement"
|
|
739
|
+
|
|
740
|
+
🎯 PROJECT ANALYSIS: Performance optimization
|
|
741
|
+
🧠 SMART FLAG RECOMMENDATIONS:
|
|
742
|
+
|
|
743
|
+
📊 BASED ON HISTORY:
|
|
744
|
+
- Previous errors encountered: --validate --backup
|
|
745
|
+
- Previous security issues: --security --scan
|
|
746
|
+
- Large refactoring history: --plan --dry-run
|
|
747
|
+
|
|
748
|
+
🎯 PROJECT CONTEXT:
|
|
749
|
+
- Large project (>200 files): --seq --ultrathink
|
|
750
|
+
- Production environment: --validate --monitoring
|
|
751
|
+
- High traffic: --benchmark --profile
|
|
752
|
+
|
|
753
|
+
💡 RECOMMENDED COMMAND:
|
|
754
|
+
/sc:improve --performance --optimize --profile --monitoring --validate
|
|
755
|
+
|
|
756
|
+
🔧 ADDITIONAL FLAG OPTIONS:
|
|
757
|
+
--memory-optimization (if RAM usage is high)
|
|
758
|
+
--database-optimization (if DB is slow)
|
|
759
|
+
--cdn-integration (if static resources are many)
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
```bash
|
|
763
|
+
/sc:recommend "my first React component"
|
|
764
|
+
|
|
765
|
+
🎯 PROJECT ANALYSIS: React component development - Beginner
|
|
766
|
+
🧠 SMART FLAG RECOMMENDATIONS:
|
|
767
|
+
|
|
768
|
+
📚 LEARNING MODE:
|
|
769
|
+
- Beginner detected: --tutorial --examples --step-by-step
|
|
770
|
+
- Component development: --magic --design-system
|
|
771
|
+
|
|
772
|
+
🎯 PROJECT CONTEXT:
|
|
773
|
+
- React project: --component-library --storybook
|
|
774
|
+
- Accessibility required: --a11y --wcag
|
|
775
|
+
|
|
776
|
+
💡 RECOMMENDED COMMAND:
|
|
777
|
+
/sc:build --feature --magic --react --tutorial --examples --persona-frontend
|
|
778
|
+
|
|
779
|
+
🔧 ADDITIONAL LEARNING FLAGS:
|
|
780
|
+
--guided-development (step-by-step guidance)
|
|
781
|
+
--best-practices (React best practices)
|
|
782
|
+
--error-handling (error handling examples)
|
|
783
|
+
```
|
|
784
|
+
|
|
785
|
+
## Step 8: Community Patterns and Final Integration
|
|
786
|
+
|
|
787
|
+
### Community Data-Based Recommendations
|
|
788
|
+
|
|
789
|
+
```yaml
|
|
790
|
+
community_patterns:
|
|
791
|
+
successful_workflows:
|
|
792
|
+
web_development:
|
|
793
|
+
most_successful_flow:
|
|
794
|
+
- "/sc:analyze --code --c7"
|
|
795
|
+
- "/sc:design --api --seq"
|
|
796
|
+
- "/sc:build --feature --magic --tdd"
|
|
797
|
+
- "/sc:test --coverage --e2e --pup"
|
|
798
|
+
success_rate: "87%"
|
|
799
|
+
user_feedback: "Highly recommended for React projects"
|
|
800
|
+
|
|
801
|
+
ml_development:
|
|
802
|
+
most_successful_flow:
|
|
803
|
+
- "/sc:analyze --seq --c7 --persona-mentor"
|
|
804
|
+
- "/sc:design --seq --ultrathink --persona-architect"
|
|
805
|
+
- "/sc:build --feature --tdd --persona-frontend"
|
|
806
|
+
- "/sc:improve --performance --iterate"
|
|
807
|
+
success_rate: "82%"
|
|
808
|
+
user_feedback: "Great for ML beginners"
|
|
809
|
+
|
|
810
|
+
popular_command_combinations:
|
|
811
|
+
security_focused:
|
|
812
|
+
- "/sc:scan --security --owasp"
|
|
813
|
+
- "/sc:analyze --security --seq"
|
|
814
|
+
- "/sc:improve --security --harden"
|
|
815
|
+
usage_frequency: "45% of production projects"
|
|
816
|
+
|
|
817
|
+
performance_optimization:
|
|
818
|
+
- "/sc:analyze --performance --pup --profile"
|
|
819
|
+
- "/sc:improve --performance --iterate"
|
|
820
|
+
- "/sc:test --coverage --benchmark"
|
|
821
|
+
usage_frequency: "38% of optimization projects"
|
|
822
|
+
|
|
823
|
+
user_preferences:
|
|
824
|
+
technology_stacks:
|
|
825
|
+
react_stack: "65% of web projects"
|
|
826
|
+
nextjs_stack: "42% of production sites"
|
|
827
|
+
python_ml: "78% of ML projects"
|
|
828
|
+
nodejs_api: "71% of backend projects"
|
|
829
|
+
|
|
830
|
+
development_approaches:
|
|
831
|
+
tdd_approach: "58% prefer TDD"
|
|
832
|
+
iterative_approach: "73% prefer iterative development"
|
|
833
|
+
security_first: "67% prioritize security early"
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
### Final Command Integration
|
|
837
|
+
|
|
838
|
+
```yaml
|
|
839
|
+
recommend_command_implementation:
|
|
840
|
+
command_structure: "/sc:recommend [query] --options [flags]"
|
|
841
|
+
|
|
842
|
+
available_options:
|
|
843
|
+
--estimate: "Includes time and budget estimation"
|
|
844
|
+
--alternatives: "Provides multiple solution recommendations"
|
|
845
|
+
--stream: "Continuous project tracking mode"
|
|
846
|
+
--community: "Includes community data"
|
|
847
|
+
--language [tr|en|auto]: "Language setting"
|
|
848
|
+
--expertise [beginner|intermediate|expert]: "Level setting"
|
|
849
|
+
|
|
850
|
+
response_format:
|
|
851
|
+
analysis_section:
|
|
852
|
+
- 🎯 Project analysis
|
|
853
|
+
- 🌍 Language detection
|
|
854
|
+
- 📊 Level determination
|
|
855
|
+
- 🎭 Persona recommendation
|
|
856
|
+
- 📁 Project context
|
|
857
|
+
|
|
858
|
+
recommendations_section:
|
|
859
|
+
- ✅ Main recommendations (3 commands)
|
|
860
|
+
- 💡 Additional recommendations (optional)
|
|
861
|
+
- 🔧 Smart flag recommendations
|
|
862
|
+
- 🚀 Quick start options
|
|
863
|
+
|
|
864
|
+
enhanced_section:
|
|
865
|
+
- ⏱️ Time/budget estimation (with --estimate)
|
|
866
|
+
- 🔧 Alternative options (with --alternatives)
|
|
867
|
+
- 👥 Community data (with --community)
|
|
868
|
+
- 🔄 Continuous flow (with --stream)
|
|
869
|
+
```
|
|
870
|
+
|
|
871
|
+
### Comprehensive Final Example
|
|
872
|
+
|
|
873
|
+
```bash
|
|
874
|
+
/sc:recommend "I'm building an e-commerce site" --estimate --alternatives --community
|
|
875
|
+
|
|
876
|
+
🎯 COMPREHENSIVE ANALYSIS
|
|
877
|
+
==========================
|
|
878
|
+
|
|
879
|
+
📊 Project Analysis: E-commerce website development
|
|
880
|
+
🌍 Language: Turkish detected
|
|
881
|
+
📁 Project Context: New project (no existing project)
|
|
882
|
+
🎭 Persona: --persona-architect + --persona-frontend + --persona-security
|
|
883
|
+
🔍 Category: Web development + E-commerce + Security-focused
|
|
884
|
+
|
|
885
|
+
✅ BEST RECOMMENDATIONS
|
|
886
|
+
=================
|
|
887
|
+
|
|
888
|
+
1. 🏗️ PLANNING AND DESIGN
|
|
889
|
+
/sc:design --api --ddd --seq --ultrathink --persona-architect
|
|
890
|
+
"E-commerce domain architecture and system design"
|
|
891
|
+
|
|
892
|
+
2. 🎨 FRONTEND DEVELOPMENT
|
|
893
|
+
/sc:build --feature --magic --nextjs --persona-frontend
|
|
894
|
+
"Modern, SEO-friendly e-commerce frontend"
|
|
895
|
+
|
|
896
|
+
3. 🔒 SECURITY AND BACKEND
|
|
897
|
+
/sc:build --feature --tdd --persona-security
|
|
898
|
+
"Secure payment system and user management"
|
|
899
|
+
|
|
900
|
+
🔧 SMART FLAG RECOMMENDATIONS
|
|
901
|
+
======================
|
|
902
|
+
|
|
903
|
+
📚 Learning mode: --tutorial --examples (if you're just starting)
|
|
904
|
+
🚀 Quick start: --quick-start --template (e-commerce template)
|
|
905
|
+
🔒 Security-focused: --security --owasp --strict (for payment transactions)
|
|
906
|
+
⚡ Performance: --optimize --monitoring --cdn (for high traffic)
|
|
907
|
+
|
|
908
|
+
🔧 ALTERNATIVE TECHNOLOGIES
|
|
909
|
+
==========================
|
|
910
|
+
|
|
911
|
+
⭐ BEST: Next.js + Stripe + PostgreSQL
|
|
912
|
+
✅ Advantage: Modern stack, great SEO, scalable
|
|
913
|
+
👥 Community: 42% prefer this
|
|
914
|
+
|
|
915
|
+
🥈 SECOND: Vue.js + Shopify API + Headless CMS
|
|
916
|
+
✅ Advantage: Faster development, good DX
|
|
917
|
+
👥 Community: 18% prefer this
|
|
918
|
+
|
|
919
|
+
🥉 THIRD: React + Custom Backend + MongoDB
|
|
920
|
+
✅ Advantage: Maximum flexibility, full control
|
|
921
|
+
👥 Community: 15% prefer this
|
|
922
|
+
|
|
923
|
+
⏱️ TIME AND BUDGET ESTIMATE
|
|
924
|
+
========================
|
|
925
|
+
|
|
926
|
+
📅 Project Duration: 6-12 weeks
|
|
927
|
+
- Planning & Design: 1-2 weeks
|
|
928
|
+
- Frontend Development: 2-4 weeks
|
|
929
|
+
- Backend & Payment: 2-3 weeks
|
|
930
|
+
- Testing & Security: 1-2 weeks
|
|
931
|
+
- Deployment & Launch: 0.5-1 week
|
|
932
|
+
|
|
933
|
+
💰 Budget Estimate:
|
|
934
|
+
- Solo Developer: 240-480 hours
|
|
935
|
+
- Small Team (2-3 people): 480-1440 hours
|
|
936
|
+
- Enterprise Team: 1440-2880 hours
|
|
937
|
+
|
|
938
|
+
👥 COMMUNITY DATA
|
|
939
|
+
==================
|
|
940
|
+
|
|
941
|
+
🏆 Most Successful Flow:
|
|
942
|
+
/sc:analyze → /sc:design → /sc:build → /sc:test → /sc:deploy
|
|
943
|
+
Success Rate: 87% (from 2,847 projects)
|
|
944
|
+
|
|
945
|
+
📈 Popular Features:
|
|
946
|
+
- User authentication: 94% of projects have it
|
|
947
|
+
- Payment integration: 89% of projects have it
|
|
948
|
+
- Admin panel: 76% of projects have it
|
|
949
|
+
- Inventory management: 68% of projects have it
|
|
950
|
+
|
|
951
|
+
⚠️ COMMON RISKS:
|
|
952
|
+
- Payment security issues: 32% of projects experienced
|
|
953
|
+
- Performance scaling: 28% of projects had issues
|
|
954
|
+
- Tax calculation complexity: 45% of projects struggled
|
|
955
|
+
|
|
956
|
+
🚀 ADDITIONAL SUPER RECOMMENDATIONS
|
|
957
|
+
===================
|
|
958
|
+
|
|
959
|
+
💡 Premium Features (+2-4 weeks):
|
|
960
|
+
- Multi-vendor marketplace
|
|
961
|
+
- Advanced analytics dashboard
|
|
962
|
+
- Mobile app (React Native)
|
|
963
|
+
- AI-powered recommendations
|
|
964
|
+
|
|
965
|
+
🔒 Enterprise Security (+1-2 weeks):
|
|
966
|
+
- SOC 2 compliance
|
|
967
|
+
- Advanced fraud detection
|
|
968
|
+
- PCI DSS certification
|
|
969
|
+
- Security audit package
|
|
970
|
+
|
|
971
|
+
📱 Omnichannel Support (+2-3 weeks):
|
|
972
|
+
- PWA capabilities
|
|
973
|
+
- Mobile-first design
|
|
974
|
+
- Social media integration
|
|
975
|
+
- Progressive web app
|
|
976
|
+
|
|
977
|
+
🔄 STREAMING MODE CAN BE ACTIVATED
|
|
978
|
+
===================================
|
|
979
|
+
|
|
980
|
+
To receive continuous recommendations throughout the project:
|
|
981
|
+
/sc:recommend --stream "track my e-commerce project"
|
|
982
|
+
|
|
983
|
+
You'll receive automatic recommendations at each stage! 🚀
|
|
984
|
+
```
|
|
985
|
+
|
|
986
|
+
## 🎉 COMPLETED FEATURES
|
|
987
|
+
|
|
988
|
+
1. ✅ **Multi-language Support** - Turkish, English, and cross-language transitions
|
|
989
|
+
2. ✅ **SuperClaude Integration** - 18 commands, 9 personas, 4 MCP servers
|
|
990
|
+
3. ✅ **Project Context Detection** - File system analysis and project type detection
|
|
991
|
+
4. ✅ **Real-Time Streaming Mode** - Continuous project tracking and phase recommendations
|
|
992
|
+
5. ✅ **Alternative Recommendation Engine** - Multiple options and comparison matrix
|
|
993
|
+
6. ✅ **Time/Budget Estimation** - Intelligent estimation and risk analysis
|
|
994
|
+
7. ✅ **Smart Flag Recommendations** - Context and history-based recommendations
|
|
995
|
+
8. ✅ **Community Patterns** - Data from successful projects
|
|
996
|
+
9. ✅ **Comprehensive Integration** - All features working together
|
|
997
|
+
|
|
998
|
+
## 🚀 HOW TO USE?
|
|
999
|
+
|
|
1000
|
+
```bash
|
|
1001
|
+
/sc:recommend "I want to do something"
|
|
1002
|
+
/sc:recommend "new React project" --estimate --alternatives
|
|
1003
|
+
/sc:recommend --stream "I'm developing my e-commerce site"
|
|
1004
|
+
/sc:recommend "I want to learn React" --expertise beginner
|
|
1005
|
+
/sc:recommend "blog site" --community
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
**Ultra-intelligent command recommender ready! 🎉**
|