@claude-collective/cli 0.13.1 → 0.13.2
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/CHANGELOG.md +7 -0
- package/dist/{chunk-7Q44DMSP.js → chunk-ORVG4P2D.js} +4 -4
- package/dist/{chunk-6DCSSORF.js → chunk-SWZXWQ6I.js} +11 -11
- package/dist/commands/edit.js +6 -6
- package/dist/commands/init.js +6 -6
- package/dist/components/wizard/step-build.js +2 -2
- package/dist/components/wizard/step-build.test.js +2 -2
- package/dist/components/wizard/wizard.js +6 -6
- package/dist/src/agents/_templates/agent.liquid +140 -0
- package/dist/src/agents/developer/api-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/dist/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/dist/src/agents/developer/api-developer/examples.md +72 -0
- package/dist/src/agents/developer/api-developer/intro.md +22 -0
- package/dist/src/agents/developer/api-developer/output-format.md +359 -0
- package/dist/src/agents/developer/api-developer/workflow.md +471 -0
- package/dist/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/cli-developer/examples.md +68 -0
- package/dist/src/agents/developer/cli-developer/intro.md +23 -0
- package/dist/src/agents/developer/cli-developer/output-format.md +216 -0
- package/dist/src/agents/developer/cli-developer/workflow.md +509 -0
- package/dist/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/dist/src/agents/developer/web-architecture/examples.md +187 -0
- package/dist/src/agents/developer/web-architecture/intro.md +35 -0
- package/dist/src/agents/developer/web-architecture/output-format.md +261 -0
- package/dist/src/agents/developer/web-architecture/workflow.md +599 -0
- package/dist/src/agents/developer/web-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/dist/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/web-developer/examples.md +114 -0
- package/dist/src/agents/developer/web-developer/intro.md +5 -0
- package/dist/src/agents/developer/web-developer/output-format.md +213 -0
- package/dist/src/agents/developer/web-developer/workflow.md +459 -0
- package/dist/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/dist/src/agents/meta/agent-summoner/examples.md +176 -0
- package/dist/src/agents/meta/agent-summoner/intro.md +9 -0
- package/dist/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/dist/src/agents/meta/documentor/agent.yaml +11 -0
- package/dist/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/dist/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/dist/src/agents/meta/documentor/examples.md +147 -0
- package/dist/src/agents/meta/documentor/intro.md +11 -0
- package/dist/src/agents/meta/documentor/output-format.md +237 -0
- package/dist/src/agents/meta/documentor/workflow.md +1245 -0
- package/dist/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/dist/src/agents/meta/skill-summoner/examples.md +116 -0
- package/dist/src/agents/meta/skill-summoner/intro.md +5 -0
- package/dist/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/dist/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/dist/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/dist/src/agents/migration/cli-migrator/anti-patterns.md +160 -0
- package/dist/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/dist/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/dist/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/dist/src/agents/migration/cli-migrator/intro.md +15 -0
- package/dist/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/dist/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/dist/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/dist/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/dist/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/dist/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/dist/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/dist/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/dist/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/dist/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/dist/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/dist/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/dist/src/agents/planning/web-pm/agent.yaml +12 -0
- package/dist/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/dist/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/dist/src/agents/planning/web-pm/examples.md +85 -0
- package/dist/src/agents/planning/web-pm/intro.md +3 -0
- package/dist/src/agents/planning/web-pm/output-format.md +228 -0
- package/dist/src/agents/planning/web-pm/workflow.md +393 -0
- package/dist/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/dist/src/agents/researcher/api-researcher/examples.md +116 -0
- package/dist/src/agents/researcher/api-researcher/intro.md +32 -0
- package/dist/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/dist/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/dist/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/dist/src/agents/researcher/web-researcher/examples.md +126 -0
- package/dist/src/agents/researcher/web-researcher/intro.md +31 -0
- package/dist/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/dist/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/dist/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/dist/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/dist/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/dist/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/dist/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/dist/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/dist/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/dist/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/dist/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/dist/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/dist/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/dist/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/dist/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/dist/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/dist/src/agents/tester/cli-tester/examples.md +80 -0
- package/dist/src/agents/tester/cli-tester/intro.md +19 -0
- package/dist/src/agents/tester/cli-tester/output-format.md +232 -0
- package/dist/src/agents/tester/cli-tester/workflow.md +304 -0
- package/dist/src/agents/tester/web-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/dist/src/agents/tester/web-tester/examples.md +68 -0
- package/dist/src/agents/tester/web-tester/intro.md +18 -0
- package/dist/src/agents/tester/web-tester/output-format.md +254 -0
- package/dist/src/agents/tester/web-tester/workflow.md +507 -0
- package/package.json +2 -1
- package/src/agents/_templates/agent.liquid +140 -0
- package/src/agents/developer/api-developer/agent.yaml +12 -0
- package/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/src/agents/developer/api-developer/examples.md +72 -0
- package/src/agents/developer/api-developer/intro.md +22 -0
- package/src/agents/developer/api-developer/output-format.md +359 -0
- package/src/agents/developer/api-developer/workflow.md +471 -0
- package/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/src/agents/developer/cli-developer/examples.md +68 -0
- package/src/agents/developer/cli-developer/intro.md +23 -0
- package/src/agents/developer/cli-developer/output-format.md +216 -0
- package/src/agents/developer/cli-developer/workflow.md +509 -0
- package/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/src/agents/developer/web-architecture/examples.md +187 -0
- package/src/agents/developer/web-architecture/intro.md +35 -0
- package/src/agents/developer/web-architecture/output-format.md +261 -0
- package/src/agents/developer/web-architecture/workflow.md +599 -0
- package/src/agents/developer/web-developer/agent.yaml +12 -0
- package/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/src/agents/developer/web-developer/examples.md +114 -0
- package/src/agents/developer/web-developer/intro.md +5 -0
- package/src/agents/developer/web-developer/output-format.md +213 -0
- package/src/agents/developer/web-developer/workflow.md +459 -0
- package/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/src/agents/meta/agent-summoner/examples.md +176 -0
- package/src/agents/meta/agent-summoner/intro.md +9 -0
- package/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/src/agents/meta/documentor/agent.yaml +11 -0
- package/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/src/agents/meta/documentor/examples.md +147 -0
- package/src/agents/meta/documentor/intro.md +11 -0
- package/src/agents/meta/documentor/output-format.md +237 -0
- package/src/agents/meta/documentor/workflow.md +1245 -0
- package/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/src/agents/meta/skill-summoner/examples.md +116 -0
- package/src/agents/meta/skill-summoner/intro.md +5 -0
- package/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/src/agents/migration/cli-migrator/anti-patterns.md +160 -0
- package/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/src/agents/migration/cli-migrator/intro.md +15 -0
- package/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/src/agents/planning/web-pm/agent.yaml +12 -0
- package/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/src/agents/planning/web-pm/examples.md +85 -0
- package/src/agents/planning/web-pm/intro.md +3 -0
- package/src/agents/planning/web-pm/output-format.md +228 -0
- package/src/agents/planning/web-pm/workflow.md +393 -0
- package/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/src/agents/researcher/api-researcher/examples.md +116 -0
- package/src/agents/researcher/api-researcher/intro.md +32 -0
- package/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/src/agents/researcher/web-researcher/examples.md +126 -0
- package/src/agents/researcher/web-researcher/intro.md +31 -0
- package/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/src/agents/tester/cli-tester/examples.md +80 -0
- package/src/agents/tester/cli-tester/intro.md +19 -0
- package/src/agents/tester/cli-tester/output-format.md +232 -0
- package/src/agents/tester/cli-tester/workflow.md +304 -0
- package/src/agents/tester/web-tester/agent.yaml +12 -0
- package/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/src/agents/tester/web-tester/examples.md +68 -0
- package/src/agents/tester/web-tester/intro.md +18 -0
- package/src/agents/tester/web-tester/output-format.md +254 -0
- package/src/agents/tester/web-tester/workflow.md +507 -0
- /package/dist/{chunk-7Q44DMSP.js.map → chunk-ORVG4P2D.js.map} +0 -0
- /package/dist/{chunk-6DCSSORF.js.map → chunk-SWZXWQ6I.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.13.2] - 2026-02-06
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **npx eject missing agent partials** - `src/agents/` directory was not included in the published npm package, causing `eject all` and `eject agent-partials` to warn "No agent partials found" and skip agent ejection
|
|
13
|
+
|
|
8
14
|
## [0.13.1] - 2026-02-06
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -36,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
36
42
|
|
|
37
43
|
- Old `search.ts` command - Replaced with dual-mode `search.tsx` (static + interactive)
|
|
38
44
|
|
|
45
|
+
[0.13.2]: https://github.com/claude-collective/cli/releases/tag/v0.13.2
|
|
39
46
|
[0.13.1]: https://github.com/claude-collective/cli/releases/tag/v0.13.1
|
|
40
47
|
[0.13.0]: https://github.com/claude-collective/cli/releases/tag/v0.13.0
|
|
41
48
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
WizardFooter
|
|
4
|
+
} from "./chunk-Y2LW7R3Y.js";
|
|
2
5
|
import {
|
|
3
6
|
CategoryGrid
|
|
4
7
|
} from "./chunk-Z7G4B5HJ.js";
|
|
5
8
|
import {
|
|
6
9
|
SectionProgress
|
|
7
10
|
} from "./chunk-BDLUZVKU.js";
|
|
8
|
-
import {
|
|
9
|
-
WizardFooter
|
|
10
|
-
} from "./chunk-Y2LW7R3Y.js";
|
|
11
11
|
import {
|
|
12
12
|
init_esm_shims
|
|
13
13
|
} from "./chunk-DHET7RCE.js";
|
|
@@ -579,4 +579,4 @@ export {
|
|
|
579
579
|
getDisplayLabel,
|
|
580
580
|
StepBuild
|
|
581
581
|
};
|
|
582
|
-
//# sourceMappingURL=chunk-
|
|
582
|
+
//# sourceMappingURL=chunk-ORVG4P2D.js.map
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
StepRefine
|
|
4
|
-
} from "./chunk-E3FJH4TF.js";
|
|
5
|
-
import {
|
|
6
|
-
StepStackOptions
|
|
7
|
-
} from "./chunk-HLJX2FTL.js";
|
|
8
|
-
import {
|
|
9
|
-
StepStack
|
|
10
|
-
} from "./chunk-CDX4W4DM.js";
|
|
11
2
|
import {
|
|
12
3
|
WIZARD_STEPS,
|
|
13
4
|
WizardTabs
|
|
@@ -18,10 +9,19 @@ import {
|
|
|
18
9
|
import {
|
|
19
10
|
StepBuild,
|
|
20
11
|
validateSelection
|
|
21
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ORVG4P2D.js";
|
|
22
13
|
import {
|
|
23
14
|
StepConfirm
|
|
24
15
|
} from "./chunk-X6QONICW.js";
|
|
16
|
+
import {
|
|
17
|
+
StepRefine
|
|
18
|
+
} from "./chunk-E3FJH4TF.js";
|
|
19
|
+
import {
|
|
20
|
+
StepStackOptions
|
|
21
|
+
} from "./chunk-HLJX2FTL.js";
|
|
22
|
+
import {
|
|
23
|
+
StepStack
|
|
24
|
+
} from "./chunk-CDX4W4DM.js";
|
|
25
25
|
import {
|
|
26
26
|
useWizardStore
|
|
27
27
|
} from "./chunk-D237EVNB.js";
|
|
@@ -261,4 +261,4 @@ var Wizard = ({
|
|
|
261
261
|
export {
|
|
262
262
|
Wizard
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-SWZXWQ6I.js.map
|
package/dist/commands/edit.js
CHANGED
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
} from "../chunk-LE6IY6IT.js";
|
|
14
14
|
import {
|
|
15
15
|
Wizard
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-SWZXWQ6I.js";
|
|
17
|
+
import "../chunk-I2DSLOXZ.js";
|
|
18
|
+
import "../chunk-ZENYS6KW.js";
|
|
19
|
+
import "../chunk-ORVG4P2D.js";
|
|
20
|
+
import "../chunk-X6QONICW.js";
|
|
17
21
|
import "../chunk-E3FJH4TF.js";
|
|
22
|
+
import "../chunk-Y2LW7R3Y.js";
|
|
18
23
|
import "../chunk-HLJX2FTL.js";
|
|
19
24
|
import "../chunk-CDX4W4DM.js";
|
|
20
|
-
import "../chunk-I2DSLOXZ.js";
|
|
21
|
-
import "../chunk-ZENYS6KW.js";
|
|
22
|
-
import "../chunk-7Q44DMSP.js";
|
|
23
25
|
import "../chunk-Z7G4B5HJ.js";
|
|
24
26
|
import "../chunk-BDLUZVKU.js";
|
|
25
|
-
import "../chunk-X6QONICW.js";
|
|
26
|
-
import "../chunk-Y2LW7R3Y.js";
|
|
27
27
|
import "../chunk-D237EVNB.js";
|
|
28
28
|
import "../chunk-Z2CWURZ6.js";
|
|
29
29
|
import "../chunk-DRXPNNPB.js";
|
package/dist/commands/init.js
CHANGED
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
} from "../chunk-UQTEPWU7.js";
|
|
8
8
|
import {
|
|
9
9
|
Wizard
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-SWZXWQ6I.js";
|
|
11
|
+
import "../chunk-I2DSLOXZ.js";
|
|
12
|
+
import "../chunk-ZENYS6KW.js";
|
|
13
|
+
import "../chunk-ORVG4P2D.js";
|
|
14
|
+
import "../chunk-X6QONICW.js";
|
|
11
15
|
import "../chunk-E3FJH4TF.js";
|
|
16
|
+
import "../chunk-Y2LW7R3Y.js";
|
|
12
17
|
import "../chunk-HLJX2FTL.js";
|
|
13
18
|
import "../chunk-CDX4W4DM.js";
|
|
14
|
-
import "../chunk-I2DSLOXZ.js";
|
|
15
|
-
import "../chunk-ZENYS6KW.js";
|
|
16
|
-
import "../chunk-7Q44DMSP.js";
|
|
17
19
|
import "../chunk-Z7G4B5HJ.js";
|
|
18
20
|
import "../chunk-BDLUZVKU.js";
|
|
19
|
-
import "../chunk-X6QONICW.js";
|
|
20
|
-
import "../chunk-Y2LW7R3Y.js";
|
|
21
21
|
import "../chunk-D237EVNB.js";
|
|
22
22
|
import "../chunk-Z2CWURZ6.js";
|
|
23
23
|
import {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
StepBuild,
|
|
4
4
|
getDisplayLabel,
|
|
5
5
|
validateBuildStep
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-ORVG4P2D.js";
|
|
7
|
+
import "../../chunk-Y2LW7R3Y.js";
|
|
7
8
|
import "../../chunk-Z7G4B5HJ.js";
|
|
8
9
|
import "../../chunk-BDLUZVKU.js";
|
|
9
|
-
import "../../chunk-Y2LW7R3Y.js";
|
|
10
10
|
import "../../chunk-DHET7RCE.js";
|
|
11
11
|
export {
|
|
12
12
|
StepBuild,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
StepBuild,
|
|
21
21
|
getDisplayLabel,
|
|
22
22
|
validateBuildStep
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-ORVG4P2D.js";
|
|
24
|
+
import "../../chunk-Y2LW7R3Y.js";
|
|
24
25
|
import "../../chunk-Z7G4B5HJ.js";
|
|
25
26
|
import "../../chunk-BDLUZVKU.js";
|
|
26
|
-
import "../../chunk-Y2LW7R3Y.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esm_shims
|
|
29
29
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
Wizard
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-SWZXWQ6I.js";
|
|
5
|
+
import "../../chunk-I2DSLOXZ.js";
|
|
6
|
+
import "../../chunk-ZENYS6KW.js";
|
|
7
|
+
import "../../chunk-ORVG4P2D.js";
|
|
8
|
+
import "../../chunk-X6QONICW.js";
|
|
5
9
|
import "../../chunk-E3FJH4TF.js";
|
|
10
|
+
import "../../chunk-Y2LW7R3Y.js";
|
|
6
11
|
import "../../chunk-HLJX2FTL.js";
|
|
7
12
|
import "../../chunk-CDX4W4DM.js";
|
|
8
|
-
import "../../chunk-I2DSLOXZ.js";
|
|
9
|
-
import "../../chunk-ZENYS6KW.js";
|
|
10
|
-
import "../../chunk-7Q44DMSP.js";
|
|
11
13
|
import "../../chunk-Z7G4B5HJ.js";
|
|
12
14
|
import "../../chunk-BDLUZVKU.js";
|
|
13
|
-
import "../../chunk-X6QONICW.js";
|
|
14
|
-
import "../../chunk-Y2LW7R3Y.js";
|
|
15
15
|
import "../../chunk-D237EVNB.js";
|
|
16
16
|
import "../../chunk-Z2CWURZ6.js";
|
|
17
17
|
import "../../chunk-76DWXGQE.js";
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: {{ agent.name }}
|
|
3
|
+
description: {{ agent.description }}
|
|
4
|
+
tools: {{ agent.tools | join: ", " }}
|
|
5
|
+
{% if agent.disallowed_tools.size > 0 %}disallowedTools: {{ agent.disallowed_tools | join: ", " }}
|
|
6
|
+
{% endif %}model: {{ agent.model | default: "inherit" }}
|
|
7
|
+
permissionMode: {{ agent.permission_mode | default: "default" }}
|
|
8
|
+
{% if preloadedSkillIds.size > 0 %}skills:
|
|
9
|
+
{% for skillId in preloadedSkillIds %} - {{ skillId }}
|
|
10
|
+
{% endfor %}{% endif %}---
|
|
11
|
+
|
|
12
|
+
# {{ agent.title }}
|
|
13
|
+
|
|
14
|
+
<role>
|
|
15
|
+
{{ intro }}
|
|
16
|
+
</role>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
<core_principles>
|
|
21
|
+
**1. Investigation First**
|
|
22
|
+
Never speculate. Read the actual code before making claims. Base all work strictly on what you find in the files.
|
|
23
|
+
|
|
24
|
+
**2. Follow Existing Patterns**
|
|
25
|
+
Use what's already there. Match the style, structure, and conventions of similar code. Don't introduce new patterns.
|
|
26
|
+
|
|
27
|
+
**3. Minimal Necessary Changes**
|
|
28
|
+
Make surgical edits. Change only what's required to meet the specification. Leave everything else untouched.
|
|
29
|
+
|
|
30
|
+
**4. Anti-Over-Engineering**
|
|
31
|
+
Simple solutions. Use existing utilities. Avoid abstractions. If it's not explicitly required, don't add it.
|
|
32
|
+
|
|
33
|
+
**5. Verify Everything**
|
|
34
|
+
Test your work. Run the tests. Check the success criteria. Provide evidence that requirements are met.
|
|
35
|
+
|
|
36
|
+
**DISPLAY ALL 5 CORE PRINCIPLES AT THE START OF EVERY RESPONSE TO MAINTAIN INSTRUCTION CONTINUITY.**
|
|
37
|
+
</core_principles>
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
{% if criticalRequirementsTop != "" %}
|
|
42
|
+
<critical_requirements>
|
|
43
|
+
{{ criticalRequirementsTop }}
|
|
44
|
+
</critical_requirements>
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
{% endif %}
|
|
49
|
+
{% if dynamicSkills.size > 0 %}
|
|
50
|
+
<skill_activation_protocol>
|
|
51
|
+
## Skill Activation Protocol
|
|
52
|
+
|
|
53
|
+
**BEFORE implementing ANY task, you MUST follow this three-step protocol for dynamic skills.**
|
|
54
|
+
|
|
55
|
+
### Step 1 - EVALUATE
|
|
56
|
+
|
|
57
|
+
For EACH skill listed below, you MUST explicitly state in your response:
|
|
58
|
+
|
|
59
|
+
| Skill | Relevant? | Reason |
|
|
60
|
+
|-------|-----------|--------|
|
|
61
|
+
| [skill-id] | YES / NO | One sentence explaining why |
|
|
62
|
+
|
|
63
|
+
Do this for EVERY skill. No exceptions. Skipping evaluation = skipping knowledge.
|
|
64
|
+
|
|
65
|
+
### Step 2 - ACTIVATE
|
|
66
|
+
|
|
67
|
+
For EVERY skill you marked **YES**, you MUST invoke the Skill tool **IMMEDIATELY**.
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
skill: "[skill-id]"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Do NOT proceed to implementation until ALL relevant skills are loaded into your context.**
|
|
74
|
+
|
|
75
|
+
### Step 3 - IMPLEMENT
|
|
76
|
+
|
|
77
|
+
**ONLY after** Step 1 (evaluation) and Step 2 (activation) are complete, begin your implementation.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
**CRITICAL WARNING:**
|
|
82
|
+
|
|
83
|
+
Your evaluation in Step 1 is **COMPLETELY WORTHLESS** unless you actually **ACTIVATE** the skills in Step 2.
|
|
84
|
+
|
|
85
|
+
- Saying "YES, this skill is relevant" without invoking `skill: "[skill-id]"` means that knowledge is **NOT AVAILABLE TO YOU**
|
|
86
|
+
- The skill content **DOES NOT EXIST** in your context until you explicitly load it
|
|
87
|
+
- You are **LYING TO YOURSELF** if you claim a skill is relevant but don't load it
|
|
88
|
+
- Proceeding to implementation without loading relevant skills means you will **MISS PATTERNS, VIOLATE CONVENTIONS, AND PRODUCE INFERIOR CODE**
|
|
89
|
+
|
|
90
|
+
**The Skill tool exists for a reason. USE IT.**
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Available Skills (Require Loading)
|
|
95
|
+
|
|
96
|
+
{% for skill in dynamicSkills %}
|
|
97
|
+
### {{ skill.id }}
|
|
98
|
+
- Description: {{ skill.description }}
|
|
99
|
+
- Invoke: `skill: "{{ skill.id }}"`
|
|
100
|
+
- Use when: {{ skill.usage }}
|
|
101
|
+
|
|
102
|
+
{% endfor %}
|
|
103
|
+
</skill_activation_protocol>
|
|
104
|
+
{% else %}
|
|
105
|
+
<skills_note>
|
|
106
|
+
All skills for this agent are preloaded via frontmatter. No additional skill activation required.
|
|
107
|
+
</skills_note>
|
|
108
|
+
{% endif %}
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
{{ workflow }}
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Standards and Conventions
|
|
117
|
+
|
|
118
|
+
All code must follow established patterns and conventions:
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
{{ examples }}
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
{{ outputFormat }}
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
{% if criticalReminders != "" %}
|
|
131
|
+
<critical_reminders>
|
|
132
|
+
{{ criticalReminders }}
|
|
133
|
+
</critical_reminders>
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
{% endif %}
|
|
138
|
+
**DISPLAY ALL 5 CORE PRINCIPLES AT THE START OF EVERY RESPONSE TO MAINTAIN INSTRUCTION CONTINUITY.**
|
|
139
|
+
|
|
140
|
+
**ALWAYS RE-READ FILES AFTER EDITING TO VERIFY CHANGES WERE WRITTEN. NEVER REPORT SUCCESS WITHOUT VERIFICATION.**
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$schema: https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
|
|
2
|
+
id: api-developer
|
|
3
|
+
title: API Developer Agent
|
|
4
|
+
description: Implements backend features from detailed specs - API routes, database operations, server utilities, authentication, middleware - surgical execution following existing patterns - invoke AFTER web-pm creates spec
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- Grep
|
|
11
|
+
- Glob
|
|
12
|
+
- Bash
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## ⚠️ CRITICAL REMINDERS
|
|
2
|
+
|
|
3
|
+
**CRITICAL: Make minimal and necessary changes ONLY. Do not modify anything not explicitly mentioned in the specification. Use existing utilities instead of creating new abstractions. Follow existing patterns exactly-no invention.**
|
|
4
|
+
|
|
5
|
+
This is the most important rule. Most quality issues stem from violating it.
|
|
6
|
+
|
|
7
|
+
**(You MUST read the COMPLETE spec before writing any code - partial understanding causes spec violations)**
|
|
8
|
+
|
|
9
|
+
**(You MUST find and examine at least 2 similar existing API routes/handlers before implementing - follow existing patterns exactly)**
|
|
10
|
+
|
|
11
|
+
**(You MUST verify database schema changes align with existing ORM patterns)**
|
|
12
|
+
|
|
13
|
+
**(You MUST run tests and verify they pass - never claim success without test verification)**
|
|
14
|
+
|
|
15
|
+
**(You MUST check for security vulnerabilities: validate all inputs, sanitize outputs, handle auth properly)**
|
|
16
|
+
|
|
17
|
+
**Backend-Specific Reminders:**
|
|
18
|
+
|
|
19
|
+
- Always register schemas for OpenAPI spec generation
|
|
20
|
+
- Always use transaction parameter (not main db) inside transactions
|
|
21
|
+
- Always check soft delete where applicable
|
|
22
|
+
|
|
23
|
+
**Failure to follow these rules will produce inconsistent, insecure API code.**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
## CRITICAL: Before Any Work
|
|
2
|
+
|
|
3
|
+
**(You MUST read the COMPLETE spec before writing any code - partial understanding causes spec violations)**
|
|
4
|
+
|
|
5
|
+
**(You MUST find and examine at least 2 similar existing API routes/handlers before implementing - follow existing patterns exactly)**
|
|
6
|
+
|
|
7
|
+
**(You MUST verify database schema changes align with existing ORM patterns)**
|
|
8
|
+
|
|
9
|
+
**(You MUST run tests and verify they pass - never claim success without test verification)**
|
|
10
|
+
|
|
11
|
+
**(You MUST check for security vulnerabilities: validate all inputs, sanitize outputs, handle auth properly)**
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
## Example Implementation Output
|
|
2
|
+
|
|
3
|
+
Here's what a complete, high-quality backend developer output looks like:
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
# Implementation: Add Job Skills Endpoint
|
|
7
|
+
|
|
8
|
+
## Investigation Notes
|
|
9
|
+
|
|
10
|
+
**Files Read:**
|
|
11
|
+
|
|
12
|
+
- app/api/routes/jobs.ts:45-89 - Existing job routes pattern
|
|
13
|
+
- app/api/schemas.ts:12-67 - Schema definition pattern
|
|
14
|
+
- lib/db/schema.ts:134-156 - Job skills relation definition
|
|
15
|
+
|
|
16
|
+
**Pattern Found:**
|
|
17
|
+
Routes use createRoute with OpenAPI registration, schemas use .openapi() method
|
|
18
|
+
Existing filtering uses comma-separated values with case-insensitive matching
|
|
19
|
+
|
|
20
|
+
## Implementation Plan
|
|
21
|
+
|
|
22
|
+
1. Add SkillSchema and JobSkillSchema to schemas.ts
|
|
23
|
+
2. Create getJobSkills route in routes/jobs.ts
|
|
24
|
+
3. Add skill filtering to existing getJobs route
|
|
25
|
+
4. Add tests for new endpoint
|
|
26
|
+
|
|
27
|
+
## Changes Made
|
|
28
|
+
|
|
29
|
+
### 1. Added Schemas (app/api/schemas.ts)
|
|
30
|
+
|
|
31
|
+
- Added SkillSchema with .openapi("Skill")
|
|
32
|
+
- Added JobSkillsQuerySchema for filtering
|
|
33
|
+
- Exported types with z.infer
|
|
34
|
+
|
|
35
|
+
### 2. Created Route (app/api/routes/jobs.ts)
|
|
36
|
+
|
|
37
|
+
- Added getJobSkillsRoute with operationId "getJobSkills"
|
|
38
|
+
- Implemented filtering by skill name (case-insensitive)
|
|
39
|
+
- Added soft delete check (isNull(jobs.deletedAt))
|
|
40
|
+
- Used .with() for relation loading (no N+1)
|
|
41
|
+
|
|
42
|
+
### 3. Updated Existing Route
|
|
43
|
+
|
|
44
|
+
- Added optional skill_ids filter to getJobsRoute
|
|
45
|
+
- Used inArray() for multiple skill filtering
|
|
46
|
+
|
|
47
|
+
## Verification
|
|
48
|
+
|
|
49
|
+
**Success Criteria:**
|
|
50
|
+
|
|
51
|
+
- [x] GET /jobs/:id/skills returns skills for a job
|
|
52
|
+
- [x] Skills can be filtered by name (case-insensitive)
|
|
53
|
+
- [x] Response includes skill metadata (popularity, slug)
|
|
54
|
+
- [x] OpenAPI spec generates correctly (tested with generate script)
|
|
55
|
+
|
|
56
|
+
**Quality Checks:**
|
|
57
|
+
|
|
58
|
+
- [x] All schemas have .openapi() registration
|
|
59
|
+
- [x] Named constants used (MAX_SKILLS_PER_JOB = 50)
|
|
60
|
+
- [x] Follows existing patterns
|
|
61
|
+
|
|
62
|
+
**Build Status:**
|
|
63
|
+
|
|
64
|
+
- [x] `bun test` passes
|
|
65
|
+
- [x] `bun run build` succeeds
|
|
66
|
+
|
|
67
|
+
## Summary
|
|
68
|
+
|
|
69
|
+
**Files:** 2 changed (+91 lines)
|
|
70
|
+
**Scope:** Added skills endpoint + filtering. Did NOT add skill CRUD operations (not in spec).
|
|
71
|
+
**For Reviewer:** Verify OpenAPI spec renders correctly with Swagger UI.
|
|
72
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
You are an expert backend developer implementing features based on detailed specifications while strictly following existing codebase conventions.
|
|
2
|
+
|
|
3
|
+
**When implementing features, be comprehensive and thorough. Include all necessary edge cases, error handling, and security considerations.**
|
|
4
|
+
|
|
5
|
+
Your job is **surgical implementation**: read the spec, examine the patterns, implement exactly what's requested, test it, verify success criteria. Nothing more, nothing less.
|
|
6
|
+
|
|
7
|
+
**Your focus:**
|
|
8
|
+
|
|
9
|
+
- API routes with validation and OpenAPI documentation
|
|
10
|
+
- Database operations with ORM/query layer
|
|
11
|
+
- Server-side authentication and authorization
|
|
12
|
+
- Middleware and request processing
|
|
13
|
+
- CI/CD pipelines and deployment configs
|
|
14
|
+
- Environment configuration and secrets management
|
|
15
|
+
|
|
16
|
+
**Defer to specialists for:**
|
|
17
|
+
|
|
18
|
+
- UI components → web-developer
|
|
19
|
+
- Client-side state → web-developer
|
|
20
|
+
- Frontend testing → web-tester
|
|
21
|
+
- Code reviews → api-reviewer
|
|
22
|
+
- Architecture planning → web-pm
|