@vibe-agent-toolkit/vat-development-agents 0.1.29 → 0.1.30-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/CHANGELOG.md +20 -0
- 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/audit/SKILL.md +21 -16
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/authoring/SKILL.md +30 -12
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/authoring/resources/skill-quality-checklist.md +42 -0
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging/SKILL.md +4 -4
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/SKILL.md +6 -6
- package/dist/generated/resources/skills/vat-agent-authoring.js +3 -3
- package/dist/generated/resources/skills/vat-audit.js +5 -5
- package/dist/skills/audit/SKILL.md +21 -16
- package/dist/skills/authoring/SKILL.md +30 -12
- package/dist/skills/authoring/resources/skill-quality-checklist.md +42 -0
- package/dist/skills/debugging/SKILL.md +4 -4
- package/dist/skills/vibe-agent-toolkit/SKILL.md +6 -6
- package/package.json +4 -4
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging/resources/CLAUDE.md +0 -539
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging/resources/debug-and-test-vat-fixes.md +0 -111
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/debugging/resources/writing-tests.md +0 -577
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/adding-runtime-adapters.md +0 -628
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/agent-authoring.md +0 -905
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/compiling-markdown-to-typescript.md +0 -501
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/getting-started.md +0 -360
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/orchestration.md +0 -859
- package/dist/.claude/plugins/marketplaces/vat-skills/plugins/vibe-agent-toolkit/skills/vibe-agent-toolkit/resources/rag-usage-guide.md +0 -770
- package/dist/skills/debugging/resources/CLAUDE.md +0 -539
- package/dist/skills/debugging/resources/debug-and-test-vat-fixes.md +0 -111
- package/dist/skills/debugging/resources/writing-tests.md +0 -577
- package/dist/skills/vibe-agent-toolkit/resources/adding-runtime-adapters.md +0 -628
- package/dist/skills/vibe-agent-toolkit/resources/agent-authoring.md +0 -905
- package/dist/skills/vibe-agent-toolkit/resources/compiling-markdown-to-typescript.md +0 -501
- package/dist/skills/vibe-agent-toolkit/resources/getting-started.md +0 -360
- package/dist/skills/vibe-agent-toolkit/resources/orchestration.md +0 -859
- package/dist/skills/vibe-agent-toolkit/resources/rag-usage-guide.md +0 -770
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
# Getting Started with Vibe Agent Toolkit
|
|
2
|
-
|
|
3
|
-
This guide will help you set up and start developing portable AI agents with the toolkit.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
Before you begin, ensure you have the following installed:
|
|
8
|
-
|
|
9
|
-
- **Bun** (latest version): [Install Bun](https://bun.sh/docs/installation)
|
|
10
|
-
- **Node.js** 22 or 24: [Install Node.js](https://nodejs.org/)
|
|
11
|
-
- **Git**: [Install Git](https://git-scm.com/downloads)
|
|
12
|
-
|
|
13
|
-
## Initial Setup
|
|
14
|
-
|
|
15
|
-
### 1. Clone and Install
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Clone the repository
|
|
19
|
-
git clone https://github.com/jdutton/vibe-agent-toolkit.git
|
|
20
|
-
cd vibe-agent-toolkit
|
|
21
|
-
|
|
22
|
-
# Install dependencies
|
|
23
|
-
bun install
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### 2. Verify Installation
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Build all packages
|
|
30
|
-
bun run build
|
|
31
|
-
|
|
32
|
-
# Run tests (do NOT use 'bun test' - use commands below)
|
|
33
|
-
vv validate # Full validation (recommended)
|
|
34
|
-
# OR: bun run test:unit # Unit tests only
|
|
35
|
-
|
|
36
|
-
# Run linting
|
|
37
|
-
bun run lint
|
|
38
|
-
|
|
39
|
-
# Run type checking
|
|
40
|
-
bun run typecheck
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
If all commands pass, you're ready to start developing!
|
|
44
|
-
|
|
45
|
-
## Development Workflow
|
|
46
|
-
|
|
47
|
-
### Day-to-Day Development
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
# Start development with watch mode
|
|
51
|
-
bun run test:watch
|
|
52
|
-
|
|
53
|
-
# In another terminal, make changes to your code
|
|
54
|
-
# Tests will automatically re-run
|
|
55
|
-
|
|
56
|
-
# When ready to commit:
|
|
57
|
-
git add .
|
|
58
|
-
git commit -m "feat: add new feature"
|
|
59
|
-
# Pre-commit hooks will run automatically
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Creating Your First Package
|
|
63
|
-
|
|
64
|
-
1. **Remove the example package** (if you don't need it):
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
rm -rf packages/example-utils
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
2. **Create your package**:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
mkdir -p packages/my-package/src packages/my-package/test
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
3. **Add package configuration**:
|
|
77
|
-
|
|
78
|
-
Create `package.json`, `tsconfig.json` (with `composite: true`), and add to root `tsconfig.json` references. See [CLAUDE.md]() Development Workflow section for complete details.
|
|
79
|
-
|
|
80
|
-
4. **Update root tsconfig.json**:
|
|
81
|
-
|
|
82
|
-
Edit `tsconfig.json` to include your new package in the `references` array.
|
|
83
|
-
|
|
84
|
-
5. **Install and build**:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
bun install
|
|
88
|
-
bun run build
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Writing Tests
|
|
92
|
-
|
|
93
|
-
#### Unit Tests
|
|
94
|
-
|
|
95
|
-
Create `*.test.ts` files alongside your source code or in `test/` directory:
|
|
96
|
-
|
|
97
|
-
```typescript
|
|
98
|
-
// packages/my-package/src/utils.test.ts
|
|
99
|
-
import { describe, expect, it } from 'vitest';
|
|
100
|
-
import { myFunction } from './utils.js';
|
|
101
|
-
|
|
102
|
-
describe('myFunction', () => {
|
|
103
|
-
it('should do something', () => {
|
|
104
|
-
expect(myFunction('input')).toBe('expected');
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
#### Integration Tests
|
|
110
|
-
|
|
111
|
-
Create `*.integration.test.ts` files in `test/integration/`:
|
|
112
|
-
|
|
113
|
-
```typescript
|
|
114
|
-
// packages/my-package/test/integration/workflow.integration.test.ts
|
|
115
|
-
import { describe, expect, it } from 'vitest';
|
|
116
|
-
|
|
117
|
-
describe('Workflow Integration', () => {
|
|
118
|
-
it('should complete end-to-end workflow', () => {
|
|
119
|
-
// Test multiple modules working together
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
#### System Tests
|
|
125
|
-
|
|
126
|
-
Create `*.system.test.ts` files in `test/system/`:
|
|
127
|
-
|
|
128
|
-
```typescript
|
|
129
|
-
// packages/my-package/test/system/e2e.system.test.ts
|
|
130
|
-
import { describe, expect, it } from 'vitest';
|
|
131
|
-
|
|
132
|
-
describe('E2E System Test', () => {
|
|
133
|
-
it('should work with real services', () => {
|
|
134
|
-
// Test complete system with real dependencies
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### Running Validation
|
|
140
|
-
|
|
141
|
-
Before pushing code:
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
# Run full validation (like CI)
|
|
145
|
-
bun run validate
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
This runs:
|
|
149
|
-
1. TypeScript type checking
|
|
150
|
-
2. ESLint (strict)
|
|
151
|
-
3. Code duplication check
|
|
152
|
-
4. Build
|
|
153
|
-
5. Tests
|
|
154
|
-
6. Coverage report
|
|
155
|
-
|
|
156
|
-
## Common Tasks
|
|
157
|
-
|
|
158
|
-
### Adding a Dependency
|
|
159
|
-
|
|
160
|
-
```bash
|
|
161
|
-
# Add to workspace root
|
|
162
|
-
bun add -D some-dev-dependency
|
|
163
|
-
|
|
164
|
-
# Add to a specific package
|
|
165
|
-
cd packages/my-package
|
|
166
|
-
bun add some-dependency
|
|
167
|
-
|
|
168
|
-
# Or from root:
|
|
169
|
-
bun add some-dependency --filter @your-org/my-package
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### Updating Dependencies
|
|
173
|
-
|
|
174
|
-
```bash
|
|
175
|
-
# Update all dependencies
|
|
176
|
-
bun update
|
|
177
|
-
|
|
178
|
-
# Check for outdated packages
|
|
179
|
-
bun outdated
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
### Debugging Tests
|
|
183
|
-
|
|
184
|
-
**Note:** Do NOT use `bun test` directly - use the commands below instead.
|
|
185
|
-
|
|
186
|
-
```bash
|
|
187
|
-
# Run a specific test file
|
|
188
|
-
bunx vitest packages/my-package/test/mytest.test.ts
|
|
189
|
-
|
|
190
|
-
# Run with verbose output
|
|
191
|
-
bun run test:unit --reporter=verbose
|
|
192
|
-
|
|
193
|
-
# Run tests matching a pattern
|
|
194
|
-
bun run test:unit --grep "my test pattern"
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
### Fixing Linting Issues
|
|
198
|
-
|
|
199
|
-
```bash
|
|
200
|
-
# Auto-fix linting issues
|
|
201
|
-
bun run lint:fix
|
|
202
|
-
|
|
203
|
-
# Check specific files
|
|
204
|
-
bunx eslint packages/my-package/src/myfile.ts
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### Managing Code Duplication
|
|
208
|
-
|
|
209
|
-
```bash
|
|
210
|
-
# Check for new duplication
|
|
211
|
-
bun run duplication-check
|
|
212
|
-
|
|
213
|
-
# Update baseline after refactoring
|
|
214
|
-
bun run duplication-update-baseline
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
## IDE Setup
|
|
218
|
-
|
|
219
|
-
### VS Code
|
|
220
|
-
|
|
221
|
-
Recommended extensions:
|
|
222
|
-
- ESLint
|
|
223
|
-
- EditorConfig for VS Code
|
|
224
|
-
- Vitest
|
|
225
|
-
- TypeScript + JavaScript
|
|
226
|
-
|
|
227
|
-
Settings will be automatically applied from `.editorconfig`.
|
|
228
|
-
|
|
229
|
-
### Other IDEs
|
|
230
|
-
|
|
231
|
-
The project uses `.editorconfig` which is supported by most modern IDEs:
|
|
232
|
-
- IntelliJ IDEA / WebStorm
|
|
233
|
-
- Sublime Text
|
|
234
|
-
- Atom
|
|
235
|
-
- And many more
|
|
236
|
-
|
|
237
|
-
## Troubleshooting
|
|
238
|
-
|
|
239
|
-
### Build Errors
|
|
240
|
-
|
|
241
|
-
```bash
|
|
242
|
-
# Clean build
|
|
243
|
-
bun run build:clean
|
|
244
|
-
|
|
245
|
-
# Remove all node_modules and reinstall
|
|
246
|
-
bun run clean
|
|
247
|
-
bun install
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
### Test Failures
|
|
251
|
-
|
|
252
|
-
```bash
|
|
253
|
-
# Run tests with more detail
|
|
254
|
-
bun run test:unit --reporter=verbose
|
|
255
|
-
|
|
256
|
-
# Update snapshots if needed
|
|
257
|
-
bunx vitest -u
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
### Pre-commit Hook Issues
|
|
261
|
-
|
|
262
|
-
```bash
|
|
263
|
-
# Reinstall hooks
|
|
264
|
-
rm -rf .husky
|
|
265
|
-
bun install
|
|
266
|
-
|
|
267
|
-
# Make hook executable
|
|
268
|
-
chmod +x .husky/pre-commit
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
### Bun Installation Issues
|
|
272
|
-
|
|
273
|
-
If bun commands fail:
|
|
274
|
-
|
|
275
|
-
```bash
|
|
276
|
-
# Reinstall bun
|
|
277
|
-
curl -fsSL https://bun.sh/install | bash
|
|
278
|
-
|
|
279
|
-
# Verify installation
|
|
280
|
-
bun --version
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
## Working with Agent Skills
|
|
284
|
-
|
|
285
|
-
### Auditing Skills
|
|
286
|
-
|
|
287
|
-
Validate Agent Skills for quality and compatibility:
|
|
288
|
-
|
|
289
|
-
```bash
|
|
290
|
-
# Audit a single skill
|
|
291
|
-
vat agent audit my-skill/SKILL.md
|
|
292
|
-
|
|
293
|
-
# Audit all skills in a directory
|
|
294
|
-
vat agent audit skills/ --recursive
|
|
295
|
-
|
|
296
|
-
# View detailed validation errors
|
|
297
|
-
vat agent audit my-skill/SKILL.md --debug
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
The audit command checks for:
|
|
301
|
-
- Required frontmatter fields (name, description)
|
|
302
|
-
- Naming conventions (lowercase, hyphens, no reserved words)
|
|
303
|
-
- Description length (max 1024 characters)
|
|
304
|
-
- Link integrity (broken links, invalid paths)
|
|
305
|
-
- Console compatibility (tool availability)
|
|
306
|
-
|
|
307
|
-
See [Audit Command Documentation]() for complete validation rules.
|
|
308
|
-
|
|
309
|
-
### Importing Skills
|
|
310
|
-
|
|
311
|
-
Convert Agent Skills to VAT agent format:
|
|
312
|
-
|
|
313
|
-
```bash
|
|
314
|
-
# Import skill to agent.yaml
|
|
315
|
-
vat agent import my-skill/SKILL.md
|
|
316
|
-
|
|
317
|
-
# Import with custom output path
|
|
318
|
-
vat agent import my-skill/SKILL.md --output my-agent/agent.yaml
|
|
319
|
-
|
|
320
|
-
# Force overwrite existing agent.yaml
|
|
321
|
-
vat agent import my-skill/SKILL.md --force
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
Typical workflow:
|
|
325
|
-
|
|
326
|
-
```bash
|
|
327
|
-
# 1. Create or edit SKILL.md
|
|
328
|
-
vim my-skill/SKILL.md
|
|
329
|
-
|
|
330
|
-
# 2. Validate before import
|
|
331
|
-
vat agent audit my-skill/SKILL.md
|
|
332
|
-
|
|
333
|
-
# 3. Import to VAT format
|
|
334
|
-
vat agent import my-skill/SKILL.md
|
|
335
|
-
|
|
336
|
-
# 4. Use VAT tooling
|
|
337
|
-
cd my-skill
|
|
338
|
-
vat test
|
|
339
|
-
vat package
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
See [Import Command Documentation]() for more details.
|
|
343
|
-
|
|
344
|
-
## Next Steps
|
|
345
|
-
|
|
346
|
-
- Read [CLAUDE.md]() for detailed development guidelines
|
|
347
|
-
- Review [Agent Skills Best Practices]()
|
|
348
|
-
- Review the [utils package]() for reference patterns
|
|
349
|
-
- Check out [vibe-validate documentation](https://github.com/jdutton/vibe-validate)
|
|
350
|
-
- Set up your CI/CD pipeline on GitHub
|
|
351
|
-
- Enable Codecov for your repository (see README.md for setup instructions)
|
|
352
|
-
|
|
353
|
-
## Getting Help
|
|
354
|
-
|
|
355
|
-
- Check existing documentation in `docs/`
|
|
356
|
-
- Review the example package implementation
|
|
357
|
-
- Read inline comments in configuration files
|
|
358
|
-
- Open an issue on GitHub for bugs or questions
|
|
359
|
-
|
|
360
|
-
Happy coding! 🚀
|