@vibe-agent-toolkit/vat-development-agents 0.1.32-rc.4 → 0.1.32
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/CHANGELOG.md +37 -4
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/.claude-plugin/plugin.json +1 -1
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vat-adoption-and-configuration/SKILL.md +179 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/{authoring → vat-agent-authoring}/SKILL.md +16 -134
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/{audit → vat-audit}/SKILL.md +1 -1
- package/dist/{skills/org-admin → .claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vat-enterprise-org}/SKILL.md +3 -3
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/{resources → vat-knowledge-resources}/SKILL.md +1 -1
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vat-rag/SKILL.md +104 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vat-skill-authoring/SKILL.md +156 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/{distribution → vat-skill-distribution}/SKILL.md +3 -2
- package/dist/{skills/authoring/resources/skill-quality-checklist.md → .claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vat-skill-review/SKILL.md} +16 -1
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/SKILL.md +40 -189
- package/dist/generated/resources/skills/CLAUDE.d.ts +28 -0
- package/dist/generated/resources/skills/CLAUDE.js +60 -0
- package/dist/generated/resources/skills/SKILL.d.ts +2 -10
- package/dist/generated/resources/skills/SKILL.js +14 -54
- package/dist/generated/resources/skills/vat-adoption-and-configuration.d.ts +29 -0
- package/dist/generated/resources/skills/vat-adoption-and-configuration.js +53 -0
- package/dist/generated/resources/skills/vat-agent-authoring.d.ts +0 -2
- package/dist/generated/resources/skills/vat-agent-authoring.js +9 -19
- package/dist/generated/resources/skills/vat-audit.js +1 -1
- package/dist/generated/resources/skills/{vat-claude-org-admin.js → vat-enterprise-org.js} +3 -3
- package/dist/generated/resources/skills/{vat-resources.js → vat-knowledge-resources.js} +1 -1
- package/dist/generated/resources/skills/{vat-install-architecture.d.ts → vat-rag.d.ts} +6 -7
- package/dist/generated/resources/skills/vat-rag.js +43 -0
- package/dist/generated/resources/skills/{vat-debugging.d.ts → vat-skill-authoring.d.ts} +7 -7
- package/dist/generated/resources/skills/vat-skill-authoring.js +48 -0
- package/dist/generated/resources/skills/{vat-skills-distribution.js → vat-skill-distribution.js} +4 -4
- package/dist/generated/resources/skills/{skill-quality-checklist.d.ts → vat-skill-review.d.ts} +5 -1
- package/dist/generated/resources/skills/{skill-quality-checklist.js → vat-skill-review.js} +10 -2
- package/dist/skills/vat-adoption-and-configuration/SKILL.md +179 -0
- package/dist/skills/{authoring → vat-agent-authoring}/SKILL.md +16 -134
- package/dist/skills/{audit → vat-audit}/SKILL.md +1 -1
- package/dist/{.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/org-admin → skills/vat-enterprise-org}/SKILL.md +3 -3
- package/dist/skills/{resources → vat-knowledge-resources}/SKILL.md +1 -1
- package/dist/skills/vat-rag/SKILL.md +104 -0
- package/dist/skills/vat-skill-authoring/SKILL.md +156 -0
- package/dist/skills/{distribution → vat-skill-distribution}/SKILL.md +3 -2
- package/dist/{.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/authoring/resources/skill-quality-checklist.md → skills/vat-skill-review/SKILL.md} +16 -1
- package/dist/skills/vibe-agent-toolkit/SKILL.md +40 -189
- package/package.json +13 -11
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging/SKILL.md +0 -111
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/distribution/resources/vat-install-architecture.md +0 -229
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/install/SKILL.md +0 -229
- package/dist/generated/resources/skills/vat-debugging.js +0 -48
- package/dist/generated/resources/skills/vat-install-architecture.js +0 -48
- package/dist/skills/debugging/SKILL.md +0 -111
- package/dist/skills/distribution/resources/vat-install-architecture.md +0 -229
- package/dist/skills/install/SKILL.md +0 -229
- /package/dist/generated/resources/skills/{vat-claude-org-admin.d.ts → vat-enterprise-org.d.ts} +0 -0
- /package/dist/generated/resources/skills/{vat-resources.d.ts → vat-knowledge-resources.d.ts} +0 -0
- /package/dist/generated/resources/skills/{vat-skills-distribution.d.ts → vat-skill-distribution.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: distribution
|
|
2
|
+
name: vat-skill-distribution
|
|
3
3
|
description: Use when setting up `vat build`, configuring plugin distribution (marketplace, plugins, managed settings), npm publishing with postinstall hooks, or `vat verify` — the full pipeline from skill source to installed plugin.
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -12,7 +12,8 @@ This is the only install method VAT currently supports.
|
|
|
12
12
|
|
|
13
13
|
For the full install landscape — Claude Desktop paths, enterprise CI deployment,
|
|
14
14
|
Anthropic Cloud org management, MDM integration, and the `vat plugins uninstall`
|
|
15
|
-
design — see
|
|
15
|
+
design — see the contributor reference at `docs/contributing/vat-install-architecture.md`
|
|
16
|
+
in the `vibe-agent-toolkit` repo (contributor material, not bundled with this skill).
|
|
16
17
|
|
|
17
18
|
## Overview
|
|
18
19
|
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: vat-skill-review
|
|
3
|
+
description: Use when reviewing a skill before publication or running `vat skill review`. Pre-publication quality checklist grouped into general (all skills) and CLI-backed items, tied to VAT validation codes and Anthropic's skill-authoring best practices.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skill Quality Checklist (vat skill review)
|
|
2
7
|
|
|
3
8
|
Work through this checklist before publishing a skill. Items are grouped into general (all skills) and CLI-backed (skills that bundle and invoke scripts).
|
|
4
9
|
|
|
10
|
+
This content is also surfaced by the `vat skill review` CLI command, which formats the checklist around a specific skill's validation output.
|
|
11
|
+
|
|
12
|
+
## Guidance freshness
|
|
13
|
+
|
|
14
|
+
Skill authoring standards move fast. Before applying this checklist to a non-trivial change:
|
|
15
|
+
|
|
16
|
+
- Re-fetch the source of `docs/external/anthropic-skill-authoring-best-practices.md` named in its preamble. If the content has shifted, update the cache and this checklist together.
|
|
17
|
+
- Web search for the latest Claude Code release notes when trigger semantics, frontmatter rules, or packaging behavior may have changed. Don't rely on training-data recall.
|
|
18
|
+
- Promote any manual item below to a programmatic validator when the pattern is detectable from file contents — see the shift-left notes in `packages/vat-development-agents/resources/skills/CLAUDE.md`.
|
|
19
|
+
|
|
5
20
|
## About this checklist
|
|
6
21
|
|
|
7
22
|
Items fall into two categories:
|
|
@@ -1,211 +1,62 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: vibe-agent-toolkit
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when starting VAT work or deciding which VAT sub-skill applies. Router that points at sub-skills for adoption, skill/agent authoring, audit, distribution, RAG, knowledge resources, skill review, and enterprise org admin.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Vibe Agent Toolkit
|
|
6
|
+
# Vibe Agent Toolkit
|
|
7
7
|
|
|
8
|
-
**Vibe Agent Toolkit (VAT)** is a modular toolkit for building portable AI agents that work across
|
|
9
|
-
multiple LLM frameworks and deployment targets. Write your agent logic once as plain TypeScript,
|
|
10
|
-
then deploy it to Vercel AI SDK, LangChain, OpenAI, Claude Agent SDK, or any other runtime using
|
|
11
|
-
framework adapters. No vendor lock-in.
|
|
8
|
+
**Vibe Agent Toolkit (VAT)** is a modular toolkit for building, packaging, and distributing portable AI agents and skills that work across multiple Claude surfaces and adjacent frameworks. Write skill or agent content once; VAT handles validation, packaging, plugin/marketplace layout, and npm publishing.
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- **This skill** = How to USE VAT to build agents
|
|
16
|
-
- **`vibe-agent-toolkit:debugging`** = When VAT itself behaves unexpectedly or you need to test a fix
|
|
17
|
-
- **Root CLAUDE.md** = How to DEVELOP the VAT codebase itself
|
|
10
|
+
This is a router skill. Load the sibling sub-skill that matches the work you're doing — each sub-skill owns one slice of VAT's surface and is designed to be pulled in on demand.
|
|
18
11
|
|
|
19
12
|
## When to Use VAT
|
|
20
13
|
|
|
21
|
-
|
|
22
|
-
providers, complex multi-agent orchestration, human-in-the-loop workflows.
|
|
23
|
-
|
|
24
|
-
**VAT may not be needed for:** Simple one-off scripts where the framework is already decided,
|
|
25
|
-
non-TypeScript/JavaScript projects, or cases where you need deep framework-specific features.
|
|
14
|
+
Good fits:
|
|
26
15
|
|
|
27
|
-
|
|
16
|
+
- Publishing a Claude skill or plugin to npm with a proper marketplace layout
|
|
17
|
+
- Multi-runtime agent projects (Vercel AI SDK, LangChain, OpenAI, Claude Agent SDK)
|
|
18
|
+
- Validating plugins / skills / marketplaces with `vat audit` before shipping
|
|
19
|
+
- Enforcing frontmatter schemas across large markdown corpora
|
|
20
|
+
- Wiring RAG indexing into an agent project
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
|---|---|
|
|
31
|
-
| Writing or structuring a `SKILL.md` file | `vibe-agent-toolkit:authoring` |
|
|
32
|
-
| Agent archetypes, orchestration patterns, result envelopes | `vibe-agent-toolkit:authoring` |
|
|
33
|
-
| `packagingOptions` (linkFollowDepth, excludeReferencesFromBundle) | `vibe-agent-toolkit:authoring` |
|
|
34
|
-
| Resource collections, frontmatter schema validation | `vibe-agent-toolkit:resources` |
|
|
35
|
-
| `vat resources validate`, collection config | `vibe-agent-toolkit:resources` |
|
|
36
|
-
| Setting up `vat build` + `vat claude build` for a project | `vibe-agent-toolkit:distribution` |
|
|
37
|
-
| Configuring `claude:` section in vibe-agent-toolkit.config.yaml | `vibe-agent-toolkit:distribution` |
|
|
38
|
-
| npm publishing with plugin postinstall | `vibe-agent-toolkit:distribution` |
|
|
39
|
-
| `vat build` / `vat verify` orchestration | `vibe-agent-toolkit:distribution` |
|
|
40
|
-
| `--target claude-web` ZIP format | `vibe-agent-toolkit:distribution` |
|
|
41
|
-
| Install/uninstall methods, enterprise deployment, Desktop vs CLI paths | `vibe-agent-toolkit:install` |
|
|
42
|
-
| `vat audit`, `--compat`, CI validation | `vibe-agent-toolkit:audit` |
|
|
43
|
-
| `vat claude org`, Admin API, org users/cost/usage/skills, ANTHROPIC_ADMIN_API_KEY | `vibe-agent-toolkit:org-admin` |
|
|
44
|
-
| VAT behaves unexpectedly, debugging VAT, testing local VAT changes, VAT_ROOT_DIR | `vibe-agent-toolkit:debugging` |
|
|
22
|
+
Poor fits:
|
|
45
23
|
|
|
46
|
-
|
|
24
|
+
- Simple one-off scripts where the framework is already decided
|
|
25
|
+
- Non-TypeScript/JavaScript projects
|
|
26
|
+
- Cases where you need deep framework-specific features with no reuse goal
|
|
47
27
|
|
|
48
|
-
|
|
28
|
+
## Picking a Sub-skill
|
|
49
29
|
|
|
50
|
-
|
|
|
30
|
+
| If you're working on... | Load |
|
|
51
31
|
|---|---|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
# Or run without installing (works anywhere vat commands appear below)
|
|
64
|
-
npx vibe-agent-toolkit <command> # npm/Node.js
|
|
65
|
-
bunx vibe-agent-toolkit <command> # Bun
|
|
66
|
-
|
|
67
|
-
# Top-level orchestration
|
|
68
|
-
vat build # build all artifacts (skills then claude plugins)
|
|
69
|
-
vat verify # verify all artifacts (resources, skills, claude)
|
|
70
|
-
|
|
71
|
-
# Claude plugin commands
|
|
72
|
-
vat claude build # generate plugin artifacts from built skills
|
|
73
|
-
vat claude verify # validate plugin artifacts
|
|
74
|
-
|
|
75
|
-
# Skills
|
|
76
|
-
vat skills list # list skills in current project
|
|
77
|
-
vat skills list --user # list user-installed skills
|
|
78
|
-
vat skills install npm:@org/my-skills # install from npm (routes through plugin system)
|
|
79
|
-
vat skills build # build portable skills only
|
|
80
|
-
vat skills validate # validate skill quality
|
|
81
|
-
|
|
82
|
-
# Resources
|
|
83
|
-
vat resources validate # validate collections (reads config)
|
|
84
|
-
vat resources validate docs/ --frontmatter-schema schema.json
|
|
85
|
-
|
|
86
|
-
# Audit
|
|
87
|
-
vat audit # audit current directory recursively
|
|
88
|
-
vat audit --user # audit entire Claude installation
|
|
89
|
-
vat audit ./plugins/ --compat # check surface compatibility
|
|
90
|
-
|
|
91
|
-
# RAG
|
|
92
|
-
vat rag index docs/ # index markdown into vector DB
|
|
93
|
-
vat rag query "my question" --limit 5 # semantic search
|
|
94
|
-
|
|
95
|
-
# Get help for any command
|
|
96
|
-
vat --help
|
|
97
|
-
vat skills --help
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## agent-generator: Creating New Agents
|
|
101
|
-
|
|
102
|
-
The **agent-generator** is a built-in meta-agent that guides you through designing
|
|
103
|
-
high-quality agents via a 4-phase workflow:
|
|
104
|
-
|
|
105
|
-
1. **GATHER** — Understand your intent and goals
|
|
106
|
-
2. **ANALYZE** — Identify agent pattern and requirements
|
|
107
|
-
3. **DESIGN** — Make architecture decisions (LLM, tools, prompts)
|
|
108
|
-
4. **GENERATE** — Create validated agent package
|
|
109
|
-
|
|
110
|
-
Minimum input needed:
|
|
111
|
-
```json
|
|
112
|
-
{
|
|
113
|
-
"agentPurpose": "Review PRs for security issues",
|
|
114
|
-
"successCriteria": "Catches 100% of critical vulnerabilities"
|
|
115
|
-
}
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
The generator produces: `agent.yaml`, `prompts/system.md`, `prompts/user.md`,
|
|
119
|
-
`schemas/input.schema.json`, `schemas/output.schema.json`, and `README.md`.
|
|
120
|
-
|
|
121
|
-
**Tips for better results:**
|
|
122
|
-
- Be specific about success criteria ("Under 30s, zero false negatives") not vague ("fast enough")
|
|
123
|
-
- Name the tools the agent needs upfront (file readers, APIs, etc.)
|
|
124
|
-
- Describe domain context (OWASP Top 10, company coding standards, etc.)
|
|
125
|
-
|
|
126
|
-
## Packaging Markdown for Reuse
|
|
127
|
-
|
|
128
|
-
VAT's resource compiler transforms markdown files into type-safe TypeScript modules,
|
|
129
|
-
enabling prompt libraries, RAG knowledge bases, and shared content across projects.
|
|
32
|
+
| New project setup, `vibe-agent-toolkit.config.yaml` orientation, repo structure, vibe-validate integration, npm postinstall | `vibe-agent-toolkit:vat-adoption-and-configuration` |
|
|
33
|
+
| Writing or revising a SKILL.md — frontmatter, body, references, packagingOptions, validation overrides | `vibe-agent-toolkit:vat-skill-authoring` |
|
|
34
|
+
| TypeScript agent archetypes, `agent.yaml`, result envelopes, orchestration, runtime adapters | `vibe-agent-toolkit:vat-agent-authoring` |
|
|
35
|
+
| `vat audit` on plugins, marketplaces, skills, or settings — including `--compat`, `--exclude`, `--user`, CI use | `vibe-agent-toolkit:vat-audit` |
|
|
36
|
+
| Markdown collections, `resources:` config, frontmatter schema validation, `vat resources validate` | `vibe-agent-toolkit:vat-knowledge-resources` |
|
|
37
|
+
| `vat build`, `vat verify`, plugin/marketplace layout, npm publishing, postinstall | `vibe-agent-toolkit:vat-skill-distribution` |
|
|
38
|
+
| `vat rag index` / `vat rag query`, embedding providers, vector stores, chunking | `vibe-agent-toolkit:vat-rag` |
|
|
39
|
+
| Pre-publication quality review, `vat skill review`, validation-code triage | `vibe-agent-toolkit:vat-skill-review` |
|
|
40
|
+
| Anthropic Admin API: org users, cost/usage, workspace skills, `ANTHROPIC_ADMIN_API_KEY` | `vibe-agent-toolkit:vat-enterprise-org` |
|
|
41
|
+
|
|
42
|
+
## CLI Surface at a Glance
|
|
130
43
|
|
|
131
44
|
```bash
|
|
132
|
-
|
|
133
|
-
|
|
45
|
+
vat --help # top-level help
|
|
46
|
+
vat build # build all artifacts (skills → claude plugins)
|
|
47
|
+
vat verify # validate all artifacts
|
|
48
|
+
vat skills validate # validate skill quality
|
|
49
|
+
vat resources validate # validate markdown collections
|
|
50
|
+
vat audit # audit plugins/skills/marketplaces/settings
|
|
51
|
+
vat rag index docs/ # index markdown for RAG
|
|
52
|
+
vat skill review <path> # pre-publication review
|
|
53
|
+
vat claude org --help # enterprise admin surface
|
|
134
54
|
```
|
|
135
55
|
|
|
136
|
-
|
|
137
|
-
import * as Doc from './generated/resources/doc.js';
|
|
138
|
-
|
|
139
|
-
Doc.meta.title; // type-safe frontmatter
|
|
140
|
-
Doc.fragments.introduction.text; // H2 section content
|
|
141
|
-
Doc.text; // full markdown
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
Use cases: agent prompt libraries, RAG knowledge bases packaged as npm modules,
|
|
145
|
-
multi-project content sharing with versioning.
|
|
146
|
-
|
|
147
|
-
## Common Workflows
|
|
148
|
-
|
|
149
|
-
**Create a new agent:**
|
|
150
|
-
```bash
|
|
151
|
-
# Use agent-generator interactively, then:
|
|
152
|
-
vat agent import my-skill/SKILL.md # import to VAT format
|
|
153
|
-
vat skills validate # check quality
|
|
154
|
-
vat skills build # package for distribution
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
**Install and use a community skill:**
|
|
158
|
-
```bash
|
|
159
|
-
vat skills install npm:@vibe-agent-toolkit/vat-cat-agents
|
|
160
|
-
vat skills list --user
|
|
161
|
-
# Plugin-aware packages register in Claude's plugin system
|
|
162
|
-
# Skills are invoked as /plugin-name:skill-name in Claude Code
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
**Build and publish your own skill package:**
|
|
166
|
-
```bash
|
|
167
|
-
# Configure vat.skills in package.json + claude: in vibe-agent-toolkit.config.yaml, then:
|
|
168
|
-
vat build # builds skills + claude plugin artifacts
|
|
169
|
-
vat verify # validates everything
|
|
170
|
-
npm publish # publishes to npm (postinstall registers the plugin)
|
|
171
|
-
# Users install with: vat skills install npm:@myorg/my-skills
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
## Success Criteria
|
|
175
|
-
|
|
176
|
-
You've successfully adopted VAT when:
|
|
177
|
-
- Agents have clear input/output schemas (Zod-validated)
|
|
178
|
-
- Errors are handled as data (result envelopes), never thrown
|
|
179
|
-
- Tests cover success and error paths without real API calls (mock mode)
|
|
180
|
-
- Agents work across multiple runtimes via adapters
|
|
181
|
-
- Multi-agent pipelines compose via `andThen()` / `match()` helpers
|
|
182
|
-
|
|
183
|
-
## Documentation Index
|
|
184
|
-
|
|
185
|
-
- Getting Started Guide
|
|
186
|
-
- Agent Authoring Guide — patterns and code examples
|
|
187
|
-
- Orchestration Guide — multi-agent workflows
|
|
188
|
-
- RAG Usage Guide
|
|
189
|
-
- Resource Compiler Guide
|
|
190
|
-
- Runtime Adapters
|
|
191
|
-
- Examples: `@vibe-agent-toolkit/vat-example-cat-agents`
|
|
192
|
-
|
|
193
|
-
## Running VAT
|
|
194
|
-
|
|
195
|
-
VAT can be run without a global install:
|
|
196
|
-
|
|
197
|
-
```bash
|
|
198
|
-
vat <command> # If installed globally
|
|
199
|
-
npx vibe-agent-toolkit <command> # npm (downloads on demand)
|
|
200
|
-
bunx vibe-agent-toolkit <command> # Bun (downloads on demand)
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
All `vat` commands in this skill and sub-skills accept these alternatives.
|
|
56
|
+
Each sub-skill covers its slice of the CLI in depth — don't memorize this table, load the sub-skill when you need detail.
|
|
204
57
|
|
|
205
58
|
## Getting Help
|
|
206
59
|
|
|
207
|
-
-
|
|
208
|
-
-
|
|
209
|
-
-
|
|
210
|
-
|
|
211
|
-
Happy agent building!
|
|
60
|
+
- `vat --help` and `vat <group> --help --verbose` for CLI depth
|
|
61
|
+
- Repo docs: the VAT repository's `docs/` directory carries the full setup guide, architecture notes, and design references (not bundled with this plugin)
|
|
62
|
+
- Contributor reference docs (debugging VAT, install architecture) live under `docs/contributing/` in the VAT repo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-agent-toolkit/vat-development-agents",
|
|
3
|
-
"version": "0.1.32
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"description": "VAT development agents - dogfooding the vibe-agent-toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -13,13 +13,15 @@
|
|
|
13
13
|
"version": "1.0",
|
|
14
14
|
"skills": [
|
|
15
15
|
"vibe-agent-toolkit",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
16
|
+
"vat-adoption-and-configuration",
|
|
17
|
+
"vat-knowledge-resources",
|
|
18
|
+
"vat-skill-distribution",
|
|
19
|
+
"vat-agent-authoring",
|
|
20
|
+
"vat-skill-authoring",
|
|
21
|
+
"vat-audit",
|
|
22
|
+
"vat-rag",
|
|
23
|
+
"vat-skill-review",
|
|
24
|
+
"vat-enterprise-org"
|
|
23
25
|
],
|
|
24
26
|
"replaces": {
|
|
25
27
|
"plugins": [
|
|
@@ -65,13 +67,13 @@
|
|
|
65
67
|
"postinstall": "vat claude plugin install --npm-postinstall || exit 0"
|
|
66
68
|
},
|
|
67
69
|
"dependencies": {
|
|
68
|
-
"@vibe-agent-toolkit/agent-schema": "0.1.32
|
|
69
|
-
"@vibe-agent-toolkit/cli": "0.1.32
|
|
70
|
+
"@vibe-agent-toolkit/agent-schema": "0.1.32",
|
|
71
|
+
"@vibe-agent-toolkit/cli": "0.1.32",
|
|
70
72
|
"yaml": "^2.8.2"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|
|
73
75
|
"@types/node": "^25.0.3",
|
|
74
|
-
"@vibe-agent-toolkit/resource-compiler": "0.1.32
|
|
76
|
+
"@vibe-agent-toolkit/resource-compiler": "0.1.32",
|
|
75
77
|
"ts-patch": "^3.2.1",
|
|
76
78
|
"typescript": "^5.7.3"
|
|
77
79
|
},
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: debugging
|
|
3
|
-
description: >-
|
|
4
|
-
Debug unexpected VAT behavior, reproduce bugs, test local vibe-agent-toolkit
|
|
5
|
-
changes in adopter projects (VAT_ROOT_DIR), write failing tests before fixing,
|
|
6
|
-
and validate fixes with the full build pipeline before publishing
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Debugging & Testing VAT Fixes
|
|
10
|
-
|
|
11
|
-
Use this skill when VAT itself is behaving unexpectedly, you suspect a VAT bug,
|
|
12
|
-
or you need to test a local code change to vibe-agent-toolkit in another project.
|
|
13
|
-
|
|
14
|
-
## Step 1: Confirm the Version
|
|
15
|
-
|
|
16
|
-
First, confirm which version of VAT is running:
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
# In the adopter project
|
|
20
|
-
cat node_modules/@vibe-agent-toolkit/cli/package.json | grep '"version"'
|
|
21
|
-
|
|
22
|
-
# Or check the binary directly
|
|
23
|
-
vat --version
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
If the installed version is behind the monorepo, you may need `VAT_ROOT_DIR` (see below)
|
|
27
|
-
to test with the local build instead.
|
|
28
|
-
|
|
29
|
-
## Step 2: Enable Debug Output
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
VAT_DEBUG=1 vat <command>
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
`VAT_DEBUG=1` prints context detection info, binary path resolution, and config loading
|
|
36
|
-
details. Use it to confirm which config file and which binary are actually being used.
|
|
37
|
-
|
|
38
|
-
Other useful env vars:
|
|
39
|
-
- `VAT_TEST_ROOT=/path` — Override the project root VAT uses (skips `.git` detection)
|
|
40
|
-
- `VAT_TEST_CONFIG=/path/to/config.yaml` — Override the config file path
|
|
41
|
-
|
|
42
|
-
## Step 3: Reproduce With the Local Monorepo Build
|
|
43
|
-
|
|
44
|
-
To test a fix from your local vibe-agent-toolkit checkout in an adopter project
|
|
45
|
-
(e.g. lfa-cc-marketplace) **without publishing to npm**:
|
|
46
|
-
|
|
47
|
-
### Option A: VAT_ROOT_DIR (recommended)
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
# In your shell (or .env.local in the adopter project)
|
|
51
|
-
export VAT_ROOT_DIR=/path/to/vibe-agent-toolkit
|
|
52
|
-
|
|
53
|
-
# Build the monorepo first — always required
|
|
54
|
-
cd /path/to/vibe-agent-toolkit && bun run build
|
|
55
|
-
|
|
56
|
-
# Now any vat command in the adopter project uses your local build
|
|
57
|
-
cd /path/to/adopter-project
|
|
58
|
-
vat resources validate .
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
The globally-installed `vat` wrapper detects `VAT_ROOT_DIR` and re-dispatches
|
|
62
|
-
to `$VAT_ROOT_DIR/packages/cli/dist/bin.js`.
|
|
63
|
-
|
|
64
|
-
### Option B: Direct path (no global install needed)
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Build first
|
|
68
|
-
cd /path/to/vibe-agent-toolkit && bun run build
|
|
69
|
-
|
|
70
|
-
# Then invoke directly
|
|
71
|
-
node /path/to/vibe-agent-toolkit/packages/cli/dist/bin/vat.js resources validate .
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Step 4: Write a Failing Test Before Fixing
|
|
75
|
-
|
|
76
|
-
Before changing VAT source code, write a test that reproduces the bug:
|
|
77
|
-
|
|
78
|
-
- **Unit bug** → add a test in `packages/<package>/test/`
|
|
79
|
-
- **CLI behavior** → add an integration test in `packages/cli/test/integration/`
|
|
80
|
-
- **End-to-end workflow** → add a system test in `packages/cli/test/system/`
|
|
81
|
-
|
|
82
|
-
See docs/writing-tests.md for test patterns and
|
|
83
|
-
the unit/integration/system classification guide.
|
|
84
|
-
|
|
85
|
-
## Step 5: Validate Before Committing
|
|
86
|
-
|
|
87
|
-
After fixing, run the full pipeline from the monorepo root:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
bun run validate
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
This runs unit → integration → system tests with caching. If tests pass, the fix
|
|
94
|
-
is safe to commit. Do not commit until `bun run validate` passes.
|
|
95
|
-
|
|
96
|
-
## Quick Diagnosis Checklist
|
|
97
|
-
|
|
98
|
-
| Symptom | First thing to check |
|
|
99
|
-
|---|---|
|
|
100
|
-
| `vat` command not found | `npm install -g vibe-agent-toolkit` |
|
|
101
|
-
| Wrong results in adopter project | Confirm installed version matches expected RC |
|
|
102
|
-
| Fix applied but adopter still wrong | Did you `bun run build` after the change? |
|
|
103
|
-
| Validation slow every time | `git rev-parse --git-dir` — are you in a git repo? |
|
|
104
|
-
| Config not loading | `VAT_DEBUG=1 vat <command>` to see which config is found |
|
|
105
|
-
| Test passes locally, fails CI | Windows path separator? Use `toForwardSlash()` from `@vibe-agent-toolkit/utils` |
|
|
106
|
-
|
|
107
|
-
## See Also
|
|
108
|
-
|
|
109
|
-
- docs/debug-and-test-vat-fixes.md — Full reference
|
|
110
|
-
- docs/writing-tests.md — Test patterns and classification
|
|
111
|
-
- [packages/cli/CLAUDE.md]() — CLI development guidelines
|