@vibe-agent-toolkit/vat-development-agents 0.1.20 → 0.1.21-rc.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/dist/.claude/plugins/marketplaces/vat-skills/.claude-plugin/marketplace.json +2 -2
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/.claude-plugin/plugin.json +1 -1
- package/dist/{skills/vibe-agent-toolkit__audit → .claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/audit}/SKILL.md +1 -1
- package/dist/{skills/vibe-agent-toolkit__agent-authoring → .claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/authoring}/SKILL.md +1 -1
- package/dist/{skills/vibe-agent-toolkit__debugging → .claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging}/SKILL.md +1 -1
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/distribution/SKILL.md +335 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/distribution/resources/vat-install-architecture.md +229 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/install/SKILL.md +229 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__resources → vibe-agent-toolkit/skills/resources}/SKILL.md +1 -1
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/skills/vibe-agent-toolkit/SKILL.md +10 -9
- package/dist/generated/resources/skills/SKILL.js +5 -5
- package/dist/generated/resources/skills/vat-agent-authoring.js +1 -1
- package/dist/generated/resources/skills/vat-audit.js +1 -1
- package/dist/generated/resources/skills/vat-debugging.js +1 -1
- package/dist/generated/resources/skills/vat-install-architecture.d.ts +28 -0
- package/dist/generated/resources/skills/vat-install-architecture.js +48 -0
- package/dist/generated/resources/skills/vat-resources.js +1 -1
- package/dist/generated/resources/skills/vat-skills-distribution.d.ts +3 -0
- package/dist/generated/resources/skills/vat-skills-distribution.js +27 -12
- package/dist/{.claude/plugins/marketplaces/vat-skills/plugins/vat-development-agents/skills/vibe-agent-toolkit__audit → skills/audit}/SKILL.md +1 -1
- package/dist/{.claude/plugins/marketplaces/vat-skills/plugins/vat-development-agents/skills/vibe-agent-toolkit__agent-authoring → skills/authoring}/SKILL.md +1 -1
- package/dist/{.claude/plugins/marketplaces/vat-skills/plugins/vat-development-agents/skills/vibe-agent-toolkit__debugging → skills/debugging}/SKILL.md +1 -1
- package/dist/skills/distribution/SKILL.md +335 -0
- package/dist/skills/distribution/resources/vat-install-architecture.md +229 -0
- package/dist/skills/install/SKILL.md +229 -0
- package/dist/skills/{vibe-agent-toolkit__resources → resources}/SKILL.md +1 -1
- package/dist/skills/vibe-agent-toolkit/SKILL.md +10 -9
- package/package.json +19 -9
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vat-development-agents/skills/vibe-agent-toolkit__skills-distribution/SKILL.md +0 -228
- package/dist/skills/vibe-agent-toolkit__skills-distribution/SKILL.md +0 -228
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit → vibe-agent-toolkit/skills/authoring}/resources/agent-authoring.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit → vibe-agent-toolkit/skills/authoring}/resources/orchestration.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__debugging → vibe-agent-toolkit/skills/debugging}/resources/CLAUDE.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__debugging → vibe-agent-toolkit/skills/debugging}/resources/debug-and-test-vat-fixes.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__debugging → vibe-agent-toolkit/skills/debugging}/resources/writing-tests.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/skills/vibe-agent-toolkit/resources/adding-runtime-adapters.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__agent-authoring → vibe-agent-toolkit/skills/vibe-agent-toolkit}/resources/agent-authoring.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/skills/vibe-agent-toolkit/resources/compiling-markdown-to-typescript.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/skills/vibe-agent-toolkit/resources/getting-started.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents/skills/vibe-agent-toolkit__agent-authoring → vibe-agent-toolkit/skills/vibe-agent-toolkit}/resources/orchestration.md +0 -0
- /package/dist/.claude/plugins/marketplaces/vat-skills/plugins/{vat-development-agents → vibe-agent-toolkit}/skills/vibe-agent-toolkit/resources/rag-usage-guide.md +0 -0
- /package/dist/skills/{vibe-agent-toolkit__agent-authoring → authoring}/resources/agent-authoring.md +0 -0
- /package/dist/skills/{vibe-agent-toolkit__agent-authoring → authoring}/resources/orchestration.md +0 -0
- /package/dist/skills/{vibe-agent-toolkit__debugging → debugging}/resources/CLAUDE.md +0 -0
- /package/dist/skills/{vibe-agent-toolkit__debugging → debugging}/resources/debug-and-test-vat-fixes.md +0 -0
- /package/dist/skills/{vibe-agent-toolkit__debugging → debugging}/resources/writing-tests.md +0 -0
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: vibe-agent-toolkit:skills-distribution
|
|
3
|
-
description: Use when setting up vat build, configuring plugin distribution for the Claude ecosystem (marketplace, plugins, managed settings), npm publishing with postinstall hooks, or vat verify orchestration. Covers the full pipeline from skill source to installed plugin.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# VAT Distribution: Build, Publish & Install
|
|
7
|
-
|
|
8
|
-
## Overview
|
|
9
|
-
|
|
10
|
-
VAT distributes skills as **Claude plugins** via npm packages. The pipeline:
|
|
11
|
-
|
|
12
|
-
1. `vat build` compiles SKILL.md sources into plugin artifacts
|
|
13
|
-
2. `npm publish` pushes the package to a registry
|
|
14
|
-
3. `npm install` triggers a postinstall hook that registers the plugin in Claude's plugin system
|
|
15
|
-
|
|
16
|
-
Skills installed this way appear in Claude Code as `/plugin-name:skill-name`.
|
|
17
|
-
|
|
18
|
-
## Project Structure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
my-project/
|
|
22
|
-
├── package.json ← vat.skills + postinstall hook + publishConfig
|
|
23
|
-
├── vibe-agent-toolkit.config.yaml ← skills: + claude: config
|
|
24
|
-
├── resources/
|
|
25
|
-
│ └── skills/
|
|
26
|
-
│ └── SKILL.md
|
|
27
|
-
└── dist/ ← generated by vat build
|
|
28
|
-
├── skills/my-skill/ ← packaged skill
|
|
29
|
-
└── .claude/plugins/marketplaces/
|
|
30
|
-
└── my-marketplace/plugins/my-plugin/
|
|
31
|
-
├── .claude-plugin/plugin.json
|
|
32
|
-
└── skills/my-skill/SKILL.md
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Step 1: package.json Configuration
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"name": "@myorg/my-skills",
|
|
40
|
-
"version": "1.0.0",
|
|
41
|
-
"vat": {
|
|
42
|
-
"version": "1.0",
|
|
43
|
-
"skills": ["my-skill"]
|
|
44
|
-
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build:vat": "vat build",
|
|
47
|
-
"postinstall": "vat skills install --npm-postinstall || exit 0"
|
|
48
|
-
},
|
|
49
|
-
"files": ["dist", "README.md"],
|
|
50
|
-
"publishConfig": {
|
|
51
|
-
"registry": "https://registry.npmjs.org"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
The `vat.skills` array contains skill name strings for npm discoverability. Skill source paths and packaging config live in `vibe-agent-toolkit.config.yaml` (see Step 2).
|
|
57
|
-
|
|
58
|
-
For private GitHub Packages registry:
|
|
59
|
-
```json
|
|
60
|
-
"publishConfig": {
|
|
61
|
-
"registry": "https://npm.pkg.github.com",
|
|
62
|
-
"access": "restricted"
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Users installing from GitHub Packages need `.npmrc` with the scope registry and auth token:
|
|
67
|
-
```
|
|
68
|
-
@myorg:registry=https://npm.pkg.github.com
|
|
69
|
-
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Step 2: vibe-agent-toolkit.config.yaml
|
|
73
|
-
|
|
74
|
-
```yaml
|
|
75
|
-
version: 1
|
|
76
|
-
|
|
77
|
-
skills:
|
|
78
|
-
include:
|
|
79
|
-
- "resources/skills/**/SKILL.md"
|
|
80
|
-
|
|
81
|
-
claude:
|
|
82
|
-
marketplaces:
|
|
83
|
-
my-marketplace: # org/publisher identity
|
|
84
|
-
owner:
|
|
85
|
-
name: My Organization
|
|
86
|
-
plugins:
|
|
87
|
-
- name: my-plugin # installable unit
|
|
88
|
-
description: My plugin description
|
|
89
|
-
skills: "*" # all discovered skills
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
The `skills:` section discovers SKILL.md files via include/exclude globs. The `claude:` section defines how skills are packaged into plugins. Each marketplace has `owner` and `plugins` fields (strict schema — no extra fields).
|
|
93
|
-
|
|
94
|
-
**Naming convention:** marketplace = org identity (e.g. `acme`), plugin = this package
|
|
95
|
-
(e.g. `acme-tools`). Registers as `my-plugin@my-marketplace` in Claude's plugin registry.
|
|
96
|
-
|
|
97
|
-
### Multiple skills in one package
|
|
98
|
-
|
|
99
|
-
List all skills in `vat.skills` for npm discoverability:
|
|
100
|
-
|
|
101
|
-
```json
|
|
102
|
-
"vat": {
|
|
103
|
-
"version": "1.0",
|
|
104
|
-
"skills": ["my-linting", "my-testing"]
|
|
105
|
-
}
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Use a selector in the plugin config to include matching skills:
|
|
109
|
-
|
|
110
|
-
```yaml
|
|
111
|
-
plugins:
|
|
112
|
-
- name: my-plugin
|
|
113
|
-
description: Linting and testing skills
|
|
114
|
-
skills:
|
|
115
|
-
- "my-linting"
|
|
116
|
-
- "my-testing"
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Or use `"*"` to include all discovered skills in the plugin.
|
|
120
|
-
|
|
121
|
-
## Step 3: Build
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
vat build # skills phase then claude phase
|
|
125
|
-
vat verify # validates resources + skills + claude artifacts
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### What vat build does
|
|
129
|
-
|
|
130
|
-
Two phases, run in dependency order:
|
|
131
|
-
|
|
132
|
-
1. **`vat skills build`** — reads `vibe-agent-toolkit.config.yaml skills:` section, discovers SKILL.md files via include/exclude globs, compiles each into `dist/skills/<name>/`
|
|
133
|
-
2. **`vat claude build`** — reads `vibe-agent-toolkit.config.yaml claude:` section, wraps built skills into `dist/.claude/plugins/marketplaces/<mp>/plugins/<plugin>/` structure with `.claude-plugin/plugin.json`
|
|
134
|
-
|
|
135
|
-
Individual commands still work:
|
|
136
|
-
```bash
|
|
137
|
-
vat skills build # skills phase only
|
|
138
|
-
vat claude build # claude plugin phase only (requires skills already built)
|
|
139
|
-
vat claude verify # validate plugin artifacts only
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Step 4: Publish
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
npm publish --tag next # RC/pre-release
|
|
146
|
-
npm publish # stable release
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## Step 5: User Install
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
vat skills install npm:@myorg/my-skills
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Or via standard npm install (postinstall hook triggers automatically):
|
|
156
|
-
```bash
|
|
157
|
-
npm install -g @myorg/my-skills
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### How plugin installation works
|
|
161
|
-
|
|
162
|
-
When `npm install` runs the postinstall hook (`vat skills install --npm-postinstall`):
|
|
163
|
-
|
|
164
|
-
- VAT detects `dist/.claude/plugins/marketplaces/` directory in the installed package
|
|
165
|
-
- Copies the plugin tree to Claude's plugin directory (dumb recursive copy)
|
|
166
|
-
- Writes to these locations:
|
|
167
|
-
1. `~/.claude/plugins/marketplaces/<marketplace>/plugins/<plugin>/` — plugin files
|
|
168
|
-
2. `~/.claude/plugins/known_marketplaces.json` — marketplace registry
|
|
169
|
-
3. `~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/` — version cache
|
|
170
|
-
4. `~/.claude/plugins/installed_plugins.json` — installation record
|
|
171
|
-
5. `~/.claude/settings.json` `enabledPlugins` — activates the plugin
|
|
172
|
-
|
|
173
|
-
If no `dist/.claude/plugins/marketplaces/` directory exists (package wasn't built before publish): a guidance message is emitted and the hook exits 0. The publisher must run `vat build` and re-publish.
|
|
174
|
-
|
|
175
|
-
Skills are then available in Claude Code as `/plugin-name:skill-name`.
|
|
176
|
-
|
|
177
|
-
## managed-settings.json Validation (Enterprise)
|
|
178
|
-
|
|
179
|
-
```yaml
|
|
180
|
-
claude:
|
|
181
|
-
managedSettings: managed-settings.json
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
`vat verify` validates this file against the ManagedSettings schema. Catches typos and schema errors before deployment. Does NOT deploy the file — deployment is a separate concern.
|
|
185
|
-
|
|
186
|
-
## --target claude-web (ZIP Upload)
|
|
187
|
-
|
|
188
|
-
For uploading skills directly to `claude.ai/settings/capabilities`:
|
|
189
|
-
|
|
190
|
-
```bash
|
|
191
|
-
vat skills package ./SKILL.md -o ./dist/ --target claude-web
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Produces a ZIP:
|
|
195
|
-
```
|
|
196
|
-
my-skill.zip
|
|
197
|
-
└── my-skill/
|
|
198
|
-
├── SKILL.md # skill definition (required)
|
|
199
|
-
├── scripts/ # executable code (.mjs, .py, .sh) — optional
|
|
200
|
-
├── references/ # markdown reference material — optional
|
|
201
|
-
└── assets/ # static data, templates, config — optional
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
Configure source path mappings in `vibe-agent-toolkit.config.yaml`:
|
|
205
|
-
```yaml
|
|
206
|
-
skills:
|
|
207
|
-
include:
|
|
208
|
-
- "skills/**/SKILL.md"
|
|
209
|
-
config:
|
|
210
|
-
my-skill:
|
|
211
|
-
claudeWebTarget:
|
|
212
|
-
scripts: ["./src/helpers/**/*.ts"]
|
|
213
|
-
assets: ["./assets/**"]
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
TypeScript files in `scripts` are tree-shaken and compiled to standalone `.mjs`.
|
|
217
|
-
|
|
218
|
-
## Quick Reference
|
|
219
|
-
|
|
220
|
-
| Task | Command |
|
|
221
|
-
|---|---|
|
|
222
|
-
| Build everything | `vat build` |
|
|
223
|
-
| Verify everything | `vat verify` |
|
|
224
|
-
| Build skills only | `vat skills build` |
|
|
225
|
-
| Build claude artifacts only | `vat claude build` |
|
|
226
|
-
| Verify claude artifacts only | `vat claude verify` |
|
|
227
|
-
| Install from npm | `vat skills install npm:@org/pkg` |
|
|
228
|
-
| Package for claude.ai upload | `vat skills package ./SKILL.md -o ./dist/ --target claude-web` |
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: vibe-agent-toolkit:skills-distribution
|
|
3
|
-
description: Use when setting up vat build, configuring plugin distribution for the Claude ecosystem (marketplace, plugins, managed settings), npm publishing with postinstall hooks, or vat verify orchestration. Covers the full pipeline from skill source to installed plugin.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# VAT Distribution: Build, Publish & Install
|
|
7
|
-
|
|
8
|
-
## Overview
|
|
9
|
-
|
|
10
|
-
VAT distributes skills as **Claude plugins** via npm packages. The pipeline:
|
|
11
|
-
|
|
12
|
-
1. `vat build` compiles SKILL.md sources into plugin artifacts
|
|
13
|
-
2. `npm publish` pushes the package to a registry
|
|
14
|
-
3. `npm install` triggers a postinstall hook that registers the plugin in Claude's plugin system
|
|
15
|
-
|
|
16
|
-
Skills installed this way appear in Claude Code as `/plugin-name:skill-name`.
|
|
17
|
-
|
|
18
|
-
## Project Structure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
my-project/
|
|
22
|
-
├── package.json ← vat.skills + postinstall hook + publishConfig
|
|
23
|
-
├── vibe-agent-toolkit.config.yaml ← skills: + claude: config
|
|
24
|
-
├── resources/
|
|
25
|
-
│ └── skills/
|
|
26
|
-
│ └── SKILL.md
|
|
27
|
-
└── dist/ ← generated by vat build
|
|
28
|
-
├── skills/my-skill/ ← packaged skill
|
|
29
|
-
└── .claude/plugins/marketplaces/
|
|
30
|
-
└── my-marketplace/plugins/my-plugin/
|
|
31
|
-
├── .claude-plugin/plugin.json
|
|
32
|
-
└── skills/my-skill/SKILL.md
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Step 1: package.json Configuration
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"name": "@myorg/my-skills",
|
|
40
|
-
"version": "1.0.0",
|
|
41
|
-
"vat": {
|
|
42
|
-
"version": "1.0",
|
|
43
|
-
"skills": ["my-skill"]
|
|
44
|
-
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"build:vat": "vat build",
|
|
47
|
-
"postinstall": "vat skills install --npm-postinstall || exit 0"
|
|
48
|
-
},
|
|
49
|
-
"files": ["dist", "README.md"],
|
|
50
|
-
"publishConfig": {
|
|
51
|
-
"registry": "https://registry.npmjs.org"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
The `vat.skills` array contains skill name strings for npm discoverability. Skill source paths and packaging config live in `vibe-agent-toolkit.config.yaml` (see Step 2).
|
|
57
|
-
|
|
58
|
-
For private GitHub Packages registry:
|
|
59
|
-
```json
|
|
60
|
-
"publishConfig": {
|
|
61
|
-
"registry": "https://npm.pkg.github.com",
|
|
62
|
-
"access": "restricted"
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Users installing from GitHub Packages need `.npmrc` with the scope registry and auth token:
|
|
67
|
-
```
|
|
68
|
-
@myorg:registry=https://npm.pkg.github.com
|
|
69
|
-
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Step 2: vibe-agent-toolkit.config.yaml
|
|
73
|
-
|
|
74
|
-
```yaml
|
|
75
|
-
version: 1
|
|
76
|
-
|
|
77
|
-
skills:
|
|
78
|
-
include:
|
|
79
|
-
- "resources/skills/**/SKILL.md"
|
|
80
|
-
|
|
81
|
-
claude:
|
|
82
|
-
marketplaces:
|
|
83
|
-
my-marketplace: # org/publisher identity
|
|
84
|
-
owner:
|
|
85
|
-
name: My Organization
|
|
86
|
-
plugins:
|
|
87
|
-
- name: my-plugin # installable unit
|
|
88
|
-
description: My plugin description
|
|
89
|
-
skills: "*" # all discovered skills
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
The `skills:` section discovers SKILL.md files via include/exclude globs. The `claude:` section defines how skills are packaged into plugins. Each marketplace has `owner` and `plugins` fields (strict schema — no extra fields).
|
|
93
|
-
|
|
94
|
-
**Naming convention:** marketplace = org identity (e.g. `acme`), plugin = this package
|
|
95
|
-
(e.g. `acme-tools`). Registers as `my-plugin@my-marketplace` in Claude's plugin registry.
|
|
96
|
-
|
|
97
|
-
### Multiple skills in one package
|
|
98
|
-
|
|
99
|
-
List all skills in `vat.skills` for npm discoverability:
|
|
100
|
-
|
|
101
|
-
```json
|
|
102
|
-
"vat": {
|
|
103
|
-
"version": "1.0",
|
|
104
|
-
"skills": ["my-linting", "my-testing"]
|
|
105
|
-
}
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Use a selector in the plugin config to include matching skills:
|
|
109
|
-
|
|
110
|
-
```yaml
|
|
111
|
-
plugins:
|
|
112
|
-
- name: my-plugin
|
|
113
|
-
description: Linting and testing skills
|
|
114
|
-
skills:
|
|
115
|
-
- "my-linting"
|
|
116
|
-
- "my-testing"
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Or use `"*"` to include all discovered skills in the plugin.
|
|
120
|
-
|
|
121
|
-
## Step 3: Build
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
vat build # skills phase then claude phase
|
|
125
|
-
vat verify # validates resources + skills + claude artifacts
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### What vat build does
|
|
129
|
-
|
|
130
|
-
Two phases, run in dependency order:
|
|
131
|
-
|
|
132
|
-
1. **`vat skills build`** — reads `vibe-agent-toolkit.config.yaml skills:` section, discovers SKILL.md files via include/exclude globs, compiles each into `dist/skills/<name>/`
|
|
133
|
-
2. **`vat claude build`** — reads `vibe-agent-toolkit.config.yaml claude:` section, wraps built skills into `dist/.claude/plugins/marketplaces/<mp>/plugins/<plugin>/` structure with `.claude-plugin/plugin.json`
|
|
134
|
-
|
|
135
|
-
Individual commands still work:
|
|
136
|
-
```bash
|
|
137
|
-
vat skills build # skills phase only
|
|
138
|
-
vat claude build # claude plugin phase only (requires skills already built)
|
|
139
|
-
vat claude verify # validate plugin artifacts only
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## Step 4: Publish
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
npm publish --tag next # RC/pre-release
|
|
146
|
-
npm publish # stable release
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## Step 5: User Install
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
vat skills install npm:@myorg/my-skills
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Or via standard npm install (postinstall hook triggers automatically):
|
|
156
|
-
```bash
|
|
157
|
-
npm install -g @myorg/my-skills
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### How plugin installation works
|
|
161
|
-
|
|
162
|
-
When `npm install` runs the postinstall hook (`vat skills install --npm-postinstall`):
|
|
163
|
-
|
|
164
|
-
- VAT detects `dist/.claude/plugins/marketplaces/` directory in the installed package
|
|
165
|
-
- Copies the plugin tree to Claude's plugin directory (dumb recursive copy)
|
|
166
|
-
- Writes to these locations:
|
|
167
|
-
1. `~/.claude/plugins/marketplaces/<marketplace>/plugins/<plugin>/` — plugin files
|
|
168
|
-
2. `~/.claude/plugins/known_marketplaces.json` — marketplace registry
|
|
169
|
-
3. `~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/` — version cache
|
|
170
|
-
4. `~/.claude/plugins/installed_plugins.json` — installation record
|
|
171
|
-
5. `~/.claude/settings.json` `enabledPlugins` — activates the plugin
|
|
172
|
-
|
|
173
|
-
If no `dist/.claude/plugins/marketplaces/` directory exists (package wasn't built before publish): a guidance message is emitted and the hook exits 0. The publisher must run `vat build` and re-publish.
|
|
174
|
-
|
|
175
|
-
Skills are then available in Claude Code as `/plugin-name:skill-name`.
|
|
176
|
-
|
|
177
|
-
## managed-settings.json Validation (Enterprise)
|
|
178
|
-
|
|
179
|
-
```yaml
|
|
180
|
-
claude:
|
|
181
|
-
managedSettings: managed-settings.json
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
`vat verify` validates this file against the ManagedSettings schema. Catches typos and schema errors before deployment. Does NOT deploy the file — deployment is a separate concern.
|
|
185
|
-
|
|
186
|
-
## --target claude-web (ZIP Upload)
|
|
187
|
-
|
|
188
|
-
For uploading skills directly to `claude.ai/settings/capabilities`:
|
|
189
|
-
|
|
190
|
-
```bash
|
|
191
|
-
vat skills package ./SKILL.md -o ./dist/ --target claude-web
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Produces a ZIP:
|
|
195
|
-
```
|
|
196
|
-
my-skill.zip
|
|
197
|
-
└── my-skill/
|
|
198
|
-
├── SKILL.md # skill definition (required)
|
|
199
|
-
├── scripts/ # executable code (.mjs, .py, .sh) — optional
|
|
200
|
-
├── references/ # markdown reference material — optional
|
|
201
|
-
└── assets/ # static data, templates, config — optional
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
Configure source path mappings in `vibe-agent-toolkit.config.yaml`:
|
|
205
|
-
```yaml
|
|
206
|
-
skills:
|
|
207
|
-
include:
|
|
208
|
-
- "skills/**/SKILL.md"
|
|
209
|
-
config:
|
|
210
|
-
my-skill:
|
|
211
|
-
claudeWebTarget:
|
|
212
|
-
scripts: ["./src/helpers/**/*.ts"]
|
|
213
|
-
assets: ["./assets/**"]
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
TypeScript files in `scripts` are tree-shaken and compiled to standalone `.mjs`.
|
|
217
|
-
|
|
218
|
-
## Quick Reference
|
|
219
|
-
|
|
220
|
-
| Task | Command |
|
|
221
|
-
|---|---|
|
|
222
|
-
| Build everything | `vat build` |
|
|
223
|
-
| Verify everything | `vat verify` |
|
|
224
|
-
| Build skills only | `vat skills build` |
|
|
225
|
-
| Build claude artifacts only | `vat claude build` |
|
|
226
|
-
| Verify claude artifacts only | `vat claude verify` |
|
|
227
|
-
| Install from npm | `vat skills install npm:@org/pkg` |
|
|
228
|
-
| Package for claude.ai upload | `vat skills package ./SKILL.md -o ./dist/ --target claude-web` |
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/skills/{vibe-agent-toolkit__agent-authoring → authoring}/resources/agent-authoring.md
RENAMED
|
File without changes
|
/package/dist/skills/{vibe-agent-toolkit__agent-authoring → authoring}/resources/orchestration.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|