snap-squad 0.2.0 → 0.5.0
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/LICENSE +21 -21
- package/README.md +133 -136
- package/dist/cli.js +28 -6
- package/dist/cli.js.map +1 -1
- package/dist/generator/index.d.ts.map +1 -1
- package/dist/generator/index.js +395 -252
- package/dist/generator/index.js.map +1 -1
- package/dist/matcher.d.ts +7 -2
- package/dist/matcher.d.ts.map +1 -1
- package/dist/matcher.js +61 -34
- package/dist/matcher.js.map +1 -1
- package/dist/registry/loader.d.ts.map +1 -1
- package/dist/registry/loader.js +70 -14
- package/dist/registry/loader.js.map +1 -1
- package/dist/registry/role-map.d.ts +25 -0
- package/dist/registry/role-map.d.ts.map +1 -0
- package/dist/registry/role-map.js +59 -0
- package/dist/registry/role-map.js.map +1 -0
- package/package.json +51 -47
- package/src/registry/presets/dash.yaml +52 -52
- package/src/registry/presets/neighbors.yaml +109 -89
- package/src/registry/presets/sages.yaml +100 -80
- package/src/registry/presets/specialists.yaml +150 -0
- package/src/registry/presets/artisans.yaml +0 -86
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 paulyuk
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 paulyuk
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
C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
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
- **
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
## License
|
|
135
|
-
|
|
136
|
-
MIT
|
|
1
|
+
# Snap Squad
|
|
2
|
+
|
|
3
|
+
> Skip the interview. Start building.
|
|
4
|
+
|
|
5
|
+
**Get a working [Squad](https://github.com/bradygaster/squad) in one command.** No setup. No interviews. Just a team that's ready to ship.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
mkdir my-project && cd my-project
|
|
11
|
+
npx snap-squad init
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
That's it. You now have the **Neighbors** squad — a reliable generalist team with routing rules, agent charters, and decision logging. Open Copilot and start building:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
copilot
|
|
18
|
+
# Or open VS Code — your squad is already wired in
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Need speed instead?
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx snap-squad init I need a fast team for a hackathon
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Snap Squad reads your description and picks **Dash** — a speed-focused squad built for rapid POCs. No fluff, no ceremony, just velocity.
|
|
28
|
+
|
|
29
|
+
### Describe what you need. Get the right team.
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx snap-squad init help me learn best practices # → Sages (mentor)
|
|
33
|
+
npx snap-squad init database security hardening # → Specialists (precision)
|
|
34
|
+
npx snap-squad init something is on fire debug help # → Specialists (Chuck is already on his way)
|
|
35
|
+
npx snap-squad init # → Neighbors (default)
|
|
36
|
+
npx snap-squad init --type dash # → pick directly
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## What Is Squad?
|
|
42
|
+
|
|
43
|
+
[Squad](https://github.com/bradygaster/squad) gives you AI agent teams for any project — a multi-agent runtime built on GitHub Copilot. You define your team, route work to specialists, and ship faster.
|
|
44
|
+
|
|
45
|
+
The catch? Setting up a new squad takes time. Interviews, charters, routing config. For a big project, that's worth it. For a quick POC? It's friction.
|
|
46
|
+
|
|
47
|
+
**Snap Squad removes the friction.** One command, full squad, zero interview.
|
|
48
|
+
|
|
49
|
+
## Presets
|
|
50
|
+
|
|
51
|
+
| Preset | Vibe | Agents | Best For |
|
|
52
|
+
|--------|------|--------|----------|
|
|
53
|
+
| [**neighbors**](docs/presets/neighbors.md) | Generalist | Blueprint *(architect)*, Wrench *(dev)*, Lens *(QA)*, Quill *(docs)*, Mosaic *(prompts)*, Relay *(GitOps)*, Val *(light evals)*, Scout *(researcher)*, Ledger *(historian)* | General-purpose projects, reliable building |
|
|
54
|
+
| [**dash**](docs/presets/dash.md) | Speed | Turbo *(architect)*, Bolt *(full-stack)*, Flash *(test + docs)* | Rapid POCs, hackathons, zero fluff |
|
|
55
|
+
| [**sages**](docs/presets/sages.md) | Mentor | Oracle *(architect)*, Scriptor *(mentor dev)*, Proof *(test mentor)*, Chronicle *(docs)*, Pattern *(prompts)*, Measure *(evals)*, Scout *(researcher)*, Ledger *(historian)* | Learning, best practices, architecture review |
|
|
56
|
+
| [**specialists**](docs/presets/specialists.md) | Precision | Chuck 🥋 *(debugger)*, Forge *(architect)*, Anvil *(data)*, Chisel *(security)*, Prism *(UI/UX)*, Loom *(infra)*, Caliber *(deep evals)*, Sensei *(skill audit)*, Waza *(skill bench)*, Blitz *(mass ops)*, Recon *(deep research)*, Ledger *(historian)* | DB tuning, security hardening, mass ops, troubleshooting |
|
|
57
|
+
|
|
58
|
+
> **Neighbors** does light evals (Val spots-checks baselines). Need a full eval pipeline? **Specialists** brings Caliber for deep eval architecture plus Sensei and Waza for skill benchmarking.
|
|
59
|
+
|
|
60
|
+
Click any preset name above to see the full roster — every agent's role, personality, routing rules, and when to use them.
|
|
61
|
+
|
|
62
|
+
These aren't blank templates. They're squad configurations shaped by real project experience at CoreAI — tested routing rules, proven agent roles, and practical defaults.
|
|
63
|
+
|
|
64
|
+
## What Gets Created
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
your-project/
|
|
68
|
+
├── .squad/
|
|
69
|
+
│ ├── team.md # Who's on the team
|
|
70
|
+
│ ├── routing.md # How work gets routed
|
|
71
|
+
│ ├── decisions.md # Decision log
|
|
72
|
+
│ ├── mcp-config.md # MCP tool config
|
|
73
|
+
│ └── agents/
|
|
74
|
+
│ ├── blueprint/charter.md
|
|
75
|
+
│ ├── wrench/charter.md
|
|
76
|
+
│ └── ...
|
|
77
|
+
├── AGENTS.md # AI agent instructions (any tool)
|
|
78
|
+
├── CLAUDE.md # Claude/Copilot CLI session memory
|
|
79
|
+
└── .github/
|
|
80
|
+
└── copilot-instructions.md # GitHub Copilot instructions
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
The hook chain (`AGENTS.md` + `CLAUDE.md` + `copilot-instructions.md`) makes every AI session squad-aware — regardless of which tool opens your workspace.
|
|
84
|
+
|
|
85
|
+
## After Bootstrap: Plain English
|
|
86
|
+
|
|
87
|
+
Once your squad is initialized, just talk to it:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
> switch my squad to the sages preset
|
|
91
|
+
> add a security specialist to my team
|
|
92
|
+
> show me my squad routing rules
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The generated instructions teach your AI how to manage the squad. No special syntax needed.
|
|
96
|
+
|
|
97
|
+
## Browse Presets
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
npx snap-squad list
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Want the Full Squad Runtime?
|
|
104
|
+
|
|
105
|
+
Snap Squad gets you started. The [Squad CLI](https://github.com/bradygaster/squad) takes it further — interactive shell, triage, hire, and more:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
npm install -g @bradygaster/squad-cli
|
|
109
|
+
squad
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Why Not Just Use Squad Directly?
|
|
113
|
+
|
|
114
|
+
You should! Squad's built-in setup is great for tailored teams. Snap Squad is for when you want to:
|
|
115
|
+
|
|
116
|
+
- **Start in seconds** — working squad before your coffee gets cold
|
|
117
|
+
- **Learn from others** — presets shaped by builders who ship with Squad daily
|
|
118
|
+
- **Reuse patterns** — same team shape across multiple projects
|
|
119
|
+
- **Onboard people** — give someone a working squad without the interview
|
|
120
|
+
|
|
121
|
+
The goal is to contribute these presets upstream to Squad.
|
|
122
|
+
|
|
123
|
+
## Status
|
|
124
|
+
|
|
125
|
+
🚧 **Alpha** — Built by its own squad (dogfooding FTW).
|
|
126
|
+
|
|
127
|
+
## How This Was Built
|
|
128
|
+
|
|
129
|
+
This project was built with AI assistance, steered by a human builder. The full story — every steering moment, key decision, and evolution arc — is in the [build journal](JOURNAL.md).
|
|
130
|
+
|
|
131
|
+
## License
|
|
132
|
+
|
|
133
|
+
MIT
|
package/dist/cli.js
CHANGED
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Command } from 'commander';
|
|
3
|
-
import { existsSync } from 'node:fs';
|
|
4
|
-
import { resolve } from 'node:path';
|
|
3
|
+
import { existsSync, readFileSync } from 'node:fs';
|
|
4
|
+
import { resolve, dirname, join } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
5
6
|
import chalk from 'chalk';
|
|
6
7
|
import { loadPreset, listPresets } from './registry/loader.js';
|
|
7
8
|
import { generateSquad } from './generator/index.js';
|
|
8
9
|
import { matchPreset } from './matcher.js';
|
|
10
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
+
const __dirname = dirname(__filename);
|
|
12
|
+
const pkg = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf-8'));
|
|
13
|
+
const availablePresets = listPresets();
|
|
9
14
|
const program = new Command();
|
|
10
15
|
program
|
|
11
16
|
.name('snap-squad')
|
|
12
17
|
.description('Get started with Squad faster — ready-made squad presets')
|
|
13
|
-
.version(
|
|
18
|
+
.version(pkg.version);
|
|
14
19
|
program
|
|
15
20
|
.command('init')
|
|
16
21
|
.description('Initialize a squad — describe what you need or pick a preset')
|
|
17
22
|
.argument('[description...]', 'describe your project in plain English')
|
|
18
|
-
.option('-t, --type <preset>',
|
|
23
|
+
.option('-t, --type <preset>', `pick a preset directly (${availablePresets.join(', ')})`)
|
|
19
24
|
.option('-d, --dir <directory>', 'target directory', '.')
|
|
20
25
|
.option('-n, --name <name>', 'project name')
|
|
21
26
|
.option('-o, --owner <owner>', 'project owner')
|
|
22
27
|
.option('-f, --force', 'overwrite existing .squad/ directory', false)
|
|
28
|
+
.option('--explain', 'show why a preset was chosen')
|
|
29
|
+
.option('--dry-run', 'show what would be created without writing files')
|
|
23
30
|
.action((descriptionWords, opts) => {
|
|
24
31
|
const targetDir = resolve(opts.dir);
|
|
25
32
|
const squadDir = resolve(targetDir, '.squad');
|
|
@@ -37,18 +44,33 @@ program
|
|
|
37
44
|
const match = matchPreset(description);
|
|
38
45
|
presetName = match.preset;
|
|
39
46
|
console.log(chalk.dim(` "${description}" → ${chalk.bold(match.preset)} (${match.why})\n`));
|
|
47
|
+
if (opts.explain && match.matchedKeywords.length > 0) {
|
|
48
|
+
console.log(chalk.dim(' Matched keywords:'));
|
|
49
|
+
for (const kw of match.matchedKeywords) {
|
|
50
|
+
console.log(chalk.dim(` • "${kw.keyword}" → ${kw.preset} (+${kw.weight})`));
|
|
51
|
+
}
|
|
52
|
+
console.log();
|
|
53
|
+
}
|
|
40
54
|
}
|
|
41
55
|
else {
|
|
42
|
-
presetName = 'neighbors';
|
|
56
|
+
presetName = availablePresets.includes('neighbors') ? 'neighbors' : availablePresets[0] ?? 'neighbors';
|
|
43
57
|
}
|
|
44
58
|
let preset;
|
|
45
59
|
try {
|
|
46
60
|
preset = loadPreset(presetName);
|
|
47
61
|
}
|
|
48
62
|
catch (err) {
|
|
49
|
-
|
|
63
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
64
|
+
console.error(chalk.red(`✗ ${message}`));
|
|
50
65
|
process.exit(1);
|
|
51
66
|
}
|
|
67
|
+
if (opts.dryRun) {
|
|
68
|
+
console.log(chalk.blue(`🔍 Dry run: would create ${chalk.bold(preset.displayName)} squad\n`));
|
|
69
|
+
console.log(chalk.dim(` Agents: ${preset.agents.map(a => a.name).join(', ')}`));
|
|
70
|
+
console.log(chalk.dim(` Files: .squad/, AGENTS.md, CLAUDE.md, JOURNAL.md, .github/copilot-instructions.md`));
|
|
71
|
+
console.log(chalk.dim(` Target: ${targetDir}\n`));
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
52
74
|
console.log(chalk.blue(`⚡ Snapping in ${chalk.bold(preset.displayName)}...`));
|
|
53
75
|
const created = generateSquad({
|
|
54
76
|
targetDir,
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAA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AC/C,OAAO;IACT,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAChD,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,IAAI,CAAC;YACH,MAAM,CAAC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;YAC3B,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;QAC1D,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IACD,OAAO,CAAC,GAAG,EAAE,CAAC;AAChB,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generator/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAS,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generator/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAS,MAAM,uBAAuB,CAAC;AAG3D,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAOD,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,EAAE,CAsDhE"}
|