@99x-ai-dlc/idf-installer 0.0.0-stage → 0.2.5
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 +51 -2
- package/bin/idf-installer.js +185 -0
- package/package.json +22 -4
- package/repository-agents/process-diagnostic-agent/review-guide.md +669 -0
- package/repository-agents/process-diagnostic-agent/role-play.md +223 -0
- package/repository-agents/process-diagnostic-agent/skills/trend-analysis.md +113 -0
- package/repository-agents/process-estimation-agent/estimate.md +69 -0
- package/repository-agents/process-estimation-agent/estimation-guide.md +435 -0
- package/repository-agents/process-migration-agent/migrate.md +72 -0
- package/repository-agents/process-migration-agent/migration-guide.md +490 -0
- package/repository-agents/process-onboarding-agent/external-skills/README.md +189 -0
- package/repository-agents/process-onboarding-agent/external-skills/ux-os.md +92 -0
- package/repository-agents/process-onboarding-agent/onboard.md +214 -0
- package/repository-agents/process-onboarding-agent/ops/build/backlog.md +43 -0
- package/repository-agents/process-onboarding-agent/ops/build/bolts/_template.md +53 -0
- package/repository-agents/process-onboarding-agent/ops/build/units/_template.md +112 -0
- package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/README.md +22 -0
- package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/_template.md +34 -0
- package/repository-agents/process-onboarding-agent/ops/inception/dependency-map.md +47 -0
- package/repository-agents/process-onboarding-agent/ops/inception/elaborations/_template.md +46 -0
- package/repository-agents/process-onboarding-agent/ops/inception/intents/README.md +9 -0
- package/repository-agents/process-onboarding-agent/ops/inception/intents/_template.md +92 -0
- package/repository-agents/process-onboarding-agent/ops/operate/improvements/_template.md +51 -0
- package/repository-agents/process-onboarding-agent/ops/operate/incidents/_template.md +61 -0
- package/repository-agents/process-onboarding-agent/ops/operate/retros/_template.md +122 -0
- package/repository-agents/process-onboarding-agent/rules/engagement.md +70 -0
- package/repository-agents/process-onboarding-agent/setup-guide.md +1409 -0
- package/repository-agents/process-onboarding-agent/skills/ai-hub-metrics.md +341 -0
- package/repository-agents/process-onboarding-agent/skills/bolt-risk-assessment.md +208 -0
- package/repository-agents/process-onboarding-agent/skills/bug-bolt.md +105 -0
- package/repository-agents/process-onboarding-agent/skills/compact-docs.md +123 -0
- package/repository-agents/process-onboarding-agent/skills/dependency-audit.md +187 -0
- package/repository-agents/process-onboarding-agent/skills/design-session.md +230 -0
- package/repository-agents/process-onboarding-agent/skills/governance-map.md +212 -0
- package/repository-agents/process-onboarding-agent/skills/hotfix-bolt.md +102 -0
- package/repository-agents/process-onboarding-agent/skills/knowledge-promotion.md +188 -0
- package/repository-agents/process-onboarding-agent/skills/new-engineer-induction.md +303 -0
- package/repository-agents/process-onboarding-agent/skills/nfr-bolt.md +117 -0
- package/repository-agents/process-onboarding-agent/skills/notifications.md +456 -0
- package/repository-agents/process-onboarding-agent/skills/process-health.md +252 -0
- package/repository-agents/process-onboarding-agent/skills/process-visualization.md +157 -0
- package/repository-agents/process-onboarding-agent/skills/product-engineering-essentials.md +261 -0
- package/repository-agents/process-onboarding-agent/skills/progress-digest.md +184 -0
- package/repository-agents/process-onboarding-agent/skills/release-readiness-checklist.md +259 -0
- package/repository-agents/process-onboarding-agent/skills/root-cause-analysis.md +151 -0
- package/repository-agents/process-onboarding-agent/skills/solution-shaping.md +98 -0
- package/repository-agents/process-onboarding-agent/skills/uat.md +267 -0
- package/repository-agents/process-skills-agent/onboard.md +68 -0
- package/repository-agents/process-skills-agent/skills-guide.md +404 -0
package/README.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @99x-ai-dlc/idf-installer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Installs the [99x Intent Delivery Framework](https://github.com/99x-Projects/ai-dlc-base) agent folders into your project. Works with Claude Code, Cursor, and GitHub Copilot.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
No install required. Run the profile you need directly:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx @99x-ai-dlc/idf-installer onboarding # process-onboarding-agent/ + process-estimation-agent/
|
|
11
|
+
npx @99x-ai-dlc/idf-installer diagnostic # process-diagnostic-agent/
|
|
12
|
+
npx @99x-ai-dlc/idf-installer migration # process-migration-agent/ + process-onboarding-agent/ + process-diagnostic-agent/
|
|
13
|
+
npx @99x-ai-dlc/idf-installer skills # process-skills-agent/ + process-onboarding-agent/
|
|
14
|
+
npx @99x-ai-dlc/idf-installer estimation # process-estimation-agent/
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Then open your AI assistant and say the trigger phrase printed after the command completes.
|
|
18
|
+
|
|
19
|
+
To pin a specific version (works for any project, including non-Node):
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx @99x-ai-dlc/idf-installer@0.1.1 onboarding
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## `npx @99x-ai-dlc/idf-installer`
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npx @99x-ai-dlc/idf-installer <profile> [options]
|
|
29
|
+
npx @99x-ai-dlc/idf-installer --agents <name>[,<name>...] [options]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
| Profile | Copies |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `onboarding` | `process-onboarding-agent/`, `process-estimation-agent/` |
|
|
35
|
+
| `diagnostic` | `process-diagnostic-agent/` |
|
|
36
|
+
| `migration` | `process-migration-agent/`, `process-onboarding-agent/`, `process-diagnostic-agent/` |
|
|
37
|
+
| `skills` | `process-skills-agent/`, `process-onboarding-agent/` |
|
|
38
|
+
| `estimation` | `process-estimation-agent/` |
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
npx @99x-ai-dlc/idf-installer onboarding
|
|
42
|
+
npx @99x-ai-dlc/idf-installer diagnostic --dest ./my-project
|
|
43
|
+
npx @99x-ai-dlc/idf-installer --agents process-diagnostic-agent --force
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Options: `--dest <path>`, `--force`, `--list`, `-h/--help`
|
|
47
|
+
|
|
48
|
+
## Maintenance note
|
|
49
|
+
|
|
50
|
+
`repository-agents/` inside this package is bundled from the base repo at publish time via `npm run prepack` (`scripts/sync-agents.js`). To publish, push a tag named `v<version>` (for example `v0.2.1`). The publish workflow uses that tag as the package version and ignores the `version` field in `package.json`.
|
|
51
|
+
|
|
52
|
+
`PROFILES` and `TRIGGERS` in [`bin/idf-installer.js`](bin/idf-installer.js) are a copy of the same tables in `cli/bin/ai-dlc-init.js` and mirror the per-flow steps in the main `README.md` "Getting Started" section. If a flow's required folders or trigger phrase change in any of those three places, update all three.
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
// `npx @99x-ai-dlc/idf-installer <profile>` — copies a specific profile from the bundled
|
|
5
|
+
// repository-agents/ into the target directory, without fetching from GitHub.
|
|
6
|
+
//
|
|
7
|
+
// PROFILES and TRIGGERS below must stay in sync with:
|
|
8
|
+
// cli/bin/ai-dlc-init.js — same tables, fetch-based variant
|
|
9
|
+
// README.md "Getting Started" — the per-flow steps reference these profiles
|
|
10
|
+
|
|
11
|
+
const fs = require('fs');
|
|
12
|
+
const path = require('path');
|
|
13
|
+
|
|
14
|
+
const AGENTS_DIR = path.join(__dirname, '..', 'repository-agents');
|
|
15
|
+
|
|
16
|
+
const PROFILES = {
|
|
17
|
+
onboarding: ['process-onboarding-agent', 'process-estimation-agent'],
|
|
18
|
+
diagnostic: ['process-diagnostic-agent'],
|
|
19
|
+
migration: ['process-migration-agent', 'process-onboarding-agent', 'process-diagnostic-agent'],
|
|
20
|
+
skills: ['process-skills-agent', 'process-onboarding-agent'],
|
|
21
|
+
estimation: ['process-estimation-agent'],
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const TRIGGERS = {
|
|
25
|
+
onboarding: 'Read process-onboarding-agent/onboard.md and follow the instructions inside it.',
|
|
26
|
+
diagnostic: 'Read process-diagnostic-agent/role-play.md and follow the instructions inside it.',
|
|
27
|
+
migration: 'Read process-migration-agent/migrate.md and follow the instructions inside it.',
|
|
28
|
+
skills: 'Read process-skills-agent/onboard.md and follow the instructions inside it.',
|
|
29
|
+
estimation: 'Read process-estimation-agent/estimate.md and follow the instructions inside it.',
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
function printHelp() {
|
|
33
|
+
console.log(`@99x-ai-dlc/idf-installer — copy AI-DLC agent folders from the installed package into a project
|
|
34
|
+
|
|
35
|
+
Usage:
|
|
36
|
+
npx @99x-ai-dlc/idf-installer <profile> [options]
|
|
37
|
+
npx @99x-ai-dlc/idf-installer --agents <name>[,<name>...] [options]
|
|
38
|
+
|
|
39
|
+
Profiles:
|
|
40
|
+
${Object.entries(PROFILES)
|
|
41
|
+
.map(([name, agents]) => ` ${name.padEnd(11)} -> ${agents.join(', ')}`)
|
|
42
|
+
.join('\n')}
|
|
43
|
+
|
|
44
|
+
Options:
|
|
45
|
+
--agents <list> Comma-separated agent folder names, instead of a profile
|
|
46
|
+
--dest <path> Directory to copy into (default: current directory)
|
|
47
|
+
--force Overwrite folders that already exist at the destination
|
|
48
|
+
--list List available profiles and exit
|
|
49
|
+
-h, --help Show this help
|
|
50
|
+
|
|
51
|
+
Examples:
|
|
52
|
+
npx @99x-ai-dlc/idf-installer onboarding
|
|
53
|
+
npx @99x-ai-dlc/idf-installer diagnostic --dest ./my-project
|
|
54
|
+
npx @99x-ai-dlc/idf-installer --agents process-diagnostic-agent
|
|
55
|
+
`);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function parseArgs(argv) {
|
|
59
|
+
const opts = {
|
|
60
|
+
profile: null,
|
|
61
|
+
agents: null,
|
|
62
|
+
dest: '.',
|
|
63
|
+
force: false,
|
|
64
|
+
list: false,
|
|
65
|
+
help: false,
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
for (let i = 0; i < argv.length; i++) {
|
|
69
|
+
const arg = argv[i];
|
|
70
|
+
switch (arg) {
|
|
71
|
+
case '-h':
|
|
72
|
+
case '--help':
|
|
73
|
+
opts.help = true;
|
|
74
|
+
break;
|
|
75
|
+
case '--list':
|
|
76
|
+
opts.list = true;
|
|
77
|
+
break;
|
|
78
|
+
case '--force':
|
|
79
|
+
opts.force = true;
|
|
80
|
+
break;
|
|
81
|
+
case '--agents': {
|
|
82
|
+
const val = argv[++i];
|
|
83
|
+
if (!val || val.startsWith('-')) throw new Error(`--agents requires a value`);
|
|
84
|
+
opts.agents = val.split(',').map((s) => s.trim()).filter(Boolean);
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
case '--dest': {
|
|
88
|
+
const val = argv[++i];
|
|
89
|
+
if (!val || val.startsWith('-')) throw new Error(`--dest requires a path`);
|
|
90
|
+
opts.dest = val;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
default:
|
|
94
|
+
if (arg.startsWith('-')) throw new Error(`Unknown option: ${arg}`);
|
|
95
|
+
if (opts.profile) throw new Error(`Unexpected extra argument: ${arg}`);
|
|
96
|
+
opts.profile = arg;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return opts;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const ALLOWED_AGENTS = new Set(Object.values(PROFILES).flat());
|
|
104
|
+
|
|
105
|
+
function resolveAgents(opts) {
|
|
106
|
+
if (opts.agents) {
|
|
107
|
+
const invalid = opts.agents.filter((a) => !ALLOWED_AGENTS.has(a));
|
|
108
|
+
if (invalid.length) {
|
|
109
|
+
console.error(`Unknown agent folder(s): ${invalid.join(', ')}. Run with --list to see valid names.`);
|
|
110
|
+
process.exit(1);
|
|
111
|
+
}
|
|
112
|
+
return opts.agents;
|
|
113
|
+
}
|
|
114
|
+
if (!opts.profile) return null;
|
|
115
|
+
const agents = PROFILES[opts.profile];
|
|
116
|
+
if (!agents) {
|
|
117
|
+
console.error(`Unknown profile "${opts.profile}". Run with --list to see available profiles.`);
|
|
118
|
+
process.exit(1);
|
|
119
|
+
}
|
|
120
|
+
return agents;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function main() {
|
|
124
|
+
let opts;
|
|
125
|
+
try {
|
|
126
|
+
opts = parseArgs(process.argv.slice(2));
|
|
127
|
+
} catch (err) {
|
|
128
|
+
console.error(err.message);
|
|
129
|
+
printHelp();
|
|
130
|
+
process.exit(1);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
if (opts.help) { printHelp(); return; }
|
|
134
|
+
|
|
135
|
+
if (opts.list) {
|
|
136
|
+
console.log('Available profiles:');
|
|
137
|
+
for (const [name, agents] of Object.entries(PROFILES)) {
|
|
138
|
+
console.log(` ${name.padEnd(11)} -> ${agents.join(', ')}`);
|
|
139
|
+
}
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
const agents = resolveAgents(opts);
|
|
144
|
+
if (!agents || agents.length === 0) { printHelp(); process.exit(1); }
|
|
145
|
+
|
|
146
|
+
const dest = path.resolve(opts.dest);
|
|
147
|
+
if (!fs.existsSync(dest)) {
|
|
148
|
+
console.error(`Destination does not exist: ${dest}`);
|
|
149
|
+
process.exit(1);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const conflicts = agents.filter((a) => fs.existsSync(path.join(dest, a)));
|
|
153
|
+
if (conflicts.length && !opts.force) {
|
|
154
|
+
console.error(
|
|
155
|
+
`Refusing to overwrite existing folder(s): ${conflicts.join(', ')}\n` +
|
|
156
|
+
'Re-run with --force to overwrite, or remove them first.'
|
|
157
|
+
);
|
|
158
|
+
process.exit(1);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
console.log(`Copying ${agents.join(', ')} to ${dest} ...`);
|
|
162
|
+
for (const agent of agents) {
|
|
163
|
+
const src = path.join(AGENTS_DIR, agent);
|
|
164
|
+
if (!fs.existsSync(src)) {
|
|
165
|
+
console.error(
|
|
166
|
+
`Agent folder "${agent}" not found in bundled repository-agents/. ` +
|
|
167
|
+
'Run --list to see valid names.'
|
|
168
|
+
);
|
|
169
|
+
process.exit(1);
|
|
170
|
+
}
|
|
171
|
+
const target = path.join(dest, agent);
|
|
172
|
+
fs.rmSync(target, { recursive: true, force: true });
|
|
173
|
+
fs.cpSync(src, target, { recursive: true });
|
|
174
|
+
console.log(` copied ${agent}/`);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
console.log('\nDone. Open your AI assistant in this repo and say:\n');
|
|
178
|
+
if (opts.profile && TRIGGERS[opts.profile]) {
|
|
179
|
+
console.log(` "${TRIGGERS[opts.profile]}"\n`);
|
|
180
|
+
} else {
|
|
181
|
+
console.log(' Read the .md entry point inside the copied folder(s) and follow the instructions inside it.\n');
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
main();
|
package/package.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@99x-ai-dlc/idf-installer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.5",
|
|
4
|
+
"description": "Install the 99x Intent Delivery Framework agent folders into your project",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"bin": {
|
|
7
|
+
"idf-installer": "bin/idf-installer.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"prepack": "node scripts/sync-agents.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"bin",
|
|
14
|
+
"repository-agents"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=16.7.0"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/xianix-team/ai-dlc-base.git",
|
|
22
|
+
"directory": "npm"
|
|
23
|
+
}
|
|
24
|
+
}
|