@maestria/opencode 0.3.1 → 0.3.3
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/agents/adventurer.md +4 -3
- package/agents/architect.md +5 -2
- package/agents/builder.md +12 -10
- package/agents/diagnose.md +4 -3
- package/agents/orchestrator.md +36 -24
- package/agents/planner.md +5 -3
- package/agents/reviewer.md +6 -5
- package/agents/writer.md +8 -6
- package/package.json +1 -1
package/agents/adventurer.md
CHANGED
|
@@ -157,11 +157,12 @@ _(none — adventurer is read-only; skills load only on trigger)_
|
|
|
157
157
|
|
|
158
158
|
### Load on trigger
|
|
159
159
|
|
|
160
|
-
- `
|
|
161
|
-
- `opensrc` (`vercel-labs/opensrc`) — load when external library internals affect the answer
|
|
160
|
+
- `agent-browser` (`vercel-labs/agent-browser`) — load when exploring a running web app, visual references/links provided, or Electron apps need inspection (skip if backend-only)
|
|
162
161
|
- `c4-architecture` (`softaworks/agent-toolkit`) — load when output requires a context/container diagram
|
|
163
162
|
- `mermaid-diagrams` (`softaworks/agent-toolkit`) — load when a sequence/flow/ER diagram is requested
|
|
164
|
-
- `
|
|
163
|
+
- `opensrc` (`vercel-labs/opensrc`) — load when external library internals affect the answer
|
|
164
|
+
- `session-handoff` (`softaworks/agent-toolkit`) — load when creating a recon report or handoff document for another agent
|
|
165
|
+
- `zoom-out` (`mattpocock/skills`) — load when scoping crosses >1 module or the area is unfamiliar
|
|
165
166
|
|
|
166
167
|
### Defer to specialist
|
|
167
168
|
|
package/agents/architect.md
CHANGED
|
@@ -104,17 +104,20 @@ After the ADR is written, your handoff should cover:
|
|
|
104
104
|
### Always load
|
|
105
105
|
|
|
106
106
|
- `architecture-decision-records` (`softaworks/agent-toolkit`) — Phase 5 (Document as ADR) requires this skill
|
|
107
|
-
- `improve-codebase-architecture` (`mattpocock/skills`) — architect's home for codebase-deepen opportunities
|
|
108
107
|
- `improve` (`shadcn/improve`) — survey codebase and produce prioritized implementation plans
|
|
109
108
|
|
|
110
109
|
### Load on trigger
|
|
111
110
|
|
|
111
|
+
- `api-design-principles` (`softaworks/agent-toolkit`) — load when designing APIs, choosing REST vs GraphQL, or defining endpoint structures
|
|
112
|
+
- `architecture-decision-framework` (`agustinusnathaniel/skills`) — load when using decision matrices, weighted scoring, or comparing implementation approaches
|
|
113
|
+
- `architecture-decision-records` (`anthropics/skills`) — load when documenting an architecture decision as an ADR
|
|
112
114
|
- `c4-architecture` (`softaworks/agent-toolkit`) — load when output requires a container/component diagram
|
|
113
|
-
- `mermaid-diagrams` (`softaworks/agent-toolkit`) — load when a sequence/flow/ER diagram is needed
|
|
114
115
|
- `draw-io` (`softaworks/agent-toolkit`) — load when user asks for a `.drawio` file
|
|
115
116
|
- `excalidraw` (`softaworks/agent-toolkit`) — load when user asks for an `.excalidraw` file
|
|
116
117
|
- `grill-me` (`mattpocock/skills`) — load before recommending a final option
|
|
117
118
|
- `grill-with-docs` (`mattpocock/skills`) — load when validating against this project's ADR/CONTEXT.md
|
|
119
|
+
- `improve-codebase-architecture` (`mattpocock/skills`) — load when surveying the codebase for architecture improvement opportunities
|
|
120
|
+
- `mermaid-diagrams` (`softaworks/agent-toolkit`) — load when a sequence/flow/ER diagram is needed
|
|
118
121
|
- `zoom-out` (`mattpocock/skills`) — load when scope is unclear
|
|
119
122
|
|
|
120
123
|
### Defer to specialist
|
package/agents/builder.md
CHANGED
|
@@ -81,22 +81,24 @@ This reveals what actually requires heavy tools vs. what's simple.
|
|
|
81
81
|
|
|
82
82
|
### Load on trigger
|
|
83
83
|
|
|
84
|
-
- `
|
|
84
|
+
- `agent-browser` (`vercel-labs/agent-browser`) — load when task involves UI verification, visual references, web app interaction, or Electron app automation (skip if backend-only)
|
|
85
|
+
- `ai-sdk` (`vercel/ai`) — load when task is AI SDK (skip if unrelated)
|
|
86
|
+
- `commit-work` (`softaworks/agent-toolkit`) — load when committing, staging changes, or crafting commit messages
|
|
87
|
+
- `database-schema-designer` (`softaworks/agent-toolkit`) — load when designing database schemas, tables, or data models
|
|
88
|
+
- `frontend-design` (`anthropics/skills`) — load when task is UI/visual
|
|
85
89
|
- `karpathy-guidelines` (`multica-ai/andrej-karpathy-skills`) — load when writing non-trivial logic
|
|
86
90
|
- `naming-analyzer` (`softaworks/agent-toolkit`) — load when introducing new identifiers
|
|
87
|
-
- `
|
|
88
|
-
- `
|
|
89
|
-
- `vercel-composition-patterns` (`vercel-labs/agent-skills`) — load when task involves React composition (skip if non-frontend)
|
|
91
|
+
- `opensrc` (`vercel-labs/opensrc`) — load when library internals are unclear
|
|
92
|
+
- `pnpm` (`antfu/skills`) — load when changing `package.json`/lockfile
|
|
90
93
|
- `react-dev` (`softaworks/agent-toolkit`) — load when task is React (skip if non-frontend)
|
|
91
94
|
- `react-useeffect` (`softaworks/agent-toolkit`) — load when modifying `useEffect` (skip if non-frontend)
|
|
92
|
-
- `ai-sdk` (`vercel/ai`) — load when task is AI SDK (skip if unrelated)
|
|
93
95
|
- `tdd` (`mattpocock/skills`) — load when user explicitly requests TDD
|
|
94
|
-
- `
|
|
95
|
-
- `
|
|
96
|
-
- `
|
|
96
|
+
- `typescript-expert` (`mattpocock/skills`) — load when writing TypeScript types, generics, or complex type utilities
|
|
97
|
+
- `vercel-composition-patterns` (`vercel-labs/agent-skills`) — load when task involves React composition (skip if non-frontend)
|
|
98
|
+
- `vercel-react-best-practices` (`vercel-labs/agent-skills`) — load when task involves React (skip if non-frontend)
|
|
97
99
|
- `vite` (`antfu/skills`) — load when modifying `vite.config` or build
|
|
98
|
-
- `
|
|
99
|
-
- `
|
|
100
|
+
- `vitest` (`antfu/skills`) — load when writing Vitest tests (skip if no tests)
|
|
101
|
+
- `webapp-testing` (`anthropics/skills`) — load when task needs browser-level test
|
|
100
102
|
- `writing-clearly-and-concisely` (`softaworks/agent-toolkit`) — load when writing a commit message
|
|
101
103
|
|
|
102
104
|
### Defer to specialist
|
package/agents/diagnose.md
CHANGED
|
@@ -100,12 +100,13 @@ Confirm it works:
|
|
|
100
100
|
|
|
101
101
|
### Load on trigger
|
|
102
102
|
|
|
103
|
-
- `
|
|
103
|
+
- `agent-browser` (`vercel-labs/agent-browser`) — load when bug involves UI behavior, network requests, performance profiling, or needs visual reproduction (skip if backend-only)
|
|
104
|
+
- `dependency-updater` (`softaworks/agent-toolkit`) — load when investigating dependency-related bugs, lockfile issues, or version conflicts
|
|
105
|
+
- `diagnose` (`mattpocock/skills`) — load when using the diagnose methodology for systematic debugging
|
|
104
106
|
- `karpathy-guidelines` (`multica-ai/andrej-karpathy-skills`) — load when investigating pattern-level bugs
|
|
107
|
+
- `logging-best-practices` (`boristane/agent-skills`) — load when bug surfaces in logs or you need to add logging
|
|
105
108
|
- `opensrc` (`vercel-labs/opensrc`) — load when root cause is in an external library
|
|
106
109
|
- `webapp-testing` (`anthropics/skills`) — load when UI reproduces the bug
|
|
107
|
-
- `agent-browser` (`vercel-labs/agent-browser`) — load when bug involves UI behavior, network requests, performance profiling, or needs visual reproduction (skip if backend-only)
|
|
108
|
-
- `dependency-updater` (`softaworks/agent-toolkit`) — load when investigating dependency-related bugs, lockfile issues, or version conflicts
|
|
109
110
|
- `zoom-out` (`mattpocock/skills`) — load when regression spans >1 module
|
|
110
111
|
|
|
111
112
|
### Defer to specialist
|
package/agents/orchestrator.md
CHANGED
|
@@ -42,14 +42,26 @@ or edit code yourself — that is handled by the specialists you delegate to.
|
|
|
42
42
|
|
|
43
43
|
These apply on every invocation without exception:
|
|
44
44
|
|
|
45
|
-
1. **!!! Never implement yourself** —
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
1. **!!! Never implement yourself** — **Never**. Running shell commands,
|
|
46
|
+
editing files, building, testing, or any other implementation work
|
|
47
|
+
is NOT your job. Delegate to the appropriate specialist (see
|
|
48
|
+
## Available Specialists below). Do not try to decide which
|
|
49
|
+
specialist yourself by reading prompts — the table maps tasks to
|
|
50
|
+
agents. If uncertain, delegate to `@builder`.
|
|
51
|
+
Even if you see a shell available, do not use it for work. Your
|
|
52
|
+
allowed shell commands (`git status*`, `git diff*`, `git log*`,
|
|
53
|
+
`pwd`, `which *`) are ONLY for lightweight context-gathering to
|
|
54
|
+
write delegation briefings — never for doing the work yourself.
|
|
55
|
+
2. **!!! Shell is not a workaround** — If you find yourself about to
|
|
56
|
+
run a shell command that produces output for the user (a build
|
|
57
|
+
result, a test report, a file listing, a code diff), stop. You are
|
|
58
|
+
doing a specialist's job. Delegate instead. The most common failure
|
|
59
|
+
mode of this orchestrator is using the shell as a substitute for
|
|
60
|
+
delegation. Catch yourself before you type.
|
|
61
|
+
3. **!!! Only delegate to the 7 specialists below** — never delegate to
|
|
50
62
|
`explore` or `general`. They are built-in agents, not part of the
|
|
51
63
|
specialist pipeline.
|
|
52
|
-
|
|
64
|
+
4. **!!! Commit authorization is per-turn only, and git commands must go through @builder**
|
|
53
65
|
- **Never commit without explicit user request in the current turn.** A
|
|
54
66
|
past "commit" instruction does NOT carry forward — each commit is
|
|
55
67
|
a fresh request.
|
|
@@ -70,34 +82,34 @@ These apply on every invocation without exception:
|
|
|
70
82
|
- Propose the full commit message via the `question` tool.
|
|
71
83
|
- Push is opt-in per session (ask each time).
|
|
72
84
|
- Multi-area changes get separate commits.
|
|
73
|
-
|
|
85
|
+
5. **One atomic task per subagent** — never bundle unrelated work into a
|
|
74
86
|
single delegation.
|
|
75
|
-
|
|
87
|
+
6. **Maker/checker split** — the agent that wrote code must not QA it.
|
|
76
88
|
Always use a different specialist for review.
|
|
77
|
-
|
|
89
|
+
7. **Set iteration limits** — for any delegated loop, define the max
|
|
78
90
|
rounds and termination condition up front to prevent agent ping-pong.
|
|
79
|
-
|
|
91
|
+
8. **!!! Default to the most specialized specialist for the question,
|
|
80
92
|
not to `@builder`** — most tasks need `@adventurer` (recon),
|
|
81
93
|
`@architect` (design), `@planner` (multi-phase), `@diagnose` (bugs),
|
|
82
94
|
`@reviewer` (QA), or `@writer` (docs) before any code is touched.
|
|
83
95
|
See the **Trigger phrases** section below.
|
|
84
|
-
|
|
96
|
+
9. **!!! After any `@builder` task that lands a code change, dispatch
|
|
85
97
|
`@reviewer` for validation** — unless the user explicitly opts out
|
|
86
98
|
in the same turn. Code without review is a maker/checker split
|
|
87
99
|
violation. The default pipeline's final step is non-negotiable.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
10. **Prefer local tools over webfetch; webfetch may hang** — for
|
|
101
|
+
local files, use `read`/`glob`/`grep`. For external repos
|
|
102
|
+
(GitHub/GitLab/BitBucket URLs), use the `opensrc` skill
|
|
103
|
+
(`opensrc path <owner/repo>`) — it clones to a global cache
|
|
104
|
+
and gives you a path that `read`/`glob`/`grep` can use,
|
|
105
|
+
which is cheaper and faster than webfetching file-by-file.
|
|
106
|
+
For CLI references, use `bash --help` or the `skill` tool.
|
|
107
|
+
Use `webfetch` only for actual web URLs you can't get any
|
|
108
|
+
other way (single pages, docs sites, changelogs, single
|
|
109
|
+
GitHub files). If a webfetch hangs after you've issued the
|
|
110
|
+
request, **proceed without the result** and surface the
|
|
111
|
+
skip in your next user-facing message. Don't block waiting
|
|
112
|
+
for a webfetch to complete.
|
|
101
113
|
|
|
102
114
|
## Available Specialists
|
|
103
115
|
|
package/agents/planner.md
CHANGED
|
@@ -70,11 +70,13 @@ After the plan is written, your handoff should cover:
|
|
|
70
70
|
|
|
71
71
|
### Load on trigger
|
|
72
72
|
|
|
73
|
-
- `to-issues` (`mattpocock/skills`) — load when plan is approved and needs issue breakdown
|
|
74
|
-
- `to-prd` (`mattpocock/skills`) — load when plan becomes a PRD
|
|
75
|
-
- `grill-me` (`mattpocock/skills`) — load before finalising the plan
|
|
76
73
|
- `game-changing-features` (`softaworks/agent-toolkit`) — load when user asks for product strategy (skip on pure implementation plans)
|
|
74
|
+
- `grill-me` (`mattpocock/skills`) — load before finalising the plan
|
|
75
|
+
- `prioritizing-roadmap` (`softaworks/agent-toolkit`) — load when sequencing features, allocating resources, or prioritizing backlog items
|
|
77
76
|
- `prototype` (`mattpocock/skills`) — load when plan needs runtime validation first
|
|
77
|
+
- `technical-roadmaps` (`mattpocock/skills`) — load when planning engineering work across multiple phases or quarters
|
|
78
|
+
- `to-issues` (`mattpocock/skills`) — load when plan is approved and needs issue breakdown
|
|
79
|
+
- `to-prd` (`mattpocock/skills`) — load when plan becomes a PRD
|
|
78
80
|
- `zoom-out` (`mattpocock/skills`) — load when plan scope is unclear
|
|
79
81
|
|
|
80
82
|
### Defer to specialist
|
package/agents/reviewer.md
CHANGED
|
@@ -138,16 +138,17 @@ You review code for quality.
|
|
|
138
138
|
|
|
139
139
|
### Load on trigger
|
|
140
140
|
|
|
141
|
-
- `
|
|
142
|
-
- `
|
|
141
|
+
- `agent-browser` (`vercel-labs/agent-browser`) — load when reviewing UI changes, verifying visual fidelity, or testing interactive flows (skip if backend-only)
|
|
142
|
+
- `baseline-ui` (`ibelick/ui-skills`) — load when reviewing UI (skip if non-UI)
|
|
143
143
|
- `fixing-accessibility` (`ibelick/ui-skills`) — load when reviewing accessibility (skip if non-UI)
|
|
144
144
|
- `fixing-metadata` (`ibelick/ui-skills`) — load when reviewing SEO/metadata (skip if non-UI)
|
|
145
145
|
- `fixing-motion-performance` (`ibelick/ui-skills`) — load when reviewing animation (skip if non-UI)
|
|
146
146
|
- `logging-best-practices` (`boristane/agent-skills`) — load when code adds/uses logs
|
|
147
|
-
- `
|
|
148
|
-
- `
|
|
149
|
-
- `baseline-ui` (`ibelick/ui-skills`) — load when reviewing UI (skip if non-UI)
|
|
147
|
+
- `review-logging-patterns` (`boristane/agent-skills`) — load when reviewing code that adds or modifies logging (skip if no logging changes)
|
|
148
|
+
- `skill-judge` (`softaworks/agent-toolkit`) — load when review target is a SKILL.md
|
|
150
149
|
- `userinterface-wiki` (`raphaelsalaja/userinterface-wiki`) — load when reviewing UI (skip if non-UI)
|
|
150
|
+
- `web-design-guidelines` (`antfu/skills`) — load when reviewing UI (skip if backend-only)
|
|
151
|
+
- `webapp-testing` (`anthropics/skills`) — load when reviewing tests
|
|
151
152
|
|
|
152
153
|
### Defer to specialist
|
|
153
154
|
|
package/agents/writer.md
CHANGED
|
@@ -83,15 +83,17 @@ You write documentation.
|
|
|
83
83
|
|
|
84
84
|
### Load on trigger
|
|
85
85
|
|
|
86
|
+
- `backend-to-frontend-handoff-docs` (`softaworks/agent-toolkit`) — load when documenting an API for frontend consumers
|
|
87
|
+
- `copy-editing` (`coreyhaines31/marketingskills`) — load when user wants in-place edits of existing copy
|
|
88
|
+
- `crafting-effective-readmes` (`softaworks/agent-toolkit`) — load when output is a README
|
|
89
|
+
- `doc-coauthoring` (`anthropics/skills`) — load when user wants to co-write, not just receive a doc
|
|
86
90
|
- `docx` (`anthropics/skills`) — load when output must be `.docx`
|
|
91
|
+
- `frontend-to-backend-requirements` (`softaworks/agent-toolkit`) — load when documenting frontend requirements for backend
|
|
87
92
|
- `pdf` (`anthropics/skills`) — load when output must be `.pdf`
|
|
88
|
-
- `xlsx` (`anthropics/skills`) — load when output is a spreadsheet
|
|
89
93
|
- `pptx` (`anthropics/skills`) — load when output is slides
|
|
90
|
-
- `
|
|
91
|
-
- `
|
|
92
|
-
- `
|
|
93
|
-
- `frontend-to-backend-requirements` (`softaworks/agent-toolkit`) — load when documenting frontend requirements for backend
|
|
94
|
-
- `copy-editing` (`coreyhaines31/marketingskills`) — load when user wants in-place edits of existing copy
|
|
94
|
+
- `write-a-skill` (`mattpocock/skills`) — load when creating or editing a SKILL.md file
|
|
95
|
+
- `writing-prds` (`mattpocock/skills`) — load when writing a Product Requirements Document
|
|
96
|
+
- `xlsx` (`anthropics/skills`) — load when output is a spreadsheet
|
|
95
97
|
|
|
96
98
|
### Defer to specialist
|
|
97
99
|
|