maestro-flow 0.3.49 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/.claude/agents/impeccable-agent.md +2 -2
  2. package/.claude/commands/maestro-analyze.md +2 -2
  3. package/.claude/commands/maestro-brainstorm.md +1 -1
  4. package/.claude/commands/maestro-impeccable.md +231 -111
  5. package/.claude/commands/maestro-roadmap.md +1 -1
  6. package/.claude/commands/maestro.md +3 -3
  7. package/.claude/skills/maestro-help/index/catalog.json +1 -1
  8. package/.claude/skills/maestro-help/phases/01-parse-intent.md +1 -1
  9. package/.codex/skills/maestro/SKILL.md +70 -28
  10. package/.codex/skills/maestro-brainstorm/SKILL.md +1 -1
  11. package/.codex/skills/maestro-help/catalog.json +1 -1
  12. package/.codex/skills/maestro-impeccable/SKILL.md +231 -117
  13. package/.codex/skills/maestro-roadmap/SKILL.md +1 -1
  14. package/chains/singles/ui-design.json +3 -3
  15. package/chains/ui-craft-build.json +2 -2
  16. package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js +3 -3
  17. package/dashboard/dist-server/dashboard/src/server/coordinator/chain-map.js.map +1 -1
  18. package/package.json +1 -1
  19. package/templates/workflows/specs/node-catalog.md +1 -1
  20. package/workflows/impeccable/design.md +12 -12
  21. package/workflows/impeccable/explore.md +5 -5
  22. package/workflows/maestro-chain-execute.md +2 -2
  23. package/workflows/maestro.codex.md +3 -3
  24. package/workflows/maestro.md +107 -117
  25. package/workflows/plan.md +1 -1
  26. package/workflows/ui-design.md +1 -1
  27. package/workflows/ui-style.md +1 -1
  28. package/.claude/commands/maestro-ui-craft.md +0 -416
  29. package/.claude/skills/maestro-impeccable/SKILL.md +0 -171
  30. package/.codex/skills/maestro-ui-craft/SKILL.md +0 -386
@@ -1,131 +1,245 @@
1
1
  ---
2
2
  name: maestro-impeccable
3
- description: Production-grade UI design with knowhow accumulation -- 24 commands for build, evaluate, refine, enhance, fix
4
- argument-hint: "[craft|shape|explore · audit|critique · animate|bolder|colorize|delight|layout|overdrive|quieter|typeset · adapt|clarify|distill · harden|onboard|optimize|polish · teach|document|extract|live] [target] [--skip-harvest] [-y] [--styles N]"
3
+ description: Production-grade UI design 24 commands + chain orchestration with quality gates + design search
4
+ argument-hint: "<command|chain|intent> [target] [flags]"
5
5
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep, request_user_input
6
6
  ---
7
+
7
8
  <purpose>
8
- Designs and iterates production-grade frontend interfaces. Real working code, committed design choices, exceptional craft.
9
- After each command, automatically harvests design knowledge to `.workflow/knowhow/` (category: ui) for cross-session accumulation.
10
-
11
- Replaces the standalone impeccable skill. 24 commands covering the full design lifecycle.
12
-
13
- Includes integrated `search` subcommand for querying UI/UX design knowledge base (BM25 + CSV):
14
- ```bash
15
- maestro impeccable search "<query>" -d <domain> # domain search
16
- maestro impeccable search "<query>" --design-system # generate design system
17
- maestro impeccable search "<query>" --design-system --persist -p "Project" # save MASTER.md
18
- ```
19
- Domains: style, color, chart, landing, product, ux, typography, icons, react, web, google-fonts.
20
- Stacks: react, nextjs, vue, svelte, astro, swiftui, react-native, flutter, html-tailwind, shadcn.
9
+ Sequential UI design skill. Parse input prerequisites read workflow file execute → track via status.json.
10
+
11
+ - **Direct**: single command via workflow file
12
+ - **Chain**: orchestrate command sequence with quality gates
13
+ - **Search**: query design knowledge base via CLI
21
14
  </purpose>
22
15
 
23
16
  <context>
24
- $ARGUMENTS -- sub-command + target + optional flags.
25
-
26
- **Sub-commands** (24):
27
-
28
- | Category | Commands |
29
- |----------|----------|
30
- | Build | craft, shape, teach, document, extract, explore |
31
- | Evaluate | critique, audit |
32
- | Refine | polish, bolder, quieter, distill, harden, onboard |
33
- | Enhance | animate, colorize, typeset, layout, delight, overdrive |
34
- | Fix | clarify, adapt, optimize |
35
- | Iterate | live |
36
-
37
- **Flags:**
38
- - `--skip-harvest` -- Execute command without knowhow capture
39
- - `-y` -- Auto-confirm where the skill allows
40
-
17
+ $ARGUMENTS first word determines mode:
18
+
19
+ | First Word | Mode |
20
+ |------------|------|
21
+ | Known command (see routing table) | Direct |
22
+ | Chain name: build, redesign, improve, enhance, launch, harden, foundation, live | Chain |
23
+ | continue / next / -c | Resume |
24
+ | search | Search: `maestro impeccable search "$REST"` |
25
+ | Free text (concrete task) | Direct craft has specific target + specs/reference |
26
+ | Free text (project intent) | Intent classify chain |
27
+ | (empty) | Menu: show commands by category |
28
+
29
+ **Common flags**: `-y` (auto-confirm), `--skip-harvest`, `--skip-design`, `--styles <N>`
30
+ **Chain flags**: `--threshold <N>` (default 26/40), `--max-loops <N>` (default 3)
41
31
  </context>
42
32
 
43
- <execution>
44
-
45
- ## Setup
46
-
47
- Before any design work:
48
-
49
- 1. Load context (PRODUCT.md / DESIGN.md) via spec system:
50
- ```bash
51
- maestro spec load --category ui
33
+ ## Command Routing
34
+
35
+ All workflows at `~/.maestro/workflows/impeccable/{command}.md`:
36
+
37
+ | Command | Category | Description |
38
+ |---------|----------|-------------|
39
+ | craft | Build | Shape then build end-to-end — full page/component implementation |
40
+ | shape | Build | Plan UX/UI before code — information architecture, wireframe, visual direction |
41
+ | teach | Build | Set up PRODUCT.md — users, brand, tone, anti-references, principles |
42
+ | document | Build | Generate DESIGN.md from existing code — extract tokens, typography, colors |
43
+ | extract | Build | Pull tokens/components into reusable design system |
44
+ | explore | Build | Multi-style comparison — generate variants, render prototypes, visual compare, select/mix |
45
+ | critique | Evaluate | UX heuristic review with Nielsen scoring (/40) + P0/P1 findings |
46
+ | audit | Evaluate | Technical quality checks — a11y, performance, responsive, code quality (/20) |
47
+ | polish | Refine | Final quality pass — micro-adjustments, pixel perfection |
48
+ | bolder | Refine | Amplify bland/safe designs — stronger personality, more contrast |
49
+ | quieter | Refine | Tone down aggressive/overwhelming designs — reduce visual noise |
50
+ | distill | Refine | Strip to essence — remove clutter, reduce cognitive load |
51
+ | harden | Refine | Production-ready — error states, i18n, edge cases, overflow, empty states |
52
+ | onboard | Refine | First-run flows, empty states, activation paths, progressive disclosure |
53
+ | animate | Enhance | Add purposeful motion — transitions, micro-interactions, scroll effects |
54
+ | colorize | Enhance | Add strategic color — OKLCH palette, contrast, color strategy |
55
+ | typeset | Enhance | Improve typography — scale, hierarchy, font pairing, line length |
56
+ | layout | Enhance | Fix spacing, rhythm, visual hierarchy, alignment, grid |
57
+ | delight | Enhance | Add personality — memorable details, joy, surprise moments |
58
+ | overdrive | Enhance | Push past conventional limits — ambitious visual effects |
59
+ | clarify | Fix | Improve UX copy — labels, error messages, microcopy, CTAs |
60
+ | adapt | Fix | Adapt for devices/screens — responsive, touch targets, breakpoints |
61
+ | optimize | Fix | Fix UI performance — loading, rendering, bundle, paint/layout jank |
62
+ | live | Iterate | Browser-based variant iteration — real-time design in DevTools |
63
+
64
+ Reference files (loaded by workflow as needed, not standalone commands):
65
+ brand.md, product.md, design.md, codex.md, heuristics-scoring.md, cognitive-load.md,
66
+ color-and-contrast.md, interaction-design.md, motion-design.md, personas.md,
67
+ responsive-design.md, spatial-design.md, typography.md, ux-writing.md
68
+
69
+ ## Chains
70
+
71
+ | Chain | Steps | Scenario |
72
+ |-------|-------|----------|
73
+ | build | teach? → explore? → shape → craft → critique → [refine] → audit → polish | 从零新建 |
74
+ | redesign | document → explore → shape → craft → critique → [refine] → audit → polish | 基于现有代码重设计 |
75
+ | improve | critique → [refine] → polish → audit | 迭代改进 |
76
+ | enhance | {cmd...} → critique → [refine] → polish | 定向增强(支持多命令) |
77
+ | launch | harden → adapt → optimize → audit → polish | 全方位上线准备 |
78
+ | harden | harden → audit → polish | 边界加固 |
79
+ | foundation | teach? → explore → document → extract | 纯设计系统建设 |
80
+ | live | live | 实时迭代 |
81
+
82
+ - `?` = conditional: teach if PRODUCT.md missing; explore if DESIGN.md missing and --skip-design not set
83
+ - `[refine]` = quality gate loop: gate fails → auto-select fix commands from findings → re-gate
84
+ - `{cmd...}` = enhance supports multiple commands, comma-separated: `enhance colorize,typeset target`
85
+
86
+ ## Free Text Routing
87
+
88
+ Three-layer priority matching. Stop on first match.
89
+
90
+ ### Layer 1: Intent matches single command → Direct
91
+
92
+ Match user description against Command Routing descriptions. Route to the closest single command.
93
+
94
+ | Intent signal | Command |
95
+ |---------------|---------|
96
+ | review, UX check, heuristic, 评审, 评分 | critique |
97
+ | a11y, audit, accessibility, performance audit, 技术检查 | audit |
98
+ | animation, motion, transitions, 动效, 加动画 | animate |
99
+ | color, palette, contrast, OKLCH, 配色, 颜色 | colorize |
100
+ | typography, font, type scale, 字体, 排版 | typeset |
101
+ | layout, spacing, grid, alignment, 布局, 间距 | layout |
102
+ | tone down, too loud, 太花, 视觉噪音 | quieter |
103
+ | too bland, bolder, more personality, 太平淡 | bolder |
104
+ | simplify, strip, too complex, cognitive load, 太复杂 | distill |
105
+ | polish, micro-adjust, pixel perfect, 打磨 | polish |
106
+ | copy, labels, error messages, UX writing, 文案 | clarify |
107
+ | responsive, mobile, breakpoints, 适配 | adapt |
108
+ | performance, loading, bundle, jank, 性能 | optimize |
109
+ | edge cases, error states, i18n, overflow, 边界 | harden |
110
+ | onboarding, first-run, empty state, 引导 | onboard |
111
+ | delight, personality, joy, memorable, 趣味 | delight |
112
+ | extraordinary, push limits, 炫酷, 极限 | overdrive |
113
+ | plan UX, wireframe, information architecture, 规划 | shape |
114
+ | variants, compare styles, multi-style, 多风格 | explore |
115
+ | PRODUCT.md, brand definition, 品牌定义 | teach |
116
+ | DESIGN.md, design documentation, 设计文档 | document |
117
+ | pull tokens, extract components, 提取组件 | extract |
118
+ | browser iteration, 实时迭代 | live |
119
+
120
+ ### Layer 2: Concrete build task → Direct craft
121
+
122
+ Layer 1 missed, but intent is "build/create specific thing":
123
+ - Has specific file path or target
124
+ - Has detailed visual specs (layout, style, palette)
125
+ - Has reference material
126
+
127
+ → Route to **craft** (Direct)
128
+
129
+ ### Layer 3: Project intent → Chain
130
+
131
+ Layer 1+2 missed, broad project direction:
132
+
133
+ | Pattern | Chain |
134
+ |---------|-------|
135
+ | create, build, new, from scratch | build |
136
+ | redesign, rethink, restyle | redesign |
137
+ | improve, iterate, better | improve |
138
+ | enhance, visual upgrade | enhance |
139
+ | launch, deploy, ship, production-ready | launch |
140
+ | harden, production, edge cases | harden |
141
+ | design system, tokens, design spec | foundation |
142
+ | live, browser | live |
143
+
144
+ Ambiguous + no `-y` → `request_user_input`.
145
+
146
+ <invariants>
147
+ 1. Prerequisites before any design work — never skip context loading or register detection
148
+ 2. Read workflow file before execution — never execute a command without loading its .md
149
+ 3. Interactive gates respected — teach, shape, craft retain user confirmation gates
150
+ 4. status.json before chain steps — session created before any chain step runs
151
+ </invariants>
152
+
153
+ ## Prerequisites
154
+
155
+ Before reading any command workflow:
156
+
157
+ 1. **Context**: `maestro spec load --category ui` → if empty → `maestro impeccable load-context`
158
+ 2. **PRODUCT.md**: missing/placeholder (<200 chars / `[TODO]`) → execute teach first, then resume original task
159
+ 3. **Register**: identify brand/product → Read `~/.maestro/workflows/impeccable/{brand|product}.md`
160
+
161
+ ## Direct Execution
162
+
163
+ 1. Prerequisites ✓
164
+ 2. **显示执行信息**:
52
165
  ```
53
- This surfaces all design context (product + visual) from `.workflow/specs/ui-conventions.md`.
54
-
55
- If specs are not initialized, fall back to the legacy loader:
56
- ```bash
57
- maestro impeccable load-context
166
+ ── Command: {command} ────────────────────
167
+ Category: {category} | Target: {target}
168
+ ─────────────────────────────────────────
58
169
  ```
59
- The loader searches `.workflow/impeccable/` first, then the project root, then `.agents/context/` and `docs/`.
60
- PRODUCT.md and DESIGN.md are stored at `.workflow/impeccable/`.
61
-
62
- 2. Identify register (brand vs product) and load matching reference from `~/.maestro/workflows/impeccable/brand.md` or `product.md`.
63
- 3. If sub-command invoked, load its reference file from `~/.maestro/workflows/impeccable/{command}.md`.
64
-
65
- If PRODUCT.md missing → run `teach` first, then resume original task.
66
-
67
- ## Command Execution
68
-
69
- Route by first argument:
70
- 1. **Matches command** → load `~/.maestro/workflows/impeccable/{command}.md`, follow instructions
71
- 2. **No argument** → show command menu grouped by category
72
- 3. **No match** → general design invocation with full argument as context
73
-
74
- ## Harvest (Post-Execution)
170
+ 3. Read `~/.maestro/workflows/impeccable/{command}.md`
171
+ 4. **TodoWrite 跟踪**:按 workflow 文件中的主要阶段创建 todo
172
+ - 格式:`[{command}] {phase description}`
173
+ - 每个阶段完成后立即标记 completed
174
+ 5. Follow workflow file instructions
175
+ 6. Post: suggest logical next command (teach→shape, shape→craft, craft→critique, etc.)
75
176
 
76
- After command completes (except `live`), unless `--skip-harvest`:
177
+ ## Chain Execution
77
178
 
78
- | Command | Knowhow Type | Prefix |
79
- |---------|-------------|--------|
80
- | craft | decision + asset | DCS- + AST- |
81
- | shape | decision | DCS- |
82
- | teach | reference | REF- |
83
- | document, extract | asset | AST- |
84
- | explore | decision + asset | DCS- + AST- |
85
- | critique, audit, polish, harden, onboard, clarify, adapt, optimize | tip | TIP- |
86
- | colorize, typeset, layout, animate, bolder, quieter, distill, delight, overdrive | decision | DCS- |
87
-
88
- Write knowhow with `category: ui`. For DCS-/AST- types, also create spec index:
89
- ```bash
90
- maestro spec add ui "<title>" "<summary>" --keywords impeccable,<cmd>,... --ref knowhow/<file>
91
- ```
92
-
93
- ## Post-Execution Routing
94
-
95
- After harvest, determine whether this command was invoked as part of a larger pipeline by checking conversation context (e.g., brainstorm Step 3.5, ui-craft chain step).
96
-
97
- **Pipeline context detected** (called via Skill from brainstorm, ui-craft, etc.): Report result and stop. Do NOT suggest next-step commands — the calling flow owns what happens next.
98
-
99
- **Standalone invocation** (user directly ran the command): Show next-step suggestions based on command executed (teach→explore/shape, explore→shape→craft, craft→critique, etc.).
100
-
101
- </execution>
102
-
103
- <shared_design_laws>
104
-
105
- - **Color**: OKLCH only. Never #000/#fff. Pick color strategy first (Restrained → Committed → Full palette → Drenched).
106
- - **Theme**: Write physical scene sentence before choosing dark/light.
107
- - **Typography**: Body 65-75ch. Hierarchy via scale + weight (>=1.25 ratio).
108
- - **Layout**: Vary spacing for rhythm. Cards only when truly best. No nested cards.
109
- - **Motion**: No CSS layout animations. Ease-out exponential curves.
110
- - **Bans**: Side-stripe borders, gradient text, glassmorphism default, hero-metric template, identical card grids, modal as first thought.
111
- - **Copy**: Every word earns its place. No em dashes.
112
- - **AI slop test**: Two-altitude category-reflex check.
113
-
114
- </shared_design_laws>
115
-
116
- <error_codes>
117
- | Code | Severity | Description |
118
- |------|----------|-------------|
119
- | E001 | error | Invalid sub-command |
120
- | E002 | error | No intent or target specified |
121
- | W001 | warning | Harvest failed (command still succeeded) |
122
- | W002 | warning | PRODUCT.md missing, auto-triggering teach |
123
- </error_codes>
124
-
125
- <success_criteria>
126
- - [ ] Sub-command recognized and reference file loaded
127
- - [ ] Context loaded from .workflow/impeccable/ (PRODUCT.md, register identified)
128
- - [ ] Design changes applied to target files
129
- - [ ] Knowhow entry created in .workflow/knowhow/ with category: ui (unless --skip-harvest or live)
130
- - [ ] Spec index entry created for DCS-/AST- types
131
- </success_criteria>
179
+ 1. Prerequisites
180
+ 2. **显示执行链**:解析 chain 定义,输出完整步骤预览:
181
+ ```
182
+ ── Chain: build ──────────────────────────
183
+ 1. teach (conditional: PRODUCT.md missing)
184
+ 2. explore (conditional: DESIGN.md missing)
185
+ 3. shape
186
+ 4. craft
187
+ 5. critique ◆ quality gate (threshold: 26/40)
188
+ 6. [refine] ↺ auto-fix loop (max: 3)
189
+ 7. audit ◆ quality gate (threshold: 14/20)
190
+ 8. polish
191
+ ─────────────────────────────────────────
192
+ Target: {target}
193
+ ```
194
+ - `◆` 标记 quality gate 步骤,显示阈值
195
+ - `↺` 标记 refine loop,显示最大循环次数
196
+ - conditional 步骤注明触发条件
197
+ - 跳过的 conditional 步骤标记 `(skipped)`
198
+ 3. Create session: `.workflow/.maestro/ui-craft-{YYYYMMDD-HHmmss}/status.json`
199
+ ```json
200
+ { "chain_type": "...", "target": "...", "steps": [...], "current_step": 0,
201
+ "gate_history": [], "loop_count": 0, "status": "running" }
202
+ ```
203
+ 4. **TodoWrite 初始化**:为 chain 所有步骤创建 todo 项
204
+ - 每步一项,格式:`[chain] step N: {command} — {description}`
205
+ - conditional 步骤若跳过,立即标记 completed
206
+ - quality gate 步骤标注阈值:`[chain] step 5: critique gate ≥26/40`
207
+ 5. For each step:
208
+ - Read `~/.maestro/workflows/impeccable/{command}.md` execute
209
+ - **步骤开始**:TodoWrite 标记当前步骤 in_progress
210
+ - **步骤完成**:TodoWrite 标记 completed + update status.json (`current_step`, step `status`)
211
+ - **步骤失败**:TodoWrite 标记 completed(with note) + 记录原因
212
+ 6. **Quality gate** (critique/audit steps):
213
+ - Parse score: critique `**Total** | | **N/40**`, audit `**Total** | | **N/20**`
214
+ - Count `[P0]` / `[P1]` tags
215
+ - Pass: score ≥ threshold AND P0 == 0 → advance
216
+ - Fail: collect suggested commands from findings → execute → re-gate
217
+ - Max loops exceeded → force advance with warning
218
+ - TodoWrite:gate 结果记入当前步骤备注(score, P0/P1 count, pass/fail)
219
+ 7. Final report: scores + trend + commands executed
220
+
221
+ ## Resume
222
+
223
+ Scan `.workflow/.maestro/ui-craft-*/status.json` for `status == "running"` most recent → resume from `current_step`.
224
+
225
+ ## Quality Gate — Finding → Command Fallback
226
+
227
+ When findings lack explicit suggested command:
228
+
229
+ | Finding Category | Command |
230
+ |-----------------|---------|
231
+ | Layout, spacing, hierarchy, alignment | layout |
232
+ | Color, contrast, palette | colorize |
233
+ | Typography, font, readability | typeset |
234
+ | Animation, motion, transitions | animate |
235
+ | Copy, labels, UX writing | clarify |
236
+ | Responsive, mobile, breakpoints | adapt |
237
+ | Performance, loading, speed | optimize |
238
+ | Complexity, overload, clutter | distill |
239
+ | Bland, safe, generic | bolder |
240
+ | Aggressive, overwhelming | quieter |
241
+ | Onboarding, empty state | onboard |
242
+ | Edge cases, i18n, error handling | harden |
243
+ | Personality, memorability | delight |
244
+
245
+ Never auto-select: teach, shape, craft, live, document, extract, overdrive, critique, audit.
@@ -158,7 +158,7 @@ Build prev_context from wave 1. Inject strategy + --phases constraint (light mod
158
158
  +-- readiness-report.md
159
159
  ```
160
160
  7. Update state.json milestones + current_milestone
161
- 8. Next-step routing: need analysis -> maestro-analyze; ready to plan -> maestro-plan; UI first -> maestro-ui-craft --chain build; full mode setup -> maestro-init
161
+ 8. Next-step routing: need analysis -> maestro-analyze; ready to plan -> maestro-plan; UI first -> maestro-impeccable build; full mode setup -> maestro-init
162
162
 
163
163
  </actions>
164
164
 
@@ -2,7 +2,7 @@
2
2
  "$schema": "../chain-graph.schema.json",
3
3
  "id": "singles/ui-design",
4
4
  "name": "UI Design",
5
- "description": "UI design-driven production via maestro-ui-craft build chain",
5
+ "description": "UI design-driven production via maestro-impeccable build chain",
6
6
  "version": "1.0.0",
7
7
  "tags": [
8
8
  "maestro",
@@ -18,11 +18,11 @@
18
18
  "nodes": {
19
19
  "ui_design": {
20
20
  "type": "command",
21
- "cmd": "maestro-ui-craft",
21
+ "cmd": "maestro-impeccable",
22
22
  "next": "done",
23
23
  "analyze": false,
24
24
  "args": "\"{phase}\" --chain build",
25
- "description": "UI design-driven production via maestro-ui-craft build chain"
25
+ "description": "UI design-driven production via maestro-impeccable build chain"
26
26
  },
27
27
  "done": {
28
28
  "type": "terminal",
@@ -13,8 +13,8 @@
13
13
  "nodes": {
14
14
  "ui_design": {
15
15
  "type": "command",
16
- "cmd": "maestro-ui-craft",
17
- "description": "UI design-driven production via maestro-ui-craft build chain",
16
+ "cmd": "maestro-impeccable",
17
+ "description": "UI design-driven production via maestro-impeccable build chain",
18
18
  "args": "\"{phase}\" --chain build",
19
19
  "auto_flag": "-y",
20
20
  "next": "plan"
@@ -56,7 +56,7 @@ export const CHAIN_MAP = {
56
56
  'status': [{ cmd: 'manage-status' }],
57
57
  'init': [{ cmd: 'maestro-init' }],
58
58
  'analyze': [{ cmd: 'maestro-analyze', args: '{phase}' }],
59
- 'ui_design': [{ cmd: 'maestro-ui-craft', args: '"{phase}" --chain build' }],
59
+ 'ui_design': [{ cmd: 'maestro-impeccable', args: '"{phase}" --chain build' }],
60
60
  'plan': [{ cmd: 'maestro-plan', args: '{phase}' }],
61
61
  'execute': [{ cmd: 'maestro-execute', args: '{phase}' }],
62
62
  'verify': [{ cmd: 'maestro-verify', args: '{phase}' }],
@@ -93,7 +93,7 @@ export const CHAIN_MAP = {
93
93
  // Multi-step chains
94
94
  'spec-driven': [{ cmd: 'maestro-init' }, { cmd: 'maestro-roadmap', args: '--mode full "{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }],
95
95
  'brainstorm-driven': [{ cmd: 'maestro-brainstorm', args: '"{description}"' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }],
96
- 'ui-craft-build': [{ cmd: 'maestro-ui-craft', args: '"{phase}" --chain build' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }],
96
+ 'ui-craft-build': [{ cmd: 'maestro-impeccable', args: '"{phase}" --chain build' }, { cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }],
97
97
  'full-lifecycle': [{ cmd: 'maestro-plan', args: '{phase}' }, { cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }, { cmd: 'quality-review', args: '{phase}' }, { cmd: 'quality-test', args: '{phase}' }, { cmd: 'maestro-milestone-audit' }, { cmd: 'maestro-milestone-complete' }],
98
98
  'execute-verify': [{ cmd: 'maestro-execute', args: '{phase}' }, { cmd: 'maestro-verify', args: '{phase}' }],
99
99
  'quality-loop': [{ cmd: 'maestro-verify', args: '{phase}' }, { cmd: 'quality-review', args: '{phase}' }, { cmd: 'quality-test', args: '{phase}' }, { cmd: 'quality-debug', args: '--from-uat {phase}' }, { cmd: 'maestro-plan', args: '{phase} --gaps' }, { cmd: 'maestro-execute', args: '{phase}' }],
@@ -115,7 +115,7 @@ export const TASK_TO_CHAIN = {
115
115
  export const AUTO_FLAG_MAP = {
116
116
  'maestro-analyze': '-y',
117
117
  'maestro-brainstorm': '-y',
118
- 'maestro-ui-craft': '-y',
118
+ 'maestro-impeccable': '-y',
119
119
  'maestro-plan': '--auto',
120
120
  'maestro-roadmap': '-y',
121
121
  'quality-test': '--auto-fix',
@@ -1 +1 @@
1
- {"version":3,"file":"chain-map.js","sourceRoot":"","sources":["../../../../../src/server/coordinator/chain-map.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,iEAAiE;AACjE,8EAA8E;AAa9E,8EAA8E;AAC9E,sEAAsE;AACtE,kCAAkC;AAClC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,eAAe,GAA4B;IACtD,CAAC,gBAAgB,EAAK,8BAA8B,CAAC;IACrD,CAAC,QAAQ,EAAa,0BAA0B,CAAC;IACjD,CAAC,eAAe,EAAM,yCAAyC,CAAC;IAChE,CAAC,YAAY,EAAS,4BAA4B,CAAC;IACnD,CAAC,SAAS,EAAY,oDAAoD,CAAC;IAC3E,CAAC,WAAW,EAAU,gDAAgD,CAAC;IACvE,CAAC,MAAM,EAAe,8BAA8B,CAAC;IACrD,CAAC,MAAM,EAAe,kCAAkC,CAAC;IACzD,CAAC,SAAS,EAAY,6CAA6C,CAAC;IACpE,CAAC,QAAQ,EAAa,mCAAmC,CAAC;IAC1D,CAAC,QAAQ,EAAa,qCAAqC,CAAC;IAC5D,CAAC,UAAU,EAAW,wCAAwC,CAAC;IAC/D,CAAC,MAAM,EAAe,mBAAmB,CAAC;IAC1C,CAAC,OAAO,EAAc,4CAA4C,CAAC;IACnE,CAAC,kBAAkB,EAAG,0BAA0B,CAAC;IACjD,CAAC,UAAU,EAAW,6BAA6B,CAAC;IACpD,CAAC,MAAM,EAAe,4BAA4B,CAAC;IACnD,CAAC,kBAAkB,EAAG,uCAAuC,CAAC;IAC9D,CAAC,WAAW,EAAU,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,iEAAiE;AACjE,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,KAAK,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,eAAe,EAAE,CAAC;QAC9C,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;IACtC,CAAC;IACD,OAAO,OAAO,CAAC,CAAC,WAAW;AAC7B,CAAC;AAED,uEAAuE;AACvE,MAAM,UAAU,WAAW,CAAC,QAAgB,EAAE,MAAc,EAAE,KAAoB;IAChF,OAAO,QAAQ;SACZ,OAAO,CAAC,YAAY,EAAE,KAAK,IAAI,EAAE,CAAC;SAClC,OAAO,CAAC,kBAAkB,EAAE,MAAM,CAAC;SACnC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;AACrC,CAAC;AAED,wCAAwC;AACxC,MAAM,UAAU,gBAAgB,CAAC,IAAmB;IAClD,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,QAAQ,CAAC;QACd,KAAK,aAAa;YAChB,OAAO,aAAa,CAAC;QACvB,KAAK,OAAO;YACV,OAAO,OAAO,CAAC;QACjB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,UAAU;YACb,OAAO,UAAU,CAAC;QACpB;YACE,OAAO,aAAa,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"chain-map.js","sourceRoot":"","sources":["../../../../../src/server/coordinator/chain-map.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,iEAAiE;AACjE,8EAA8E;AAa9E,8EAA8E;AAC9E,sEAAsE;AACtE,kCAAkC;AAClC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,eAAe,GAA4B;IACtD,CAAC,gBAAgB,EAAK,8BAA8B,CAAC;IACrD,CAAC,QAAQ,EAAa,0BAA0B,CAAC;IACjD,CAAC,eAAe,EAAM,yCAAyC,C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CAAC;QACd,KAAK,aAAa;YAChB,OAAO,aAAa,CAAC;QACvB,KAAK,OAAO;YACV,OAAO,OAAO,CAAC;QACjB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,UAAU;YACb,OAAO,UAAU,CAAC;QACpB;YACE,OAAO,aAAa,CAAC;IACzB,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maestro-flow",
3
- "version": "0.3.49",
3
+ "version": "0.4.1",
4
4
  "description": "Workflow orchestration CLI with MCP endpoint support and extensible architecture",
5
5
  "type": "module",
6
6
  "imports": {
@@ -15,7 +15,7 @@ Only commands that exist in `~/.claude/commands/` are listed.
15
15
  | `maestro-spec-generate` | requirement | specification | `"{goal}"` |
16
16
  | `maestro-roadmap` | requirement | roadmap | `"{goal}"` |
17
17
  | `maestro-quick` | requirement | code | `"{goal}"` |
18
- | `maestro-ui-craft` | requirement | ui-design | `"{phase}" --chain build` |
18
+ | `maestro-impeccable` | requirement | ui-design | `"{phase}" --chain build` |
19
19
 
20
20
  ## Quality Commands (as skill nodes)
21
21
 
@@ -1,6 +1,6 @@
1
1
  # Design Stage + Bridge
2
2
 
3
- Design system generation via ui-search (BM25 search engine + CSV knowledge base), **visual prototype comparison**, and bridge conversion to Google Stitch DESIGN.md format. Loaded as deferred reading by maestro-ui-craft when build chain enters S_DESIGN_EXPLORE or S_BRIDGE states.
3
+ Design system generation via ui-search (BM25 search engine + CSV knowledge base), **visual prototype comparison**, and bridge conversion to Google Stitch DESIGN.md format. Loaded as deferred reading by maestro-impeccable when build chain enters S_DESIGN_EXPLORE or S_BRIDGE states.
4
4
 
5
5
  ## Architecture
6
6
 
@@ -19,7 +19,7 @@ Generate a design system recommendation using the local ui-search tooling, then
19
19
 
20
20
  - `.workflow/impeccable/PRODUCT.md` exists (from teach step)
21
21
  - Python 3 available
22
- - `workflows/impeccable/ui-search/search.py` exists
22
+ - `~/.maestro/workflows/impeccable/ui-search/search.py` exists (or project-local fallback)
23
23
 
24
24
  ### A1. Extract Query Context from PRODUCT.md
25
25
 
@@ -50,17 +50,17 @@ Adjust keywords to ensure variants diverge meaningfully. If register is `brand`,
50
50
  Resolve the script path relative to the maestro installation:
51
51
 
52
52
  ```bash
53
- # Find the script — prefer project-local, fallback to installed
54
- SCRIPT_PATH="workflows/impeccable/ui-search/search.py"
53
+ # Find the script — prefer installed, fallback to project-local (dev)
54
+ SCRIPT_PATH="$HOME/.maestro/workflows/impeccable/ui-search/search.py"
55
55
  if [ ! -f "$SCRIPT_PATH" ]; then
56
- SCRIPT_PATH="$HOME/.maestro/workflows/impeccable/ui-search/search.py"
56
+ SCRIPT_PATH="workflows/impeccable/ui-search/search.py"
57
57
  fi
58
58
  ```
59
59
 
60
60
  For each variant, call:
61
61
 
62
62
  ```bash
63
- python search.py "${variant_keywords}" --design-system -p "${project_name}" -f markdown
63
+ python "$SCRIPT_PATH" "${variant_keywords}" --design-system -p "${project_name}" -f markdown
64
64
  ```
65
65
 
66
66
  Save each output to a temporary directory as `MASTER_A.md`, `MASTER_B.md`, `MASTER_C.md` etc.
@@ -69,11 +69,11 @@ Optionally gather supplementary context:
69
69
 
70
70
  ```bash
71
71
  # Stack guidelines (if --stack flag provided)
72
- python search.py "layout responsive component" --stack ${stack}
72
+ python "$SCRIPT_PATH" "layout responsive component" --stack ${stack}
73
73
 
74
74
  # Domain supplements
75
- python search.py "${industry}" --domain color
76
- python search.py "${personality}" --domain typography
75
+ python "$SCRIPT_PATH" "${industry}" --domain color
76
+ python "$SCRIPT_PATH" "${personality}" --domain typography
77
77
  ```
78
78
 
79
79
  ### A3.1. Render HTML Prototypes
@@ -82,9 +82,9 @@ For each generated `MASTER_{N}.md`, render a visual HTML prototype using the ren
82
82
 
83
83
  ```bash
84
84
  # Resolve render script — same search order as search.py
85
- RENDER_PATH="workflows/impeccable/ui-search/render-prototype.js"
85
+ RENDER_PATH="$HOME/.maestro/workflows/impeccable/ui-search/render-prototype.js"
86
86
  if [ ! -f "$RENDER_PATH" ]; then
87
- RENDER_PATH="$HOME/.maestro/workflows/impeccable/ui-search/render-prototype.js"
87
+ RENDER_PATH="workflows/impeccable/ui-search/render-prototype.js"
88
88
  fi
89
89
 
90
90
  # Render all variants at once
@@ -195,7 +195,7 @@ After selection, archive rejected variants for knowledge accumulation:
195
195
  ### A5. Persist Selected Variant
196
196
 
197
197
  ```bash
198
- python search.py "${selected_keywords}" --design-system --persist \
198
+ python "$SCRIPT_PATH" "${selected_keywords}" --design-system --persist \
199
199
  -p "${project_name}" --output-dir ".workflow/impeccable"
200
200
  ```
201
201
 
@@ -4,7 +4,7 @@ Generate multiple design system variants, render HTML prototypes for visual comp
4
4
 
5
5
  **Output**: `.workflow/impeccable/design-system/{project}/MASTER.md` (selected variant) + `.workflow/impeccable/DESIGN.md` (bridged, if bridge succeeds)
6
6
 
7
- **Position in pipeline**: After `teach` (PRODUCT.md exists), before `shape` (visual direction locked). Can be called standalone or as part of `ui-craft` build chain.
7
+ **Position in pipeline**: After `teach` (PRODUCT.md exists), before `shape` (visual direction locked). Can be called standalone or as part of `impeccable` build chain.
8
8
 
9
9
  ## Prerequisites
10
10
 
@@ -43,8 +43,8 @@ Adjust keywords to ensure variants diverge meaningfully. If register is `brand`,
43
43
  Resolve script path (project-local → installed fallback):
44
44
 
45
45
  ```bash
46
- SCRIPT_PATH="workflows/impeccable/ui-search/search.py"
47
- [ ! -f "$SCRIPT_PATH" ] && SCRIPT_PATH="$HOME/.maestro/workflows/impeccable/ui-search/search.py"
46
+ SCRIPT_PATH="$HOME/.maestro/workflows/impeccable/ui-search/search.py"
47
+ [ ! -f "$SCRIPT_PATH" ] && SCRIPT_PATH="workflows/impeccable/ui-search/search.py"
48
48
  ```
49
49
 
50
50
  For each variant:
@@ -60,8 +60,8 @@ Save output as `MASTER_A.md`, `MASTER_B.md`, `MASTER_C.md` in a temp directory.
60
60
  Resolve render script:
61
61
 
62
62
  ```bash
63
- RENDER_PATH="workflows/impeccable/ui-search/render-prototype.js"
64
- [ ! -f "$RENDER_PATH" ] && RENDER_PATH="$HOME/.maestro/workflows/impeccable/ui-search/render-prototype.js"
63
+ RENDER_PATH="$HOME/.maestro/workflows/impeccable/ui-search/render-prototype.js"
64
+ [ ! -f "$RENDER_PATH" ] && RENDER_PATH="workflows/impeccable/ui-search/render-prototype.js"
65
65
  ```
66
66
 
67
67
  ```bash
@@ -76,7 +76,7 @@ context = {
76
76
  {milestone_num} → context.milestone_num
77
77
 
78
78
  2. In auto_mode, append per-command flag if not already present:
79
- maestro-analyze / maestro-brainstorm / maestro-roadmap / maestro-ui-craft → -y
79
+ maestro-analyze / maestro-brainstorm / maestro-roadmap / maestro-impeccable → -y
80
80
  maestro-plan → --auto
81
81
  quality-test → --auto-fix
82
82
  quality-retrospective → --auto-yes
@@ -95,7 +95,7 @@ Read `step.engine` from status.json (pre-computed by selection workflow Step 3e)
95
95
  If `step.engine` is missing or null, fallback to auto selection:
96
96
  ```
97
97
  CLI: maestro-plan, maestro-execute, maestro-analyze, maestro-brainstorm,
98
- maestro-roadmap, maestro-ui-craft, quality-refactor
98
+ maestro-roadmap, maestro-impeccable, quality-refactor
99
99
  Internal: everything else (current-session Skill() call)
100
100
  ```
101
101