specialist-agent 1.1.0 → 1.2.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/README.md +1 -1
- 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
|
@@ -232,7 +232,7 @@ specialist-agent/
|
|
|
232
232
|
|
|
233
233
|
## Optional: Context7 MCP
|
|
234
234
|
|
|
235
|
-
For
|
|
235
|
+
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
236
|
|
|
237
237
|
### Setup
|
|
238
238
|
|
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)
|