claude-symphony 0.0.10 → 0.0.11
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/bin/create.js +26 -0
- package/package.json +1 -1
- package/template/CLAUDE.md +52 -0
package/bin/create.js
CHANGED
|
@@ -457,6 +457,32 @@ ${colors.yellow}After creation:${colors.reset}
|
|
|
457
457
|
copyRecursiveSync(templateDir, targetDir);
|
|
458
458
|
log('✓ Template copy complete', 'green');
|
|
459
459
|
|
|
460
|
+
// 3.1 Remove any nested .git directories from the copied template
|
|
461
|
+
// This prevents nested git repositories which cause tracking issues
|
|
462
|
+
function removeNestedGitDirs(dir, isRoot = true) {
|
|
463
|
+
if (!fs.existsSync(dir)) return;
|
|
464
|
+
|
|
465
|
+
const items = fs.readdirSync(dir);
|
|
466
|
+
for (const item of items) {
|
|
467
|
+
const itemPath = path.join(dir, item);
|
|
468
|
+
const stat = fs.statSync(itemPath);
|
|
469
|
+
|
|
470
|
+
if (stat.isDirectory()) {
|
|
471
|
+
if (item === '.git' && !isRoot) {
|
|
472
|
+
// Remove nested .git directories (not the root one if it exists)
|
|
473
|
+
fs.rmSync(itemPath, { recursive: true, force: true });
|
|
474
|
+
log(` Removed nested .git from ${path.relative(targetDir, dir)}`, 'yellow');
|
|
475
|
+
} else if (item !== '.git') {
|
|
476
|
+
// Recurse into non-.git directories
|
|
477
|
+
removeNestedGitDirs(itemPath, false);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
removeNestedGitDirs(targetDir);
|
|
484
|
+
log('✓ Cleaned up nested .git directories', 'green');
|
|
485
|
+
|
|
460
486
|
// 4. Initialize progress.json
|
|
461
487
|
const progressTemplatePath = path.join(targetDir, 'state', 'progress.json.template');
|
|
462
488
|
const progressPath = path.join(targetDir, 'state', 'progress.json');
|
package/package.json
CHANGED
package/template/CLAUDE.md
CHANGED
|
@@ -197,6 +197,15 @@ Visualizes context usage, tool activity, and todo progress in the statusline.
|
|
|
197
197
|
| `/test` | 09-testing |
|
|
198
198
|
| `/deploy` | 10-deployment |
|
|
199
199
|
|
|
200
|
+
### Requirements & Design Commands
|
|
201
|
+
| Command | Description |
|
|
202
|
+
|---------|-------------|
|
|
203
|
+
| `/refine` | Interactive requirements refinement (Epic → Feature → Task) |
|
|
204
|
+
| `/refine --validate` | Validate requirements against INVEST criteria |
|
|
205
|
+
| `/moodboard` | Collect design references and analyze design tokens |
|
|
206
|
+
| `/moodboard analyze` | Extract colors, fonts, styles from collected images |
|
|
207
|
+
| `/moodboard skip` | Skip moodboard collection (use AI-generated design) |
|
|
208
|
+
|
|
200
209
|
## Skills (Auto-Activated)
|
|
201
210
|
|
|
202
211
|
| Skill | Trigger | Description |
|
|
@@ -366,6 +375,19 @@ state/
|
|
|
366
375
|
templates/ # State templates
|
|
367
376
|
```
|
|
368
377
|
|
|
378
|
+
## Key File Locations
|
|
379
|
+
|
|
380
|
+
Quick reference for frequently accessed files:
|
|
381
|
+
|
|
382
|
+
| File | Location | Description |
|
|
383
|
+
|------|----------|-------------|
|
|
384
|
+
| **Project Brief** | `stages/01-brainstorm/inputs/project_brief.md` | Initial project requirements and scope |
|
|
385
|
+
| **Progress State** | `state/progress.json` | Pipeline progress and current state |
|
|
386
|
+
| **Configuration** | `config/*.yaml` | All configuration files |
|
|
387
|
+
| **HANDOFF** | `stages/XX-stage/HANDOFF.md` | Stage transition documents |
|
|
388
|
+
| **Checkpoints** | `state/checkpoints/` | Saved checkpoint files |
|
|
389
|
+
| **Stage Outputs** | `stages/XX-stage/outputs/` | Generated deliverables per stage |
|
|
390
|
+
|
|
369
391
|
## Design Patterns Applied
|
|
370
392
|
|
|
371
393
|
1. **Sequential Workflow Architecture** - Sequential stage definition and auto-progression
|
|
@@ -377,6 +399,36 @@ state/
|
|
|
377
399
|
|
|
378
400
|
---
|
|
379
401
|
|
|
402
|
+
## MCP Server Selection Guide
|
|
403
|
+
|
|
404
|
+
> Configuration file: `config/mcp_fallbacks.yaml`
|
|
405
|
+
|
|
406
|
+
### Use Case by MCP Server
|
|
407
|
+
|
|
408
|
+
| MCP Server | Best For | Example Use Cases |
|
|
409
|
+
|------------|----------|-------------------|
|
|
410
|
+
| **Exa Search** | Web research, market analysis | Competitor research, trend analysis, API docs |
|
|
411
|
+
| **Context7** | Code documentation, library references | Framework docs, package APIs, code examples |
|
|
412
|
+
| **Firecrawl** | Deep website scraping | Extracting structured data, full page content |
|
|
413
|
+
| **Notion** | Task management, collaboration | Creating/updating tasks, project tracking |
|
|
414
|
+
| **Figma** | Design token extraction | Colors, typography, component specs |
|
|
415
|
+
|
|
416
|
+
### Stage-Specific Recommendations
|
|
417
|
+
|
|
418
|
+
| Stage | Primary MCP | Fallback | Notes |
|
|
419
|
+
|-------|-------------|----------|-------|
|
|
420
|
+
| 02-research | Exa Search | Context7 | Use Exa for market data, Context7 for tech docs |
|
|
421
|
+
| 03-planning | Context7 | Exa Search | Architecture patterns, framework best practices |
|
|
422
|
+
| 04-ui-ux | Figma | - | Extract design tokens if Figma file available |
|
|
423
|
+
| 05-task-management | Notion | Markdown files | Falls back to local files if Notion not configured |
|
|
424
|
+
|
|
425
|
+
### Fallback Conditions
|
|
426
|
+
- **API quota exceeded**: Automatic switch to fallback provider
|
|
427
|
+
- **Response quality insufficient**: Manual switch recommended
|
|
428
|
+
- **Timeout**: Retry with fallback after 30 seconds
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
380
432
|
## Multi-AI Orchestration
|
|
381
433
|
|
|
382
434
|
> Configuration files: `config/ai_collaboration.yaml`, `config/ai_benchmarking.yaml`
|