maestro-flow 0.3.38 → 0.3.40
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/agents/workflow-analyzer.md +2 -0
- package/.claude/agents/workflow-debugger.md +2 -0
- package/.claude/agents/workflow-executor.md +2 -0
- package/.claude/agents/workflow-integration-checker.md +1 -0
- package/.claude/agents/workflow-nyquist-auditor.md +1 -0
- package/.claude/agents/workflow-planner.md +2 -0
- package/.claude/agents/workflow-reviewer.md +2 -0
- package/.claude/agents/workflow-verifier.md +2 -0
- package/.claude/commands/learn-decompose.md +176 -176
- package/.claude/commands/learn-follow.md +167 -167
- package/.claude/commands/learn-investigate.md +221 -221
- package/.claude/commands/learn-retro.md +303 -303
- package/.claude/commands/learn-second-opinion.md +167 -167
- package/.claude/commands/maestro-amend.md +300 -300
- package/.claude/commands/maestro-analyze.md +130 -126
- package/.claude/commands/maestro-brainstorm.md +104 -100
- package/.claude/commands/maestro-composer.md +354 -354
- package/.claude/commands/maestro-execute.md +120 -114
- package/.claude/commands/maestro-fork.md +86 -86
- package/.claude/commands/maestro-init.md +78 -78
- package/.claude/commands/maestro-learn.md +140 -140
- package/.claude/commands/maestro-link-coordinate.md +1 -1
- package/.claude/commands/maestro-merge.md +61 -61
- package/.claude/commands/maestro-milestone-release.md +96 -96
- package/.claude/commands/maestro-overlay.md +178 -178
- package/.claude/commands/maestro-plan.md +154 -138
- package/.claude/commands/maestro-player.md +404 -404
- package/.claude/commands/maestro-quick.md +56 -56
- package/.claude/commands/maestro-ralph-execute.md +7 -18
- package/.claude/commands/maestro-ralph.md +48 -12
- package/.claude/commands/maestro-roadmap.md +1 -1
- package/.claude/commands/maestro-ui-design.md +93 -93
- package/.claude/commands/maestro-update.md +176 -176
- package/.claude/commands/maestro-verify.md +96 -90
- package/.claude/commands/maestro.md +121 -121
- package/.claude/commands/manage-codebase-rebuild.md +75 -75
- package/.claude/commands/manage-codebase-refresh.md +57 -57
- package/.claude/commands/manage-harvest.md +94 -94
- package/.claude/commands/manage-issue-discover.md +77 -77
- package/.claude/commands/manage-issue.md +73 -73
- package/.claude/commands/manage-knowhow-capture.md +193 -193
- package/.claude/commands/manage-knowhow.md +77 -77
- package/.claude/commands/manage-learn.md +67 -67
- package/.claude/commands/manage-status.md +51 -51
- package/.claude/commands/manage-wiki.md +62 -62
- package/.claude/commands/quality-auto-test.md +5 -1
- package/.claude/commands/quality-debug.md +125 -115
- package/.claude/commands/quality-refactor.md +55 -55
- package/.claude/commands/quality-retrospective.md +78 -78
- package/.claude/commands/quality-review.md +114 -108
- package/.claude/commands/quality-sync.md +51 -51
- package/.claude/commands/quality-test.md +107 -103
- package/.claude/commands/spec-add.md +49 -49
- package/.claude/commands/spec-load.md +51 -51
- package/.claude/commands/spec-remove.md +51 -51
- package/.claude/commands/spec-setup.md +51 -51
- package/.claude/commands/wiki-connect.md +62 -62
- package/.claude/commands/wiki-digest.md +69 -69
- package/.codex/skills/learn-decompose/SKILL.md +113 -113
- package/.codex/skills/learn-follow/SKILL.md +1 -1
- package/.codex/skills/learn-investigate/SKILL.md +83 -83
- package/.codex/skills/learn-retro/SKILL.md +83 -83
- package/.codex/skills/learn-second-opinion/SKILL.md +86 -86
- package/.codex/skills/maestro/SKILL.md +304 -304
- package/.codex/skills/maestro-analyze/SKILL.md +11 -3
- package/.codex/skills/maestro-brainstorm/SKILL.md +451 -397
- package/.codex/skills/maestro-composer/SKILL.md +213 -213
- package/.codex/skills/maestro-execute/SKILL.md +346 -318
- package/.codex/skills/maestro-fork/SKILL.md +56 -2
- package/.codex/skills/maestro-init/SKILL.md +40 -16
- package/.codex/skills/maestro-learn/SKILL.md +80 -80
- package/.codex/skills/maestro-link-coordinate/SKILL.md +257 -257
- package/.codex/skills/maestro-merge/SKILL.md +1 -1
- package/.codex/skills/maestro-milestone-audit/SKILL.md +1 -1
- package/.codex/skills/maestro-milestone-complete/SKILL.md +40 -9
- package/.codex/skills/maestro-milestone-release/SKILL.md +70 -70
- package/.codex/skills/maestro-overlay/SKILL.md +1 -1
- package/.codex/skills/maestro-plan/SKILL.md +29 -4
- package/.codex/skills/maestro-player/SKILL.md +323 -323
- package/.codex/skills/maestro-quick/SKILL.md +1 -1
- package/.codex/skills/maestro-ralph/SKILL.md +693 -578
- package/.codex/skills/maestro-roadmap/SKILL.md +518 -468
- package/.codex/skills/maestro-ui-design/SKILL.md +109 -12
- package/.codex/skills/maestro-verify/SKILL.md +27 -9
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +3 -2
- package/.codex/skills/manage-codebase-refresh/SKILL.md +1 -1
- package/.codex/skills/manage-harvest/SKILL.md +91 -91
- package/.codex/skills/manage-issue/SKILL.md +19 -6
- package/.codex/skills/manage-issue-discover/SKILL.md +1 -1
- package/.codex/skills/manage-knowhow/SKILL.md +95 -95
- package/.codex/skills/manage-knowhow-capture/SKILL.md +110 -110
- package/.codex/skills/manage-learn/SKILL.md +1 -1
- package/.codex/skills/manage-status/SKILL.md +1 -1
- package/.codex/skills/manage-wiki/SKILL.md +55 -55
- package/.codex/skills/quality-auto-test/SKILL.md +553 -547
- package/.codex/skills/quality-debug/SKILL.md +345 -334
- package/.codex/skills/quality-refactor/SKILL.md +1 -1
- package/.codex/skills/quality-retrospective/SKILL.md +292 -292
- package/.codex/skills/quality-review/SKILL.md +365 -364
- package/.codex/skills/quality-sync/SKILL.md +1 -1
- package/.codex/skills/quality-test/SKILL.md +507 -498
- package/.codex/skills/spec-add/SKILL.md +101 -101
- package/.codex/skills/spec-load/SKILL.md +77 -77
- package/.codex/skills/spec-map/SKILL.md +1 -1
- package/.codex/skills/spec-remove/SKILL.md +69 -69
- package/.codex/skills/spec-setup/SKILL.md +1 -1
- package/.codex/skills/team-coordinate/SKILL.md +2 -1
- package/.codex/skills/team-executor/SKILL.md +116 -115
- package/.codex/skills/team-lifecycle-v4/SKILL.md +2 -1
- package/.codex/skills/team-lifecycle-v4/instructions/agent-instruction.md +14 -6
- package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +16 -4
- package/.codex/skills/team-lifecycle-v4/roles/executor/commands/implement.md +7 -1
- package/.codex/skills/team-lifecycle-v4/roles/planner/role.md +16 -4
- package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +8 -2
- package/.codex/skills/team-quality-assurance/SKILL.md +2 -1
- package/.codex/skills/team-quality-assurance/roles/scout/role.md +9 -2
- package/.codex/skills/team-review/SKILL.md +2 -1
- package/.codex/skills/team-review/roles/reviewer/role.md +10 -1
- package/.codex/skills/team-review/roles/scanner/role.md +10 -1
- package/.codex/skills/team-tech-debt/SKILL.md +144 -143
- package/.codex/skills/team-tech-debt/roles/executor/role.md +9 -5
- package/.codex/skills/team-tech-debt/roles/scanner/role.md +10 -0
- package/.codex/skills/team-tech-debt/roles/validator/role.md +8 -2
- package/.codex/skills/team-testing/SKILL.md +2 -1
- package/.codex/skills/team-testing/roles/executor/role.md +8 -2
- package/.codex/skills/team-testing/roles/generator/role.md +8 -2
- package/.codex/skills/wiki-connect/SKILL.md +73 -73
- package/.codex/skills/wiki-digest/SKILL.md +87 -87
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +4 -0
- package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js +6 -0
- package/dashboard/dist-server/dashboard/src/server/agents/codex-cli-adapter.js.map +1 -1
- package/dashboard/dist-server/shared/agent-types.d.ts +2 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.d.ts +2 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js +4 -0
- package/dashboard/dist-server/src/agents/cli-agent-runner.js.map +1 -1
- package/dashboard/dist-server/src/commands/delegate.d.ts +2 -0
- package/dashboard/dist-server/src/commands/delegate.js +18 -0
- package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
- package/dashboard/dist-server/src/config/cli-tools-config.d.ts +6 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js +2 -0
- package/dashboard/dist-server/src/config/cli-tools-config.js.map +1 -1
- package/dist/shared/agent-types.d.ts +2 -0
- package/dist/shared/agent-types.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.d.ts +2 -0
- package/dist/src/agents/cli-agent-runner.d.ts.map +1 -1
- package/dist/src/agents/cli-agent-runner.js +4 -0
- package/dist/src/agents/cli-agent-runner.js.map +1 -1
- package/dist/src/commands/config.d.ts.map +1 -1
- package/dist/src/commands/config.js +29 -1
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/delegate.d.ts +2 -0
- package/dist/src/commands/delegate.d.ts.map +1 -1
- package/dist/src/commands/delegate.js +18 -0
- package/dist/src/commands/delegate.js.map +1 -1
- package/dist/src/commands/launcher.d.ts.map +1 -1
- package/dist/src/commands/launcher.js +27 -4
- package/dist/src/commands/launcher.js.map +1 -1
- package/dist/src/config/cli-tools-config.d.ts +6 -0
- package/dist/src/config/cli-tools-config.d.ts.map +1 -1
- package/dist/src/config/cli-tools-config.js +2 -0
- package/dist/src/config/cli-tools-config.js.map +1 -1
- package/dist/src/core/overlay/applier.d.ts.map +1 -1
- package/dist/src/core/overlay/applier.js +65 -5
- package/dist/src/core/overlay/applier.js.map +1 -1
- package/dist/src/core/overlay/loader.d.ts.map +1 -1
- package/dist/src/core/overlay/loader.js +9 -4
- package/dist/src/core/overlay/loader.js.map +1 -1
- package/dist/src/core/overlay/types.d.ts +2 -0
- package/dist/src/core/overlay/types.d.ts.map +1 -1
- package/dist/src/core/overlay/types.js +2 -0
- package/dist/src/core/overlay/types.js.map +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.d.ts.map +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.js +1 -1
- package/dist/src/tui/tools-ui/ToolsDashboard.js.map +1 -1
- package/dist/src/tui/tools-ui/ToolsOverview.d.ts.map +1 -1
- package/dist/src/tui/tools-ui/ToolsOverview.js +51 -4
- package/dist/src/tui/tools-ui/ToolsOverview.js.map +1 -1
- package/package.json +1 -1
- package/shared/agent-types.ts +2 -0
- package/workflows/analyze.md +24 -2
- package/workflows/auto-test.md +12 -0
- package/workflows/brainstorm.md +11 -1
- package/workflows/debug.md +13 -4
- package/workflows/delegate-protocol.codex.md +65 -0
- package/workflows/plan.md +14 -4
- package/workflows/test.md +10 -0
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: spec-add
|
|
3
|
-
description: Add
|
|
4
|
-
argument-hint: "<category> <content>"
|
|
5
|
-
allowed-tools: Read, Write, Bash, Glob, Grep
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Add a spec entry using `<spec-entry>` closed-tag format. Each category maps 1:1 to a single target file.
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
$spec-add "coding Always use named exports for utility functions"
|
|
13
|
-
$spec-add "learning Off-by-one in pagination when page=0"
|
|
14
|
-
$spec-add "arch Use Zod for runtime validation over io-ts"
|
|
15
|
-
$spec-add "quality All API endpoints must return structured error objects"
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
**Valid categories**: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation.
|
|
19
|
-
|
|
20
|
-
**CLI alternative**: `maestro spec add <category> "<title>" "<content>" --keywords kw1,kw2 --source <src>`. Used by workflow agents (analyze, plan, execute) for programmatic spec enrichment.
|
|
21
|
-
</purpose>
|
|
22
|
-
|
|
23
|
-
<context>
|
|
24
|
-
$ARGUMENTS — `<category> <content>` where category selects the target file.
|
|
25
|
-
|
|
26
|
-
**Category-to-file mapping (1:1, same as spec-load):**
|
|
27
|
-
| Category | Target file |
|
|
28
|
-
|----------|------------|
|
|
29
|
-
| `coding` | `coding-conventions.md` |
|
|
30
|
-
| `arch` | `architecture-constraints.md` |
|
|
31
|
-
| `quality` | `quality-rules.md` |
|
|
32
|
-
| `debug` | `debug-notes.md` |
|
|
33
|
-
| `test` | `test-conventions.md` |
|
|
34
|
-
| `review` | `review-standards.md` |
|
|
35
|
-
| `learning` | `learnings.md` |
|
|
36
|
-
| `bug` | `learnings.md` |
|
|
37
|
-
| `pattern` | `coding-conventions.md` |
|
|
38
|
-
| `decision` | `architecture-constraints.md` |
|
|
39
|
-
| `rule` | `quality-rules.md` |
|
|
40
|
-
| `validation` | `quality-rules.md` |
|
|
41
|
-
|
|
42
|
-
Extended types (`bug`, `pattern`, `decision`, `rule`, `validation`) are stored in the file of their closest core category but retain their specific category in the `<spec-entry>` tag.
|
|
43
|
-
</context>
|
|
44
|
-
|
|
45
|
-
<execution>
|
|
46
|
-
|
|
47
|
-
### Step 1: Parse Input
|
|
48
|
-
|
|
49
|
-
Extract category (first token) and content (remainder) from arguments.
|
|
50
|
-
- Validate category is one of: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation (E003 if invalid)
|
|
51
|
-
- Validate content is non-empty (E001 if missing)
|
|
52
|
-
|
|
53
|
-
### Step 2: Validate Specs Directory
|
|
54
|
-
|
|
55
|
-
Verify `.workflow/specs/` exists (E002).
|
|
56
|
-
|
|
57
|
-
### Step 3: Route to File
|
|
58
|
-
|
|
59
|
-
Resolve target file from category-to-file mapping table. If the target file does not exist, create it with a basic header.
|
|
60
|
-
|
|
61
|
-
### Step 4: Extract Keywords
|
|
62
|
-
|
|
63
|
-
Auto-extract 3-5 relevant keywords from the content. Keywords should be:
|
|
64
|
-
- Lowercase, no spaces (use hyphens for multi-word)
|
|
65
|
-
- Domain-specific terms that would help future lookup
|
|
66
|
-
- Avoid generic words (code, file, function, etc.)
|
|
67
|
-
|
|
68
|
-
### Step 5: Write Entry
|
|
69
|
-
|
|
70
|
-
Append `<spec-entry>` closed-tag block to target file:
|
|
71
|
-
|
|
72
|
-
```markdown
|
|
73
|
-
<spec-entry category="{category}" keywords="{kw1},{kw2},{kw3}" date="{YYYY-MM-DD}">
|
|
74
|
-
|
|
75
|
-
### {title extracted from content}
|
|
76
|
-
|
|
77
|
-
{content}
|
|
78
|
-
|
|
79
|
-
</spec-entry>
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Step 6: Confirm
|
|
83
|
-
|
|
84
|
-
Display: category, target file, extracted keywords, and commands for verify (`/spec-load`) and remove (`/spec-remove`).
|
|
85
|
-
</execution>
|
|
86
|
-
|
|
87
|
-
<error_codes>
|
|
88
|
-
| Code | Severity | Description |
|
|
89
|
-
|------|----------|-------------|
|
|
90
|
-
| E001 | fatal | Category and content are both required |
|
|
91
|
-
| E002 | fatal | `.workflow/specs/` not initialized -- run `Skill({ skill: "spec-setup" })` first |
|
|
92
|
-
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation |
|
|
93
|
-
</error_codes>
|
|
94
|
-
|
|
95
|
-
<success_criteria>
|
|
96
|
-
- [ ] Category and content parsed and validated
|
|
97
|
-
- [ ] Keywords auto-extracted from content (3-5 terms)
|
|
98
|
-
- [ ] Entry written in `<spec-entry>` closed-tag format with keywords attribute
|
|
99
|
-
- [ ] Entry appended to correct target file
|
|
100
|
-
- [ ] Confirmation displayed with keywords and verify command
|
|
101
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: spec-add
|
|
3
|
+
description: Add spec entry by category
|
|
4
|
+
argument-hint: "<category> <content>"
|
|
5
|
+
allowed-tools: Read, Write, Bash, Glob, Grep
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Add a spec entry using `<spec-entry>` closed-tag format. Each category maps 1:1 to a single target file.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
$spec-add "coding Always use named exports for utility functions"
|
|
13
|
+
$spec-add "learning Off-by-one in pagination when page=0"
|
|
14
|
+
$spec-add "arch Use Zod for runtime validation over io-ts"
|
|
15
|
+
$spec-add "quality All API endpoints must return structured error objects"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Valid categories**: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation.
|
|
19
|
+
|
|
20
|
+
**CLI alternative**: `maestro spec add <category> "<title>" "<content>" --keywords kw1,kw2 --source <src>`. Used by workflow agents (analyze, plan, execute) for programmatic spec enrichment.
|
|
21
|
+
</purpose>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS — `<category> <content>` where category selects the target file.
|
|
25
|
+
|
|
26
|
+
**Category-to-file mapping (1:1, same as spec-load):**
|
|
27
|
+
| Category | Target file |
|
|
28
|
+
|----------|------------|
|
|
29
|
+
| `coding` | `coding-conventions.md` |
|
|
30
|
+
| `arch` | `architecture-constraints.md` |
|
|
31
|
+
| `quality` | `quality-rules.md` |
|
|
32
|
+
| `debug` | `debug-notes.md` |
|
|
33
|
+
| `test` | `test-conventions.md` |
|
|
34
|
+
| `review` | `review-standards.md` |
|
|
35
|
+
| `learning` | `learnings.md` |
|
|
36
|
+
| `bug` | `learnings.md` |
|
|
37
|
+
| `pattern` | `coding-conventions.md` |
|
|
38
|
+
| `decision` | `architecture-constraints.md` |
|
|
39
|
+
| `rule` | `quality-rules.md` |
|
|
40
|
+
| `validation` | `quality-rules.md` |
|
|
41
|
+
|
|
42
|
+
Extended types (`bug`, `pattern`, `decision`, `rule`, `validation`) are stored in the file of their closest core category but retain their specific category in the `<spec-entry>` tag.
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
|
|
47
|
+
### Step 1: Parse Input
|
|
48
|
+
|
|
49
|
+
Extract category (first token) and content (remainder) from arguments.
|
|
50
|
+
- Validate category is one of: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation (E003 if invalid)
|
|
51
|
+
- Validate content is non-empty (E001 if missing)
|
|
52
|
+
|
|
53
|
+
### Step 2: Validate Specs Directory
|
|
54
|
+
|
|
55
|
+
Verify `.workflow/specs/` exists (E002).
|
|
56
|
+
|
|
57
|
+
### Step 3: Route to File
|
|
58
|
+
|
|
59
|
+
Resolve target file from category-to-file mapping table. If the target file does not exist, create it with a basic header.
|
|
60
|
+
|
|
61
|
+
### Step 4: Extract Keywords
|
|
62
|
+
|
|
63
|
+
Auto-extract 3-5 relevant keywords from the content. Keywords should be:
|
|
64
|
+
- Lowercase, no spaces (use hyphens for multi-word)
|
|
65
|
+
- Domain-specific terms that would help future lookup
|
|
66
|
+
- Avoid generic words (code, file, function, etc.)
|
|
67
|
+
|
|
68
|
+
### Step 5: Write Entry
|
|
69
|
+
|
|
70
|
+
Append `<spec-entry>` closed-tag block to target file:
|
|
71
|
+
|
|
72
|
+
```markdown
|
|
73
|
+
<spec-entry category="{category}" keywords="{kw1},{kw2},{kw3}" date="{YYYY-MM-DD}">
|
|
74
|
+
|
|
75
|
+
### {title extracted from content}
|
|
76
|
+
|
|
77
|
+
{content}
|
|
78
|
+
|
|
79
|
+
</spec-entry>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Step 6: Confirm
|
|
83
|
+
|
|
84
|
+
Display: category, target file, extracted keywords, and commands for verify (`/spec-load`) and remove (`/spec-remove`).
|
|
85
|
+
</execution>
|
|
86
|
+
|
|
87
|
+
<error_codes>
|
|
88
|
+
| Code | Severity | Description |
|
|
89
|
+
|------|----------|-------------|
|
|
90
|
+
| E001 | fatal | Category and content are both required |
|
|
91
|
+
| E002 | fatal | `.workflow/specs/` not initialized -- run `Skill({ skill: "spec-setup" })` first |
|
|
92
|
+
| E003 | fatal | Invalid category -- must be one of: coding, arch, quality, debug, test, review, learning, bug, pattern, decision, rule, validation |
|
|
93
|
+
</error_codes>
|
|
94
|
+
|
|
95
|
+
<success_criteria>
|
|
96
|
+
- [ ] Category and content parsed and validated
|
|
97
|
+
- [ ] Keywords auto-extracted from content (3-5 terms)
|
|
98
|
+
- [ ] Entry written in `<spec-entry>` closed-tag format with keywords attribute
|
|
99
|
+
- [ ] Entry appended to correct target file
|
|
100
|
+
- [ ] Confirmation displayed with keywords and verify command
|
|
101
|
+
</success_criteria>
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: spec-load
|
|
3
|
-
description: Load
|
|
4
|
-
argument-hint: "[--category <type>] [--keyword <word>]"
|
|
5
|
-
allowed-tools: Read, Bash, Glob, Grep
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Load relevant specs filtered by category (file-level) and/or keyword (entry-level via `<spec-entry>` tags).
|
|
10
|
-
</purpose>
|
|
11
|
-
|
|
12
|
-
<context>
|
|
13
|
-
$ARGUMENTS — optional category filter and keyword.
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
$spec-load
|
|
17
|
-
$spec-load "--category coding"
|
|
18
|
-
$spec-load "--keyword auth"
|
|
19
|
-
$spec-load "--category coding --keyword naming"
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
**Category-to-file mapping (1:1, same as spec-add):**
|
|
23
|
-
|
|
24
|
-
| Category | File loaded |
|
|
25
|
-
|----------|------------|
|
|
26
|
-
| `coding` | `coding-conventions.md` |
|
|
27
|
-
| `arch` | `architecture-constraints.md` |
|
|
28
|
-
| `quality` | `quality-rules.md` |
|
|
29
|
-
| `debug` | `debug-notes.md` |
|
|
30
|
-
| `test` | `test-conventions.md` |
|
|
31
|
-
| `review` | `review-standards.md` |
|
|
32
|
-
| `learning` | `learnings.md` |
|
|
33
|
-
| `bug` | `learnings.md` |
|
|
34
|
-
| `pattern` | `coding-conventions.md` |
|
|
35
|
-
| `decision` | `architecture-constraints.md` |
|
|
36
|
-
| `rule` | `quality-rules.md` |
|
|
37
|
-
| `validation` | `quality-rules.md` |
|
|
38
|
-
| `all` (default) | All spec files |
|
|
39
|
-
|
|
40
|
-
Extended types (`bug`, `pattern`, `decision`, `rule`, `validation`) are stored in their closest core category's file but retain their specific category in the `<spec-entry>` tag.
|
|
41
|
-
|
|
42
|
-
**Keyword filtering**: When `--keyword` is provided, only entries with matching keyword in their `<spec-entry keywords="...">` attribute are returned. Legacy entries (heading format) are filtered by text grep.
|
|
43
|
-
</context>
|
|
44
|
-
|
|
45
|
-
<execution>
|
|
46
|
-
|
|
47
|
-
### Step 1: Validate Specs Directory
|
|
48
|
-
|
|
49
|
-
Verify `.workflow/specs/` exists (E001).
|
|
50
|
-
|
|
51
|
-
### Step 2: Parse Arguments
|
|
52
|
-
|
|
53
|
-
Extract optional `--category` and `--keyword` flags.
|
|
54
|
-
|
|
55
|
-
### Step 3: Load via CLI
|
|
56
|
-
|
|
57
|
-
Run `maestro spec load [--category <cat>] [--keyword <word>]`. If CLI unavailable, read files directly and apply keyword filter.
|
|
58
|
-
|
|
59
|
-
### Step 4: Display Results
|
|
60
|
-
|
|
61
|
-
Show matched entries grouped by filename and category, with `<spec-entry>` tags stripped.
|
|
62
|
-
</execution>
|
|
63
|
-
|
|
64
|
-
<error_codes>
|
|
65
|
-
| Code | Severity | Description |
|
|
66
|
-
|------|----------|-------------|
|
|
67
|
-
| E001 | fatal | `.workflow/specs/` not initialized -- run `Skill({ skill: "spec-setup" })` first |
|
|
68
|
-
| W001 | warning | No matching specs for keyword -- showing all in category |
|
|
69
|
-
</error_codes>
|
|
70
|
-
|
|
71
|
-
<success_criteria>
|
|
72
|
-
- [ ] `.workflow/specs/` directory validated
|
|
73
|
-
- [ ] Category and keyword parsed from arguments
|
|
74
|
-
- [ ] Files loaded per category mapping
|
|
75
|
-
- [ ] Keyword filtering applied at entry level (via `<spec-entry>` keywords)
|
|
76
|
-
- [ ] Results displayed with file references and stripped tags
|
|
77
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: spec-load
|
|
3
|
+
description: Load specs and lessons for current context
|
|
4
|
+
argument-hint: "[--category <type>] [--keyword <word>]"
|
|
5
|
+
allowed-tools: Read, Bash, Glob, Grep
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Load relevant specs filtered by category (file-level) and/or keyword (entry-level via `<spec-entry>` tags).
|
|
10
|
+
</purpose>
|
|
11
|
+
|
|
12
|
+
<context>
|
|
13
|
+
$ARGUMENTS — optional category filter and keyword.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
$spec-load
|
|
17
|
+
$spec-load "--category coding"
|
|
18
|
+
$spec-load "--keyword auth"
|
|
19
|
+
$spec-load "--category coding --keyword naming"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Category-to-file mapping (1:1, same as spec-add):**
|
|
23
|
+
|
|
24
|
+
| Category | File loaded |
|
|
25
|
+
|----------|------------|
|
|
26
|
+
| `coding` | `coding-conventions.md` |
|
|
27
|
+
| `arch` | `architecture-constraints.md` |
|
|
28
|
+
| `quality` | `quality-rules.md` |
|
|
29
|
+
| `debug` | `debug-notes.md` |
|
|
30
|
+
| `test` | `test-conventions.md` |
|
|
31
|
+
| `review` | `review-standards.md` |
|
|
32
|
+
| `learning` | `learnings.md` |
|
|
33
|
+
| `bug` | `learnings.md` |
|
|
34
|
+
| `pattern` | `coding-conventions.md` |
|
|
35
|
+
| `decision` | `architecture-constraints.md` |
|
|
36
|
+
| `rule` | `quality-rules.md` |
|
|
37
|
+
| `validation` | `quality-rules.md` |
|
|
38
|
+
| `all` (default) | All spec files |
|
|
39
|
+
|
|
40
|
+
Extended types (`bug`, `pattern`, `decision`, `rule`, `validation`) are stored in their closest core category's file but retain their specific category in the `<spec-entry>` tag.
|
|
41
|
+
|
|
42
|
+
**Keyword filtering**: When `--keyword` is provided, only entries with matching keyword in their `<spec-entry keywords="...">` attribute are returned. Legacy entries (heading format) are filtered by text grep.
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<execution>
|
|
46
|
+
|
|
47
|
+
### Step 1: Validate Specs Directory
|
|
48
|
+
|
|
49
|
+
Verify `.workflow/specs/` exists (E001).
|
|
50
|
+
|
|
51
|
+
### Step 2: Parse Arguments
|
|
52
|
+
|
|
53
|
+
Extract optional `--category` and `--keyword` flags.
|
|
54
|
+
|
|
55
|
+
### Step 3: Load via CLI
|
|
56
|
+
|
|
57
|
+
Run `maestro spec load [--category <cat>] [--keyword <word>]`. If CLI unavailable, read files directly and apply keyword filter.
|
|
58
|
+
|
|
59
|
+
### Step 4: Display Results
|
|
60
|
+
|
|
61
|
+
Show matched entries grouped by filename and category, with `<spec-entry>` tags stripped.
|
|
62
|
+
</execution>
|
|
63
|
+
|
|
64
|
+
<error_codes>
|
|
65
|
+
| Code | Severity | Description |
|
|
66
|
+
|------|----------|-------------|
|
|
67
|
+
| E001 | fatal | `.workflow/specs/` not initialized -- run `Skill({ skill: "spec-setup" })` first |
|
|
68
|
+
| W001 | warning | No matching specs for keyword -- showing all in category |
|
|
69
|
+
</error_codes>
|
|
70
|
+
|
|
71
|
+
<success_criteria>
|
|
72
|
+
- [ ] `.workflow/specs/` directory validated
|
|
73
|
+
- [ ] Category and keyword parsed from arguments
|
|
74
|
+
- [ ] Files loaded per category mapping
|
|
75
|
+
- [ ] Keyword filtering applied at entry level (via `<spec-entry>` keywords)
|
|
76
|
+
- [ ] Results displayed with file references and stripped tags
|
|
77
|
+
</success_criteria>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: spec-map
|
|
3
|
-
description:
|
|
3
|
+
description: Map codebase tech-stack, architecture, features, and concerns
|
|
4
4
|
argument-hint: "[-y|--yes] [-c|--concurrency 4] [--continue] \"[focus area]\""
|
|
5
5
|
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
6
6
|
---
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: spec-remove
|
|
3
|
-
description: Remove
|
|
4
|
-
argument-hint: "<entry-id>"
|
|
5
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<purpose>
|
|
9
|
-
Remove a `<spec-entry>` block from a specs container file. Symmetric with `spec-add`.
|
|
10
|
-
Uses `maestro wiki remove-entry` for atomic removal with automatic index update.
|
|
11
|
-
</purpose>
|
|
12
|
-
|
|
13
|
-
<required_reading>
|
|
14
|
-
@~/.maestro/workflows/specs-remove.md
|
|
15
|
-
</required_reading>
|
|
16
|
-
|
|
17
|
-
<context>
|
|
18
|
-
$ARGUMENTS — entry ID to remove (e.g., `spec-learnings-003`)
|
|
19
|
-
|
|
20
|
-
**Entry ID format**: `spec-{file-stem}-{NNN}` — sub-node ID from WikiIndexer atomic indexing.
|
|
21
|
-
|
|
22
|
-
**Discovery**:
|
|
23
|
-
- `maestro wiki list --type spec --json` — list all spec entries
|
|
24
|
-
- `/spec-load --keyword <term>` — find by keyword
|
|
25
|
-
- `maestro wiki search "<query>"` — BM25 search
|
|
26
|
-
</context>
|
|
27
|
-
|
|
28
|
-
<execution>
|
|
29
|
-
|
|
30
|
-
### Step 1: Parse Input
|
|
31
|
-
|
|
32
|
-
Extract entry ID from arguments.
|
|
33
|
-
- Validate non-empty (E001 if missing)
|
|
34
|
-
- Validate `.workflow/specs/` exists (E002 if not)
|
|
35
|
-
|
|
36
|
-
### Step 2: Lookup Entry
|
|
37
|
-
|
|
38
|
-
Run `maestro wiki get <entry-id> --json`. Validate: entry exists (E003), is spec sub-node with `type="spec"` and `parent` set (E004). Extract title, category, keywords, container path.
|
|
39
|
-
|
|
40
|
-
### Step 3: Confirm
|
|
41
|
-
|
|
42
|
-
Display entry details. Ask user to confirm unless `-y` flag present.
|
|
43
|
-
|
|
44
|
-
### Step 4: Remove
|
|
45
|
-
|
|
46
|
-
Run `maestro wiki remove-entry <entry-id>`. WikiIndexer auto-updates `wiki-index.json`.
|
|
47
|
-
|
|
48
|
-
### Step 5: Verify & Report
|
|
49
|
-
|
|
50
|
-
Confirm removal via `maestro wiki get <entry-id>` (should return not-found). Display removed ID, source file, and commands for verify/re-add.
|
|
51
|
-
</execution>
|
|
52
|
-
|
|
53
|
-
<error_codes>
|
|
54
|
-
| Code | Severity | Description |
|
|
55
|
-
|------|----------|-------------|
|
|
56
|
-
| E001 | fatal | Entry ID is required -- usage: `/spec-remove <entry-id>` |
|
|
57
|
-
| E002 | fatal | `.workflow/specs/` not initialized -- run `/spec-setup` first |
|
|
58
|
-
| E003 | fatal | Entry ID not found in wiki index |
|
|
59
|
-
| E004 | fatal | Entry is not a spec sub-node (wrong type or no parent) |
|
|
60
|
-
</error_codes>
|
|
61
|
-
|
|
62
|
-
<success_criteria>
|
|
63
|
-
- [ ] Entry ID parsed and validated
|
|
64
|
-
- [ ] Entry found in wiki index (type=spec, has parent)
|
|
65
|
-
- [ ] User confirmed removal
|
|
66
|
-
- [ ] Entry removed via `maestro wiki remove-entry`
|
|
67
|
-
- [ ] Wiki index auto-updated
|
|
68
|
-
- [ ] Confirmation displayed
|
|
69
|
-
</success_criteria>
|
|
1
|
+
---
|
|
2
|
+
name: spec-remove
|
|
3
|
+
description: Remove spec entry by ID
|
|
4
|
+
argument-hint: "<entry-id>"
|
|
5
|
+
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Remove a `<spec-entry>` block from a specs container file. Symmetric with `spec-add`.
|
|
10
|
+
Uses `maestro wiki remove-entry` for atomic removal with automatic index update.
|
|
11
|
+
</purpose>
|
|
12
|
+
|
|
13
|
+
<required_reading>
|
|
14
|
+
@~/.maestro/workflows/specs-remove.md
|
|
15
|
+
</required_reading>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
$ARGUMENTS — entry ID to remove (e.g., `spec-learnings-003`)
|
|
19
|
+
|
|
20
|
+
**Entry ID format**: `spec-{file-stem}-{NNN}` — sub-node ID from WikiIndexer atomic indexing.
|
|
21
|
+
|
|
22
|
+
**Discovery**:
|
|
23
|
+
- `maestro wiki list --type spec --json` — list all spec entries
|
|
24
|
+
- `/spec-load --keyword <term>` — find by keyword
|
|
25
|
+
- `maestro wiki search "<query>"` — BM25 search
|
|
26
|
+
</context>
|
|
27
|
+
|
|
28
|
+
<execution>
|
|
29
|
+
|
|
30
|
+
### Step 1: Parse Input
|
|
31
|
+
|
|
32
|
+
Extract entry ID from arguments.
|
|
33
|
+
- Validate non-empty (E001 if missing)
|
|
34
|
+
- Validate `.workflow/specs/` exists (E002 if not)
|
|
35
|
+
|
|
36
|
+
### Step 2: Lookup Entry
|
|
37
|
+
|
|
38
|
+
Run `maestro wiki get <entry-id> --json`. Validate: entry exists (E003), is spec sub-node with `type="spec"` and `parent` set (E004). Extract title, category, keywords, container path.
|
|
39
|
+
|
|
40
|
+
### Step 3: Confirm
|
|
41
|
+
|
|
42
|
+
Display entry details. Ask user to confirm unless `-y` flag present.
|
|
43
|
+
|
|
44
|
+
### Step 4: Remove
|
|
45
|
+
|
|
46
|
+
Run `maestro wiki remove-entry <entry-id>`. WikiIndexer auto-updates `wiki-index.json`.
|
|
47
|
+
|
|
48
|
+
### Step 5: Verify & Report
|
|
49
|
+
|
|
50
|
+
Confirm removal via `maestro wiki get <entry-id>` (should return not-found). Display removed ID, source file, and commands for verify/re-add.
|
|
51
|
+
</execution>
|
|
52
|
+
|
|
53
|
+
<error_codes>
|
|
54
|
+
| Code | Severity | Description |
|
|
55
|
+
|------|----------|-------------|
|
|
56
|
+
| E001 | fatal | Entry ID is required -- usage: `/spec-remove <entry-id>` |
|
|
57
|
+
| E002 | fatal | `.workflow/specs/` not initialized -- run `/spec-setup` first |
|
|
58
|
+
| E003 | fatal | Entry ID not found in wiki index |
|
|
59
|
+
| E004 | fatal | Entry is not a spec sub-node (wrong type or no parent) |
|
|
60
|
+
</error_codes>
|
|
61
|
+
|
|
62
|
+
<success_criteria>
|
|
63
|
+
- [ ] Entry ID parsed and validated
|
|
64
|
+
- [ ] Entry found in wiki index (type=spec, has parent)
|
|
65
|
+
- [ ] User confirmed removal
|
|
66
|
+
- [ ] Entry removed via `maestro wiki remove-entry`
|
|
67
|
+
- [ ] Wiki index auto-updated
|
|
68
|
+
- [ ] Confirmation displayed
|
|
69
|
+
</success_criteria>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: team-coordinate
|
|
3
|
-
description: Universal team coordination
|
|
3
|
+
description: Universal team coordination with dynamic role generation
|
|
4
4
|
allowed-tools: spawn_agent(*), wait_agent(*), send_message(*), followup_task(*), close_agent(*), list_agents(*), report_agent_job_result(*), request_user_input(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*), mcp__maestro-tools__team_msg(*)
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -27,6 +27,7 @@ Universal team coordination skill: analyze task -> generate role-specs -> dispat
|
|
|
27
27
|
maestro delegate --mode analysis - analysis and exploration
|
|
28
28
|
maestro delegate --mode write - code generation and modification
|
|
29
29
|
```
|
|
30
|
+
|
|
30
31
|
</purpose>
|
|
31
32
|
|
|
32
33
|
<context>
|