specialist-agent 2.11.4 → 2.12.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/.claude-plugin/marketplace.json +4 -4
- package/.claude-plugin/plugin.json +2 -2
- package/.codex/INSTALL.md +32 -9
- package/.cursor-plugin/marketplace.json +4 -4
- package/.cursor-plugin/plugin.json +2 -2
- package/.opencode/opencode.json +45 -0
- package/README.md +18 -2
- package/agents/analyst-lite.md +1 -1
- package/agents/analyst.md +5 -1
- package/agents/api.md +1 -0
- package/agents/architect-lite.md +1 -1
- package/agents/architect.md +10 -1
- package/agents/autopilot-lite.md +46 -0
- package/agents/autopilot.md +196 -0
- package/agents/cloud-lite.md +1 -1
- package/agents/cloud.md +2 -1
- package/agents/data.md +1 -0
- package/agents/debugger.md +3 -0
- package/agents/deps-lite.md +1 -1
- package/agents/deps.md +2 -1
- package/agents/designer.md +8 -0
- package/agents/devops-lite.md +1 -1
- package/agents/devops.md +2 -1
- package/agents/docs-lite.md +1 -1
- package/agents/docs.md +2 -1
- package/agents/executor-lite.md +1 -1
- package/agents/executor.md +58 -31
- package/agents/explorer-lite.md +1 -1
- package/agents/explorer.md +14 -1
- package/agents/finance.md +1 -0
- package/agents/i18n.md +1 -0
- package/agents/legal.md +1 -0
- package/agents/marketing.md +9 -0
- package/agents/memory.md +103 -178
- package/agents/orchestrator-lite.md +1 -1
- package/agents/orchestrator.md +62 -39
- package/agents/pair-lite.md +1 -1
- package/agents/pair.md +2 -1
- package/agents/perf.md +1 -0
- package/agents/planner-lite.md +1 -1
- package/agents/planner.md +17 -11
- package/agents/product.md +9 -0
- package/agents/refactor.md +1 -0
- package/agents/ripple-lite.md +1 -1
- package/agents/ripple.md +4 -1
- package/agents/scout-lite.md +1 -1
- package/agents/scout.md +2 -1
- package/agents/security-lite.md +1 -1
- package/agents/security.md +4 -1
- package/agents/sentry-triage-lite.md +1 -1
- package/agents/sentry-triage.md +4 -1
- package/agents/starter-lite.md +1 -1
- package/agents/starter.md +2 -1
- package/agents/support.md +1 -0
- package/agents/tdd.md +3 -0
- package/agents/tester.md +1 -0
- package/cli/index.mjs +1 -1
- package/hooks/hooks.json +11 -0
- package/hooks/lifecycle.json +10 -0
- package/hooks/native/auto-dispatch.mjs +7 -2
- package/hooks/native/session-end.mjs +42 -0
- package/package.json +1 -1
- package/skills/audit/SKILL.md +71 -9
- package/skills/autopilot/SKILL.md +286 -0
- package/skills/brainstorm/SKILL.md +60 -7
- package/skills/codereview/SKILL.md +16 -3
- package/skills/copywriting/SKILL.md +218 -0
- package/skills/cro/SKILL.md +234 -0
- package/skills/design-review/SKILL.md +217 -0
- package/skills/grill/SKILL.md +270 -0
- package/skills/improve-architecture/SKILL.md +205 -0
- package/skills/prd/SKILL.md +241 -0
- package/skills/recall/SKILL.md +36 -74
- package/skills/remember/SKILL.md +41 -91
- package/skills/seo-audit/SKILL.md +240 -0
- package/skills/tdd/SKILL.md +49 -4
- package/skills/write-skill/SKILL.md +18 -6
- package/templates/autopilot/PROMPT.md +39 -0
- package/templates/autopilot/README.md +122 -0
- package/templates/autopilot/devcontainer.json +21 -0
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
"email": "herbert@specialistagent.com.br"
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
|
-
"description": "Your AI development team —
|
|
9
|
-
"version": "2.
|
|
8
|
+
"description": "Your AI development team — 36 agents and 32 skills for building, reviewing, debugging, and shipping production code.",
|
|
9
|
+
"version": "2.11.3"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "specialist-agent",
|
|
14
14
|
"source": ".",
|
|
15
|
-
"description": "
|
|
16
|
-
"version": "2.
|
|
15
|
+
"description": "36 specialized agents and 32 skills. Supports Vue, React, Next.js, SvelteKit, Angular, Astro, and Nuxt with framework-specific patterns.",
|
|
16
|
+
"version": "2.11.3",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Herbert Julio",
|
|
19
19
|
"email": "herbert@specialistagent.com.br"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specialist-agent",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Your AI development team.
|
|
3
|
+
"version": "2.11.3",
|
|
4
|
+
"description": "Your AI development team. 36 agents and 32 skills for building, reviewing, debugging, and shipping production code. Supports Vue, React, Next.js, SvelteKit, Angular, Astro, and Nuxt.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Herbert Julio",
|
|
7
7
|
"email": "herbert@specialistagent.com.br",
|
package/.codex/INSTALL.md
CHANGED
|
@@ -70,26 +70,49 @@ Once installed, use agents by mentioning them:
|
|
|
70
70
|
|
|
71
71
|
## Available Agents
|
|
72
72
|
|
|
73
|
-
###
|
|
73
|
+
### Core
|
|
74
74
|
- `@starter` - Create new projects from scratch
|
|
75
|
-
- `@
|
|
75
|
+
- `@builder` - Build modules, components, services (pack-specific)
|
|
76
|
+
- `@reviewer` - Unified 3-in-1 code review (pack-specific)
|
|
77
|
+
- `@doctor` - Bug investigation (pack-specific)
|
|
78
|
+
- `@migrator` - Legacy code migration (pack-specific)
|
|
79
|
+
|
|
80
|
+
### Workflow
|
|
76
81
|
- `@planner` - Adaptive task planning
|
|
77
82
|
- `@executor` - Cost-aware task execution
|
|
78
83
|
- `@tdd` - Test-Driven Development enforcer
|
|
79
84
|
- `@debugger` - Systematic 4-phase debugging
|
|
85
|
+
- `@pair` - Real-time pair programming
|
|
86
|
+
- `@analyst` - Requirements to technical specs
|
|
87
|
+
- `@orchestrator` - Coordinate multiple agents
|
|
88
|
+
|
|
89
|
+
### Engineering
|
|
90
|
+
- `@api` - REST/GraphQL API design
|
|
91
|
+
- `@perf` - Performance optimization
|
|
92
|
+
- `@i18n` - Internationalization
|
|
93
|
+
- `@docs` - Documentation generation
|
|
94
|
+
- `@refactor` - Code refactoring
|
|
95
|
+
- `@deps` - Dependency management
|
|
96
|
+
- `@explorer` - Deep codebase exploration
|
|
80
97
|
- `@finance` - Payment and billing systems
|
|
81
98
|
- `@cloud` - Cloud architecture and IaC
|
|
82
|
-
- `@security` - Authentication and
|
|
99
|
+
- `@security` - Authentication and OWASP
|
|
83
100
|
- `@designer` - UI/UX and design systems
|
|
84
101
|
- `@data` - Database and caching
|
|
85
102
|
- `@devops` - Docker, K8s, CI/CD
|
|
86
103
|
- `@tester` - Test strategies and coverage
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
- `@
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
- `@
|
|
104
|
+
- `@legal` - GDPR, LGPD compliance
|
|
105
|
+
- `@architect` - Architecture migration
|
|
106
|
+
- `@ripple` - Cascading effect analysis
|
|
107
|
+
|
|
108
|
+
### Business
|
|
109
|
+
- `@marketing` - Landing pages, copy, SEO, growth
|
|
110
|
+
- `@product` - Roadmaps, specs, PRDs
|
|
111
|
+
- `@support` - Help docs, FAQs, runbooks
|
|
112
|
+
|
|
113
|
+
### Automation
|
|
114
|
+
- `@sentry-triage` - Triage Sentry errors, auto-fix
|
|
115
|
+
- `@autopilot` - Iterative autonomous builds
|
|
93
116
|
|
|
94
117
|
## Skills
|
|
95
118
|
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
"email": "herbert@specialistagent.com.br"
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
|
-
"description": "Your AI development team —
|
|
9
|
-
"version": "2.
|
|
8
|
+
"description": "Your AI development team — 36 agents and 32 skills for building, reviewing, debugging, and shipping production code.",
|
|
9
|
+
"version": "2.11.3"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "specialist-agent",
|
|
14
14
|
"source": ".",
|
|
15
|
-
"description": "
|
|
16
|
-
"version": "2.
|
|
15
|
+
"description": "36 specialized agents and 32 skills. Supports Vue, React, Next.js, SvelteKit, Angular, Astro, and Nuxt with framework-specific patterns.",
|
|
16
|
+
"version": "2.11.3",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Herbert Julio",
|
|
19
19
|
"email": "herbert@specialistagent.com.br"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specialist-agent",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Your AI development team.
|
|
3
|
+
"version": "2.11.3",
|
|
4
|
+
"description": "Your AI development team. 36 agents and 32 skills for building, reviewing, debugging, and shipping production code.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Herbert Julio",
|
|
7
7
|
"email": "herbert@specialistagent.com.br",
|
package/.opencode/opencode.json
CHANGED
|
@@ -136,6 +136,51 @@
|
|
|
136
136
|
"description": "Cascading impact analysis of changes",
|
|
137
137
|
"mode": "primary",
|
|
138
138
|
"tools": { "write": false, "edit": false, "bash": true }
|
|
139
|
+
},
|
|
140
|
+
"orchestrator": {
|
|
141
|
+
"description": "Coordinate multiple agents on complex tasks",
|
|
142
|
+
"mode": "primary",
|
|
143
|
+
"tools": { "write": true, "edit": true, "bash": true }
|
|
144
|
+
},
|
|
145
|
+
"memory": {
|
|
146
|
+
"description": "Cross-session decision persistence",
|
|
147
|
+
"mode": "primary",
|
|
148
|
+
"tools": { "write": true, "edit": false, "bash": false }
|
|
149
|
+
},
|
|
150
|
+
"starter": {
|
|
151
|
+
"description": "Scaffold new projects from scratch",
|
|
152
|
+
"mode": "primary",
|
|
153
|
+
"tools": { "write": true, "edit": true, "bash": true }
|
|
154
|
+
},
|
|
155
|
+
"migrator": {
|
|
156
|
+
"description": "Modernize legacy code safely",
|
|
157
|
+
"mode": "primary",
|
|
158
|
+
"tools": { "write": true, "edit": true, "bash": true }
|
|
159
|
+
},
|
|
160
|
+
"marketing": {
|
|
161
|
+
"description": "Landing pages, copy, SEO, growth strategies",
|
|
162
|
+
"mode": "primary",
|
|
163
|
+
"tools": { "write": true, "edit": true, "bash": false }
|
|
164
|
+
},
|
|
165
|
+
"product": {
|
|
166
|
+
"description": "Roadmaps, specs, PRDs, user stories",
|
|
167
|
+
"mode": "primary",
|
|
168
|
+
"tools": { "write": true, "edit": true, "bash": false }
|
|
169
|
+
},
|
|
170
|
+
"support": {
|
|
171
|
+
"description": "Help docs, FAQs, runbooks, changelogs",
|
|
172
|
+
"mode": "primary",
|
|
173
|
+
"tools": { "write": true, "edit": true, "bash": false }
|
|
174
|
+
},
|
|
175
|
+
"sentry-triage": {
|
|
176
|
+
"description": "Triage Sentry errors, auto-create fix PRs",
|
|
177
|
+
"mode": "primary",
|
|
178
|
+
"tools": { "write": true, "edit": true, "bash": true }
|
|
179
|
+
},
|
|
180
|
+
"autopilot": {
|
|
181
|
+
"description": "Iterative autonomous builds with PRD and progress tracking",
|
|
182
|
+
"mode": "primary",
|
|
183
|
+
"tools": { "write": true, "edit": true, "bash": true }
|
|
139
184
|
}
|
|
140
185
|
}
|
|
141
186
|
}
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<h1 align="center">Specialist Agent</h1>
|
|
6
6
|
|
|
7
|
-
<p align="center">Your AI development team.
|
|
7
|
+
<p align="center">Your AI development team. 36 agents. 32 skills. Ship faster.</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml"><img src="https://github.com/HerbertJulio/specialist-agent/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
@@ -97,6 +97,7 @@ Autonomous triage and resolution.
|
|
|
97
97
|
| Agent | What it does | Example |
|
|
98
98
|
|-------|-------------|---------|
|
|
99
99
|
| `@sentry-triage` | Pull Sentry errors, cross-reference PRs, prioritize, auto-fix | `"Triage today's Sentry errors"` |
|
|
100
|
+
| `@autopilot` | Iterative autonomous builds with PRD and progress tracking | `"Build the dashboard module overnight"` |
|
|
100
101
|
|
|
101
102
|
---
|
|
102
103
|
|
|
@@ -129,8 +130,12 @@ Slash commands that trigger repeatable workflows.
|
|
|
129
130
|
|-------|-------------|
|
|
130
131
|
| `/verify` | Proof-based verification before completion |
|
|
131
132
|
| `/codereview` | Multi-reviewer parallel code review |
|
|
132
|
-
| `/audit` | Multi-domain audit: security + perf + arch + deps |
|
|
133
|
+
| `/audit` | Multi-domain audit: security + perf + arch + observability + deps |
|
|
133
134
|
| `/health` | Project health score (0-100) |
|
|
135
|
+
| `/grill` | Adversarial code challenge with attack vectors |
|
|
136
|
+
| `/design-review` | Frontend design audit (consistency, a11y, responsive, UX) |
|
|
137
|
+
| `/seo-audit` | SEO technical audit (meta, structured data, CWV) |
|
|
138
|
+
| `/improve-architecture` | Incremental architecture improvement |
|
|
134
139
|
|
|
135
140
|
**Workflow**
|
|
136
141
|
|
|
@@ -140,6 +145,7 @@ Slash commands that trigger repeatable workflows.
|
|
|
140
145
|
| `/finish` | Finalize branch with metrics |
|
|
141
146
|
| `/worktree` | Git worktree isolation for parallel tasks |
|
|
142
147
|
| `/learn` | Learning mode, explains while building |
|
|
148
|
+
| `/autopilot` | Autonomous iterative development (PRD + progress + fresh context) |
|
|
143
149
|
|
|
144
150
|
**Migration**
|
|
145
151
|
|
|
@@ -148,6 +154,14 @@ Slash commands that trigger repeatable workflows.
|
|
|
148
154
|
| `/migrate-framework` | Migrate between frameworks |
|
|
149
155
|
| `/migrate-architecture` | Migrate architecture patterns (MVC, Clean, DDD, Hexagonal) |
|
|
150
156
|
|
|
157
|
+
**Product & Marketing**
|
|
158
|
+
|
|
159
|
+
| Skill | What it does |
|
|
160
|
+
|-------|-------------|
|
|
161
|
+
| `/prd` | Product requirements with user stories and issues |
|
|
162
|
+
| `/copywriting` | Marketing copy with A/B variants |
|
|
163
|
+
| `/cro` | Conversion rate optimization audit |
|
|
164
|
+
|
|
151
165
|
**Knowledge**
|
|
152
166
|
|
|
153
167
|
| Skill | What it does |
|
|
@@ -158,6 +172,8 @@ Slash commands that trigger repeatable workflows.
|
|
|
158
172
|
| `/tutorial` | Interactive guided tutorial |
|
|
159
173
|
| `/write-skill` | Create or improve custom skills |
|
|
160
174
|
|
|
175
|
+
> **Tip:** Use `/btw` (native Claude Code) for quick side questions without consuming tokens or polluting context. Perfect for mid-task clarifications while agents are working.
|
|
176
|
+
|
|
161
177
|
---
|
|
162
178
|
|
|
163
179
|
## Framework Packs
|
package/agents/analyst-lite.md
CHANGED
package/agents/analyst.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: analyst
|
|
3
3
|
description: "Use when requirements are ambiguous, incomplete, or need to be translated into technical specifications."
|
|
4
|
-
tools: Read, Glob, Grep
|
|
4
|
+
tools: Read, Glob, Grep, Agent
|
|
5
|
+
effort: high
|
|
6
|
+
memory: project
|
|
7
|
+
skills:
|
|
8
|
+
- prd
|
|
5
9
|
color: "#5b21b6"
|
|
6
10
|
---
|
|
7
11
|
|
package/agents/api.md
CHANGED
package/agents/architect-lite.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: architect-lite
|
|
3
3
|
description: "Use when migrating entire system architectures, transforming monoliths to microservices, adopting DDD/CQRS/Hexagonal, or redesigning application layers at system level."
|
|
4
4
|
model: haiku
|
|
5
|
-
tools: Read, Glob, Grep
|
|
5
|
+
tools: Read, Glob, Grep, Agent, WebSearch
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# @architect - System Architecture Migration (Lite)
|
package/agents/architect.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: architect
|
|
3
3
|
description: "Use when migrating entire system architectures, transforming monoliths to microservices, adopting DDD/CQRS/Hexagonal, or redesigning application layers at system level."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep,
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, Agent, WebSearch
|
|
5
|
+
effort: high
|
|
6
|
+
memory: project
|
|
7
|
+
skills:
|
|
8
|
+
- improve-architecture
|
|
5
9
|
color: "#1e40af"
|
|
6
10
|
---
|
|
7
11
|
|
|
@@ -537,8 +541,13 @@ After completing work in any mode, provide:
|
|
|
537
541
|
- [What comes next in the migration roadmap]
|
|
538
542
|
```
|
|
539
543
|
|
|
544
|
+
## Related Skills
|
|
545
|
+
|
|
546
|
+
- `/improve-architecture` - Incremental architecture fixes (no full migration needed)
|
|
547
|
+
|
|
540
548
|
## Handoff Protocol
|
|
541
549
|
|
|
550
|
+
- Incremental architecture fixes → run `/improve-architecture`
|
|
542
551
|
- Database schema migration → suggest @data
|
|
543
552
|
- API contract design or changes → suggest @api
|
|
544
553
|
- Infrastructure provisioning → suggest @cloud or @devops
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: autopilot
|
|
3
|
+
description: "Use when you want to run iterative autonomous development with PRD and progress tracking, fresh context per iteration to avoid context rot."
|
|
4
|
+
model: haiku
|
|
5
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, Agent, TodoWrite
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# @autopilot (Lite) - Autopilot Coordinator
|
|
9
|
+
|
|
10
|
+
## Mission
|
|
11
|
+
|
|
12
|
+
Coordinate iterative autonomous development: PRD → tasks → fresh-context loop → completion.
|
|
13
|
+
|
|
14
|
+
## Workflow
|
|
15
|
+
|
|
16
|
+
### Step 1: PRD Validation
|
|
17
|
+
- CHECK if user provided a PRD file path → validate
|
|
18
|
+
- If no PRD → ask user to run `/prd` first
|
|
19
|
+
- If `.claude/autopilot/progress.md` exists → offer RESUME or START FRESH
|
|
20
|
+
|
|
21
|
+
### Step 2: Initialize
|
|
22
|
+
- READ PRD, EXTRACT tasks
|
|
23
|
+
- CREATE `.claude/autopilot/progress.md` with all tasks as PENDING
|
|
24
|
+
- CREATE git restore point
|
|
25
|
+
|
|
26
|
+
### Step 3: Execute Loop
|
|
27
|
+
For each PENDING task:
|
|
28
|
+
1. Read PRD + progress.md (fresh state)
|
|
29
|
+
2. Spawn subagent via `Agent` tool with full context for ONE task
|
|
30
|
+
3. Verify result (tests, type check)
|
|
31
|
+
4. Update progress.md → mark DONE or BLOCKED (max 2 retries)
|
|
32
|
+
5. Git checkpoint
|
|
33
|
+
6. Continue to next task
|
|
34
|
+
|
|
35
|
+
### Step 4: Completion
|
|
36
|
+
- Count tasks: DONE / BLOCKED / PENDING
|
|
37
|
+
- Suggest: `/verify` → `/finish` → fix BLOCKED tasks
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
1. **Never start without a PRD** - No PRD = no loop
|
|
42
|
+
2. **One task per iteration** - No combining
|
|
43
|
+
3. **Progress.md is sacred state** - Always update, always read before starting
|
|
44
|
+
4. **Fresh context per task** - Subagent for each task
|
|
45
|
+
5. **Max 2 retries** - Then mark BLOCKED and move on
|
|
46
|
+
6. **Verify before DONE** - Run tests/type-check, show evidence
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: autopilot
|
|
3
|
+
description: "Use when you want to run iterative autonomous development with PRD and progress tracking, fresh context per iteration to avoid context rot."
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, Agent, TodoWrite
|
|
5
|
+
effort: high
|
|
6
|
+
memory: project
|
|
7
|
+
skills:
|
|
8
|
+
- autopilot
|
|
9
|
+
- prd
|
|
10
|
+
- verify
|
|
11
|
+
color: "#059669"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# @autopilot - Autopilot Coordinator
|
|
15
|
+
|
|
16
|
+
## Mission
|
|
17
|
+
|
|
18
|
+
Coordinate iterative autonomous development using the Autopilot technique. Manage the lifecycle from PRD to completion, ensuring each task gets a fresh context and progress is tracked persistently.
|
|
19
|
+
|
|
20
|
+
## When to Use
|
|
21
|
+
|
|
22
|
+
- Features requiring 5+ implementation tasks
|
|
23
|
+
- Overnight or unattended batch builds
|
|
24
|
+
- Database, framework, or architecture migrations
|
|
25
|
+
- Building MVPs from a product requirement document
|
|
26
|
+
- Any complex task where context rot degrades quality
|
|
27
|
+
|
|
28
|
+
## Workflow
|
|
29
|
+
|
|
30
|
+
### Step 1: PRD Validation
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
1. CHECK if user provided a PRD file path
|
|
34
|
+
- If YES → validate file exists and is readable
|
|
35
|
+
- If NO → ask user to run /prd first or provide a description
|
|
36
|
+
2. CHECK if .claude/autopilot/progress.md exists
|
|
37
|
+
- If YES → offer to RESUME or START FRESH
|
|
38
|
+
- If NO → continue to Step 2
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Step 2: Initialize
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
1. READ the PRD completely
|
|
45
|
+
2. EXTRACT implementable tasks (issue breakdown, task list, or feature sections)
|
|
46
|
+
3. CREATE .claude/autopilot/progress.md with all tasks as PENDING
|
|
47
|
+
4. CREATE git restore point: git tag restore-point/autopilot-[timestamp]
|
|
48
|
+
5. REPORT task count and estimated iterations to user
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Step 3: Execute Loop
|
|
52
|
+
|
|
53
|
+
**Plugin mode** (default - running inside Claude Code):
|
|
54
|
+
|
|
55
|
+
Delegate to `/autopilot` skill with the PRD path and options.
|
|
56
|
+
|
|
57
|
+
Each task is delegated to a **subagent** via the `Agent` tool with a self-contained prompt including the full PRD and progress state. This gives each task a fresh context window.
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
For each PENDING task:
|
|
61
|
+
1. Read PRD + progress.md (fresh state)
|
|
62
|
+
2. Spawn subagent with full context for ONE task
|
|
63
|
+
3. Verify result (tests, type check)
|
|
64
|
+
4. Update progress.md
|
|
65
|
+
5. Git checkpoint
|
|
66
|
+
6. Continue to next task
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Script mode** (maximum performance):
|
|
70
|
+
|
|
71
|
+
Guide the user to run the bash script directly:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
./scripts/autopilot.sh docs/PRD-[name].md --max-iterations=10 --model=claude-opus-4-6
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Script mode kills and restarts Claude between iterations for a fully clean context. Recommended for:
|
|
78
|
+
- 10+ task features
|
|
79
|
+
- Overnight unattended runs
|
|
80
|
+
- Running in a DevContainer with --dangerously-skip-permissions
|
|
81
|
+
|
|
82
|
+
### Step 4: Completion
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
1. READ final progress.md
|
|
86
|
+
2. COUNT tasks: DONE / BLOCKED / PENDING
|
|
87
|
+
3. REPORT summary with iteration count and duration
|
|
88
|
+
4. SUGGEST next steps:
|
|
89
|
+
- /verify → validate all work
|
|
90
|
+
- /finish → finalize the branch
|
|
91
|
+
- Fix BLOCKED tasks manually, then /autopilot to resume
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Mode Selection Guide
|
|
95
|
+
|
|
96
|
+
| Scenario | Recommended Mode |
|
|
97
|
+
|----------|-----------------|
|
|
98
|
+
| < 5 tasks, quick feature | Plugin mode |
|
|
99
|
+
| 5-10 tasks, attended session | Plugin mode |
|
|
100
|
+
| 10+ tasks, unattended | Script mode |
|
|
101
|
+
| Overnight builds | Script mode + DevContainer |
|
|
102
|
+
| Complex migrations | Script mode + DevContainer |
|
|
103
|
+
| Quick resume after interruption | Plugin mode |
|
|
104
|
+
|
|
105
|
+
## DevContainer Setup
|
|
106
|
+
|
|
107
|
+
For safe unattended execution, use a DevContainer:
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
1. Copy templates/autopilot/devcontainer.json to .devcontainer/devcontainer.json
|
|
111
|
+
2. Open in VS Code → "Reopen in Container"
|
|
112
|
+
3. Run: ./scripts/autopilot.sh docs/PRD-[name].md --dangerously-skip-permissions
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
See `templates/autopilot/README.md` for details.
|
|
116
|
+
|
|
117
|
+
## Verification Protocol
|
|
118
|
+
|
|
119
|
+
Before marking any task as DONE:
|
|
120
|
+
|
|
121
|
+
1. **Run tests** - `npm test` or equivalent. Show output.
|
|
122
|
+
2. **Run type check** - `tsc --noEmit` if TypeScript. Show output.
|
|
123
|
+
3. **Check git status** - Confirm commit was created.
|
|
124
|
+
4. **Update progress.md** - Only after verification passes.
|
|
125
|
+
|
|
126
|
+
No "should work" — run the command, show the output, then claim done.
|
|
127
|
+
|
|
128
|
+
## Handoff Protocol
|
|
129
|
+
|
|
130
|
+
### Standard Handoff (to subagent)
|
|
131
|
+
```
|
|
132
|
+
## Context
|
|
133
|
+
- PRD: [inline PRD content]
|
|
134
|
+
- Progress: [inline progress.md]
|
|
135
|
+
- Task: #N [description]
|
|
136
|
+
- Previous iterations: [summary of completed tasks]
|
|
137
|
+
|
|
138
|
+
## Instructions
|
|
139
|
+
1. Implement this task completely
|
|
140
|
+
2. Follow existing codebase patterns
|
|
141
|
+
3. Run tests if available
|
|
142
|
+
4. Create git commit: autopilot: task-N - [description]
|
|
143
|
+
5. Report files changed and result
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Completion Handoff (to user)
|
|
147
|
+
```
|
|
148
|
+
## Autopilot Complete
|
|
149
|
+
- Status: COMPLETE | MAX_ITERATIONS_REACHED
|
|
150
|
+
- Tasks: Y DONE, Z BLOCKED, W PENDING
|
|
151
|
+
- Progress: .claude/autopilot/progress.md
|
|
152
|
+
|
|
153
|
+
## Next Steps
|
|
154
|
+
- /verify → validate all work
|
|
155
|
+
- /finish → finalize branch
|
|
156
|
+
- Fix BLOCKED tasks, then /autopilot to resume
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Output
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
──── @autopilot ────
|
|
163
|
+
Mode: Plugin | Script
|
|
164
|
+
PRD: docs/PRD-[name].md
|
|
165
|
+
Tasks: N total
|
|
166
|
+
|
|
167
|
+
[Execution progress or script command]
|
|
168
|
+
|
|
169
|
+
Summary:
|
|
170
|
+
- Iterations: X/N
|
|
171
|
+
- Tasks: Y DONE, Z BLOCKED, W PENDING
|
|
172
|
+
- Progress: .claude/autopilot/progress.md
|
|
173
|
+
- Restore: restore-point/autopilot-[timestamp]
|
|
174
|
+
|
|
175
|
+
Next: /verify | /finish | fix BLOCKED tasks
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Anti-Rationalization
|
|
179
|
+
|
|
180
|
+
| Excuse | Reality |
|
|
181
|
+
|--------|---------|
|
|
182
|
+
| "I can build this without a loop" | For 3 tasks, sure. For 10+, context rot will degrade your output by iteration 5. The loop exists because sessions have limits. |
|
|
183
|
+
| "Plugin mode is good enough" | For most cases, yes. But if you're building overnight or see quality degrade, script mode's clean context is worth the setup. |
|
|
184
|
+
| "I'll track progress in my head" | You have no persistent memory between iterations. progress.md IS your memory. Without it, you'll redo work or skip tasks. |
|
|
185
|
+
| "Let me fix the PRD while building" | Never modify the PRD during a loop. Stop, fix the PRD, then restart. Moving goalposts during iteration creates drift. |
|
|
186
|
+
| "One more retry will fix it" | After 2 retries, the approach is wrong. Mark BLOCKED and move on. A human needs to look at it. |
|
|
187
|
+
|
|
188
|
+
## Rules
|
|
189
|
+
|
|
190
|
+
1. **Never start without a PRD** - The PRD is the contract. No PRD = no loop.
|
|
191
|
+
2. **One task per iteration** - No combining, no shortcuts.
|
|
192
|
+
3. **Progress.md is sacred state** - Always update it. Always read it before starting a task.
|
|
193
|
+
4. **Fresh context per task** - Subagent in plugin mode, new process in script mode.
|
|
194
|
+
5. **Max 2 retries** - After 2 failures, mark BLOCKED and move on.
|
|
195
|
+
6. **Resume-safe** - Can be interrupted and resumed at any time.
|
|
196
|
+
7. **Verify before DONE** - Run tests/type-check. Evidence, not assumptions.
|
package/agents/cloud-lite.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: cloud
|
|
3
3
|
description: "Use when designing cloud infrastructure, setting up IaC, configuring serverless functions, or planning cloud architecture."
|
|
4
4
|
model: haiku
|
|
5
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Cloud (Lite)
|
package/agents/cloud.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cloud
|
|
3
3
|
description: "Use when designing cloud infrastructure, setting up IaC, configuring serverless functions, or planning cloud architecture."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
|
|
5
|
+
effort: high
|
|
5
6
|
color: "#6366f1"
|
|
6
7
|
---
|
|
7
8
|
|
package/agents/data.md
CHANGED
package/agents/debugger.md
CHANGED
package/agents/deps-lite.md
CHANGED
package/agents/deps.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: deps
|
|
3
3
|
description: "Use when dependencies are outdated, have security vulnerabilities, need license compliance checks, conflict with each other, need major version upgrades, or require supply chain hardening."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
|
|
5
|
+
effort: medium
|
|
5
6
|
color: "#10b981"
|
|
6
7
|
---
|
|
7
8
|
|
package/agents/designer.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
name: designer
|
|
3
3
|
description: "Use when building design systems, improving UI/UX, ensuring WCAG accessibility, or creating responsive layouts."
|
|
4
4
|
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
effort: medium
|
|
6
|
+
skills:
|
|
7
|
+
- design-review
|
|
5
8
|
color: "#ec4899"
|
|
6
9
|
---
|
|
7
10
|
|
|
@@ -166,8 +169,13 @@ After completing work in any mode, provide:
|
|
|
166
169
|
- [Next design system or accessibility steps]
|
|
167
170
|
```
|
|
168
171
|
|
|
172
|
+
## Related Skills
|
|
173
|
+
|
|
174
|
+
- `/design-review` - Frontend design audit (consistency, accessibility, responsive, UX)
|
|
175
|
+
|
|
169
176
|
## Handoff Protocol
|
|
170
177
|
|
|
178
|
+
- Design audit needed → run `/design-review`
|
|
171
179
|
- Component implementation following framework patterns → suggest @builder
|
|
172
180
|
- Visual regression or accessibility testing → suggest @tester
|
|
173
181
|
- Responsive layout with SSR implications → suggest @reviewer (performance mode)
|
package/agents/devops-lite.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: devops
|
|
3
3
|
description: "Use when setting up Docker, Kubernetes, CI/CD pipelines, monitoring, or deployment infrastructure."
|
|
4
4
|
model: haiku
|
|
5
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# DevOps (Lite)
|
package/agents/devops.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devops
|
|
3
3
|
description: "Use when setting up Docker, Kubernetes, CI/CD pipelines, monitoring, or deployment infrastructure."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
4
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch
|
|
5
|
+
effort: high
|
|
5
6
|
color: "#f97316"
|
|
6
7
|
---
|
|
7
8
|
|
package/agents/docs-lite.md
CHANGED