orchestr8 2.2.0 → 2.3.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/README.md +8 -8
- package/package.json +1 -1
- package/src/init.js +17 -10
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ A multi-agent workflow framework for automated feature development. Four special
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx
|
|
17
|
+
npx orchestr8 init
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
This installs the `.blueprint/` directory and `SKILL.md` into your project. If files already exist, you'll be prompted before overwriting. It also adds the workflow queue to `.gitignore`.
|
|
@@ -23,11 +23,11 @@ This installs the `.blueprint/` directory and `SKILL.md` into your project. If f
|
|
|
23
23
|
|
|
24
24
|
| Command | Description |
|
|
25
25
|
|---------|-------------|
|
|
26
|
-
| `npx
|
|
27
|
-
| `npx
|
|
28
|
-
| `npx
|
|
29
|
-
| `npx
|
|
30
|
-
| `npx
|
|
26
|
+
| `npx orchestr8 init` | Initialize `.blueprint/` and `SKILL.md` in your project |
|
|
27
|
+
| `npx orchestr8 update` | Update agents, templates, and rituals to latest version |
|
|
28
|
+
| `npx orchestr8 add-skills [agent]` | Install recommended skills for an agent (alex, cass, nigel, codey, all) |
|
|
29
|
+
| `npx orchestr8 skills [agent]` | List recommended skills |
|
|
30
|
+
| `npx orchestr8 help` | Show help |
|
|
31
31
|
|
|
32
32
|
The `update` command preserves your content in `features/` and `system_specification/` while updating the framework files. Your `.business_context/` directory is separate from `.blueprint/` and unaffected by updates.
|
|
33
33
|
|
|
@@ -43,8 +43,8 @@ Each agent has recommended skills from the [skills.sh](https://skills.sh) ecosys
|
|
|
43
43
|
| **Codey** | `javascript-expert`, `modern-javascript-patterns` |
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
npx
|
|
47
|
-
npx
|
|
46
|
+
npx orchestr8 add-skills all # Install all recommended skills
|
|
47
|
+
npx orchestr8 add-skills codey # Install skills for Codey only
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Usage
|
package/package.json
CHANGED
package/src/init.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const fs = require('fs');
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const readline = require('readline');
|
|
4
|
+
const { addSkills } = require('./skills');
|
|
4
5
|
|
|
5
6
|
const PACKAGE_ROOT = path.resolve(__dirname, '..');
|
|
6
7
|
const TARGET_DIR = process.cwd();
|
|
@@ -63,7 +64,8 @@ async function init() {
|
|
|
63
64
|
const businessContextSrc = path.join(PACKAGE_ROOT, '.business_context');
|
|
64
65
|
const businessContextDest = path.join(TARGET_DIR, '.business_context');
|
|
65
66
|
const skillSrc = path.join(PACKAGE_ROOT, 'SKILL.md');
|
|
66
|
-
const
|
|
67
|
+
const claudeCommandsDir = path.join(TARGET_DIR, '.claude', 'commands');
|
|
68
|
+
const skillCommandDest = path.join(claudeCommandsDir, 'implement-feature.md');
|
|
67
69
|
|
|
68
70
|
// Check if .blueprint already exists
|
|
69
71
|
if (fs.existsSync(blueprintDest)) {
|
|
@@ -75,18 +77,19 @@ async function init() {
|
|
|
75
77
|
fs.rmSync(blueprintDest, { recursive: true });
|
|
76
78
|
}
|
|
77
79
|
|
|
78
|
-
//
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
// Copy skill to .claude/commands/ for Claude Code discovery
|
|
81
|
+
fs.mkdirSync(claudeCommandsDir, { recursive: true });
|
|
82
|
+
if (fs.existsSync(skillCommandDest)) {
|
|
83
|
+
const answer = await prompt('.claude/commands/implement-feature.md already exists. Overwrite? (y/N): ');
|
|
81
84
|
if (answer !== 'y' && answer !== 'yes') {
|
|
82
|
-
console.log('Skipping
|
|
85
|
+
console.log('Skipping skill command');
|
|
83
86
|
} else {
|
|
84
|
-
fs.copyFileSync(skillSrc,
|
|
85
|
-
console.log('Copied
|
|
87
|
+
fs.copyFileSync(skillSrc, skillCommandDest);
|
|
88
|
+
console.log('Copied skill to .claude/commands/implement-feature.md');
|
|
86
89
|
}
|
|
87
90
|
} else {
|
|
88
|
-
fs.copyFileSync(skillSrc,
|
|
89
|
-
console.log('Copied
|
|
91
|
+
fs.copyFileSync(skillSrc, skillCommandDest);
|
|
92
|
+
console.log('Copied skill to .claude/commands/implement-feature.md');
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
// Copy .blueprint directory
|
|
@@ -106,8 +109,12 @@ async function init() {
|
|
|
106
109
|
// Update .gitignore
|
|
107
110
|
updateGitignore();
|
|
108
111
|
|
|
112
|
+
// Install agent skills
|
|
113
|
+
console.log('\nInstalling agent skills...');
|
|
114
|
+
await addSkills('all');
|
|
115
|
+
|
|
109
116
|
console.log(`
|
|
110
|
-
|
|
117
|
+
orchestr8 initialized successfully!
|
|
111
118
|
|
|
112
119
|
Next steps:
|
|
113
120
|
1. Add business context documents to .business_context/
|