specialist-agent 1.1.0 â 1.2.1
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/README.md +32 -14
- package/agents/cloud-lite.md +9 -1
- package/agents/cloud.md +31 -2
- package/agents/starter-lite.md +8 -0
- package/agents/starter.md +35 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,25 @@
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## ð Table of Contents
|
|
19
|
+
|
|
20
|
+
- [ðĄ What is Specialist Agent?](#-what-is-specialist-agent)
|
|
21
|
+
- [ðŠ Token Consumption Notice](#-token-consumption-notice)
|
|
22
|
+
- [ð Quick Start](#-quick-start)
|
|
23
|
+
- [ðĪ Meet Your AI Team](#-meet-your-ai-team)
|
|
24
|
+
- [⥠Skills](#-skills)
|
|
25
|
+
- [ðïļ Architecture](#ïļ-architecture)
|
|
26
|
+
- [ðŠķ Lite Mode](#-lite-mode--lower-token-usage)
|
|
27
|
+
- [ð Project Structure](#-project-structure)
|
|
28
|
+
- [ð Optional: Context7 MCP](#-optional-context7-mcp)
|
|
29
|
+
- [ð§ Customization](#-customization)
|
|
30
|
+
- [ð Documentation](#-documentation)
|
|
31
|
+
- [ðŦ Contributing](#-contributing)
|
|
32
|
+
- [ð License](#-license)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## ðĄ What is Specialist Agent?
|
|
19
37
|
|
|
20
38
|
Specialist Agent is a collection of **AI agents**, **skills**, and **architectural conventions** for Claude Code. It's not a library â it's a set of markdown instructions that make Claude Code work like a senior developer who knows your codebase.
|
|
21
39
|
|
|
@@ -30,7 +48,7 @@ Specialist Agent is a collection of **AI agents**, **skills**, and **architectur
|
|
|
30
48
|
|
|
31
49
|
---
|
|
32
50
|
|
|
33
|
-
## Token Consumption Notice
|
|
51
|
+
## ðŠ Token Consumption Notice
|
|
34
52
|
|
|
35
53
|
Agents consume tokens proportional to their complexity. Specialist Agent ships with **Lite agents** that use `model: haiku` â significantly cheaper per token.
|
|
36
54
|
|
|
@@ -41,7 +59,7 @@ Agents consume tokens proportional to their complexity. Specialist Agent ships w
|
|
|
41
59
|
|
|
42
60
|
---
|
|
43
61
|
|
|
44
|
-
## Quick Start
|
|
62
|
+
## ð Quick Start
|
|
45
63
|
|
|
46
64
|
**1. Install into your project**
|
|
47
65
|
|
|
@@ -69,7 +87,7 @@ claude
|
|
|
69
87
|
|
|
70
88
|
---
|
|
71
89
|
|
|
72
|
-
## Meet Your AI Team
|
|
90
|
+
## ðĪ Meet Your AI Team
|
|
73
91
|
|
|
74
92
|
### Framework-Agnostic
|
|
75
93
|
|
|
@@ -127,7 +145,7 @@ claude
|
|
|
127
145
|
|
|
128
146
|
---
|
|
129
147
|
|
|
130
|
-
## Skills
|
|
148
|
+
## ⥠Skills
|
|
131
149
|
|
|
132
150
|
Quick shortcuts you invoke with `/skill-name` in Claude Code.
|
|
133
151
|
|
|
@@ -165,7 +183,7 @@ Quick shortcuts you invoke with `/skill-name` in Claude Code.
|
|
|
165
183
|
|
|
166
184
|
---
|
|
167
185
|
|
|
168
|
-
## Architecture
|
|
186
|
+
## ðïļ Architecture
|
|
169
187
|
|
|
170
188
|
All agents enforce the four-layer architecture defined in each pack:
|
|
171
189
|
|
|
@@ -186,7 +204,7 @@ Each pack adapts the orchestration layer:
|
|
|
186
204
|
|
|
187
205
|
---
|
|
188
206
|
|
|
189
|
-
## Lite Mode â Lower Token Usage
|
|
207
|
+
## ðŠķ Lite Mode â Lower Token Usage
|
|
190
208
|
|
|
191
209
|
For cost-conscious usage or simpler tasks:
|
|
192
210
|
|
|
@@ -204,7 +222,7 @@ npx specialist-agent init # select "Lite" mode in wizard
|
|
|
204
222
|
|
|
205
223
|
---
|
|
206
224
|
|
|
207
|
-
## Project Structure
|
|
225
|
+
## ð Project Structure
|
|
208
226
|
|
|
209
227
|
```text
|
|
210
228
|
specialist-agent/
|
|
@@ -230,9 +248,9 @@ specialist-agent/
|
|
|
230
248
|
|
|
231
249
|
---
|
|
232
250
|
|
|
233
|
-
## Optional: Context7 MCP
|
|
251
|
+
## ð Optional: Context7 MCP
|
|
234
252
|
|
|
235
|
-
For
|
|
253
|
+
For up-to-date library documentation when asking Claude about APIs, you can add the [Context7 MCP server](https://github.com/upstash/context7). This benefits you as a developer â agents work fully without it.
|
|
236
254
|
|
|
237
255
|
### Setup
|
|
238
256
|
|
|
@@ -251,7 +269,7 @@ Add to your Claude Code MCP config (`~/.claude/mcp.json`):
|
|
|
251
269
|
|
|
252
270
|
---
|
|
253
271
|
|
|
254
|
-
## Customization
|
|
272
|
+
## ð§ Customization
|
|
255
273
|
|
|
256
274
|
### Add an Agent
|
|
257
275
|
|
|
@@ -315,7 +333,7 @@ Edit `docs/ARCHITECTURE.md` â all agents read this file before acting. Changes
|
|
|
315
333
|
|
|
316
334
|
---
|
|
317
335
|
|
|
318
|
-
## Documentation
|
|
336
|
+
## ð Documentation
|
|
319
337
|
|
|
320
338
|
Full docs are available via VitePress:
|
|
321
339
|
|
|
@@ -333,7 +351,7 @@ npm install && npm run docs:dev
|
|
|
333
351
|
|
|
334
352
|
---
|
|
335
353
|
|
|
336
|
-
## Contributing
|
|
354
|
+
## ðŦ Contributing
|
|
337
355
|
|
|
338
356
|
Contributions are welcome!
|
|
339
357
|
|
|
@@ -351,7 +369,7 @@ git push origin feature/my-feature
|
|
|
351
369
|
|
|
352
370
|
---
|
|
353
371
|
|
|
354
|
-
## License
|
|
372
|
+
## ð License
|
|
355
373
|
|
|
356
374
|
MIT â Use freely. See [LICENSE](LICENSE).
|
|
357
375
|
|
package/agents/cloud-lite.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cloud
|
|
3
|
-
description: "MUST BE USED when designing cloud architecture, configuring AWS/GCP/Azure services, writing Infrastructure as Code, setting up serverless functions, or configuring containers and CI/CD pipelines."
|
|
3
|
+
description: "MUST BE USED when designing cloud architecture, configuring AWS/GCP/Azure/Azion services, writing Infrastructure as Code, setting up serverless or edge functions, or configuring containers and CI/CD pipelines."
|
|
4
4
|
model: haiku
|
|
5
5
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
6
6
|
---
|
|
@@ -13,6 +13,7 @@ Design and implement cloud infrastructure for scalability, security, and cost ef
|
|
|
13
13
|
## Scope Detection
|
|
14
14
|
- **Infrastructure**: cloud resources, IaC, architecture â Infrastructure mode
|
|
15
15
|
- **Serverless**: Lambda/Cloud Functions/Azure Functions â Serverless mode
|
|
16
|
+
- **Edge**: edge deployment, Azion, edge functions, CDN config â Edge mode
|
|
16
17
|
- **CI/CD**: deployment pipelines â Pipeline mode
|
|
17
18
|
|
|
18
19
|
## Infrastructure Mode
|
|
@@ -28,6 +29,13 @@ Design and implement cloud infrastructure for scalability, security, and cost ef
|
|
|
28
29
|
3. Configure: API Gateway, event sources, IAM, memory/timeout
|
|
29
30
|
4. Set up local dev and integration tests
|
|
30
31
|
|
|
32
|
+
## Edge Mode
|
|
33
|
+
1. Ask: edge provider (Azion / Cloudflare Workers / Vercel Edge / other). **ALWAYS ask â never assume.**
|
|
34
|
+
2. If **Azion** with MCP available: use `search_azion_code_samples` for framework config, `create_rules_engine` for cache/routing rules, `search_azion_terraform` for IaC, `deploy_azion_static_site` for static deploys
|
|
35
|
+
3. If **Azion** without MCP: generate `azion.config.js` + edge function entry point + `azion deploy` instructions
|
|
36
|
+
4. If **other provider**: standard edge/serverless deployment for that provider
|
|
37
|
+
5. Validate generated configs
|
|
38
|
+
|
|
31
39
|
## Pipeline Mode
|
|
32
40
|
1. Ask: platform (GitHub Actions/GitLab CI), target, branch strategy
|
|
33
41
|
2. Create: build â test â security scan â deploy stages
|
package/agents/cloud.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cloud
|
|
3
|
-
description: "MUST BE USED when designing cloud architecture, configuring AWS/GCP/Azure services, writing Infrastructure as Code, setting up serverless functions, or configuring containers and CI/CD pipelines."
|
|
3
|
+
description: "MUST BE USED when designing cloud architecture, configuring AWS/GCP/Azure/Azion services, writing Infrastructure as Code, setting up serverless or edge functions, or configuring containers and CI/CD pipelines."
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -15,6 +15,7 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for existing inf
|
|
|
15
15
|
## Scope Detection
|
|
16
16
|
- **Infrastructure**: user wants cloud resources, IaC, or architecture design â Infrastructure mode
|
|
17
17
|
- **Serverless**: user wants Lambda/Cloud Functions/Azure Functions â Serverless mode
|
|
18
|
+
- **Edge**: user wants edge deployment, Azion, edge functions, CDN/caching config â Edge mode
|
|
18
19
|
- **CI/CD**: user wants deployment pipelines, GitHub Actions, GitLab CI â Pipeline mode
|
|
19
20
|
|
|
20
21
|
---
|
|
@@ -81,6 +82,34 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for existing inf
|
|
|
81
82
|
- Implement structured logging (JSON) for observability
|
|
82
83
|
- Use dead letter queues for async event processing
|
|
83
84
|
|
|
85
|
+
## Edge Mode
|
|
86
|
+
|
|
87
|
+
### Workflow
|
|
88
|
+
1. Ask: edge provider (**Azion** / Cloudflare Workers / Vercel Edge / other). **ALWAYS ask â never assume a provider.**
|
|
89
|
+
2. Analyze project: detect framework (Vue/React/Next.js/SvelteKit), build output (static/SSR), existing configs
|
|
90
|
+
3. If **Azion** selected and **Azion MCP is available** (check for `search_azion_docs_and_site` tool):
|
|
91
|
+
- Use `search_azion_docs_and_site` for recommended architecture for the project type
|
|
92
|
+
- Use `search_azion_code_samples` for framework-specific edge function examples
|
|
93
|
+
- Use `create_rules_engine` to generate cache rules, routing behaviors, and redirect configs
|
|
94
|
+
- Use `search_azion_terraform` if IaC is required â generate full Terraform provider config
|
|
95
|
+
- Use `create_graphql_query` to generate observability queries for Real-Time Events and Analytics
|
|
96
|
+
- For **static sites**: use `deploy_azion_static_site` to deploy directly
|
|
97
|
+
- For **dynamic apps** (SSR/edge functions): generate `azion.config.js` + provide `azion deploy` command
|
|
98
|
+
4. If **Azion** selected **without MCP**:
|
|
99
|
+
- Generate `azion.config.js` with correct bundler config for the framework
|
|
100
|
+
- Generate edge function entry point if needed
|
|
101
|
+
- Provide `azion init` + `azion deploy` instructions
|
|
102
|
+
5. If **other provider** selected: follow standard serverless/edge deployment for that provider
|
|
103
|
+
6. Validate: check generated configs, verify build output compatibility
|
|
104
|
+
|
|
105
|
+
### Rules
|
|
106
|
+
- ALWAYS ask the user which edge provider they want â never default to one
|
|
107
|
+
- Edge functions MUST be stateless
|
|
108
|
+
- Optimize for cold start: minimal dependencies, lazy initialization
|
|
109
|
+
- Configure cache rules explicitly â don't rely on defaults
|
|
110
|
+
- Use environment variables for secrets, never hardcode
|
|
111
|
+
- For Azion: generate `azion.config.js` at project root
|
|
112
|
+
|
|
84
113
|
## Pipeline Mode
|
|
85
114
|
|
|
86
115
|
### Workflow
|
|
@@ -126,7 +155,7 @@ Read `docs/ARCHITECTURE.md` if it exists, then scan the project for existing inf
|
|
|
126
155
|
After completing work in any mode, provide:
|
|
127
156
|
|
|
128
157
|
```markdown
|
|
129
|
-
## Cloud â [Mode: Infrastructure | Serverless | Pipeline]
|
|
158
|
+
## Cloud â [Mode: Infrastructure | Serverless | Edge | Pipeline]
|
|
130
159
|
### What was done
|
|
131
160
|
- [Resources provisioned, configs created or modified]
|
|
132
161
|
### Architecture decisions
|
package/agents/starter-lite.md
CHANGED
|
@@ -40,6 +40,14 @@ Create new projects from scratch. Ask the user about their stack, then scaffold
|
|
|
40
40
|
- `.gitignore`, README.md, git init + initial commit
|
|
41
41
|
- Validate: npm install, dev server starts, tsc passes
|
|
42
42
|
|
|
43
|
+
### 5. Deploy (Optional)
|
|
44
|
+
|
|
45
|
+
Ask: **"Do you want to deploy this project?"** â No / Azion Edge / Vercel / Netlify / Other. **ALWAYS ask â never assume.**
|
|
46
|
+
|
|
47
|
+
- **Azion Edge** (if Azion MCP available): use `search_azion_code_samples` for framework config, generate `azion.config.js`, deploy static sites via `deploy_azion_static_site`, or provide `azion deploy` command for dynamic apps
|
|
48
|
+
- **Azion Edge** (without MCP): generate `azion.config.js` manually + provide deploy instructions
|
|
49
|
+
- **Vercel/Netlify/Other**: generate the appropriate config file (`vercel.json`, `netlify.toml`, etc.)
|
|
50
|
+
|
|
43
51
|
## Rules
|
|
44
52
|
- ALWAYS ask requirements first
|
|
45
53
|
- Latest stable versions
|
package/agents/starter.md
CHANGED
|
@@ -187,6 +187,39 @@ git commit -m "feat: initial project setup"
|
|
|
187
187
|
- `npm run test` passes (if testing configured)
|
|
188
188
|
- Specialist Agent agents are accessible via `/agents`
|
|
189
189
|
|
|
190
|
+
### 10. Deploy (Optional)
|
|
191
|
+
|
|
192
|
+
Ask the user: **"Do you want to deploy this project?"**
|
|
193
|
+
|
|
194
|
+
Options:
|
|
195
|
+
- **No** â skip deployment
|
|
196
|
+
- **Azion Edge** â edge deployment with global CDN
|
|
197
|
+
- **Vercel** â serverless deployment
|
|
198
|
+
- **Netlify** â JAMstack deployment
|
|
199
|
+
- **Other** â ask which provider
|
|
200
|
+
|
|
201
|
+
**ALWAYS ask â never assume a deploy provider.**
|
|
202
|
+
|
|
203
|
+
#### If Azion Edge selected:
|
|
204
|
+
|
|
205
|
+
If the **Azion MCP** is available (check for `search_azion_code_samples` tool):
|
|
206
|
+
1. Use `search_azion_code_samples` to find the correct bundler config for the chosen framework (Vue/React/Svelte/Next.js)
|
|
207
|
+
2. Use `search_azion_cli_commands` to get the correct `azion init` template and deploy syntax
|
|
208
|
+
3. Generate `azion.config.js` with the correct bundler and entry point
|
|
209
|
+
4. For **static sites** (SPA/SSG): use `deploy_azion_static_site` to deploy directly
|
|
210
|
+
5. For **dynamic apps** (SSR/edge functions): generate config + provide `azion deploy` command for the user to run
|
|
211
|
+
|
|
212
|
+
If the Azion MCP is **not available**:
|
|
213
|
+
- Generate `azion.config.js` based on best practices for the framework
|
|
214
|
+
- Provide manual `azion deploy` instructions
|
|
215
|
+
|
|
216
|
+
#### If other provider selected:
|
|
217
|
+
|
|
218
|
+
Generate the appropriate config file:
|
|
219
|
+
- Vercel: `vercel.json`
|
|
220
|
+
- Netlify: `netlify.toml`
|
|
221
|
+
- Other: ask and generate accordingly
|
|
222
|
+
|
|
190
223
|
## Rules
|
|
191
224
|
|
|
192
225
|
- ALWAYS ask requirements before scaffolding â don't assume the stack
|
|
@@ -222,5 +255,6 @@ After scaffolding, provide:
|
|
|
222
255
|
## Handoff Protocol
|
|
223
256
|
|
|
224
257
|
- Feature development after scaffold â suggest @builder
|
|
225
|
-
- Deployment and CI/CD setup â suggest @devops
|
|
258
|
+
- Deployment and CI/CD setup â suggest @devops or @cloud
|
|
226
259
|
- Auth implementation â suggest @security
|
|
260
|
+
- Edge infrastructure or advanced deployment â suggest @cloud (Edge Mode)
|