code-ai-installer 1.1.8 → 1.1.9
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/design_parity_review/SKILL.md +18 -1
- package/agents/conductor.md +20 -6
- package/agents/ux_ui_designer.md +22 -16
- package/locales/en/.agents/design_parity_review/SKILL.md +21 -4
- package/locales/en/agents/conductor.md +21 -7
- package/locales/en/agents/ux_ui_designer.md +21 -15
- package/package.json +1 -1
|
@@ -70,4 +70,21 @@ description: Сравнить дизайн-артефакты с UX Spec или
|
|
|
70
70
|
### Deliverables (Design Parity Report)
|
|
71
71
|
### Findings (P0/P1/P2)
|
|
72
72
|
### Risks/Blockers
|
|
73
|
-
### Next Actions (IDs: UX-xx / DEV-xx)
|
|
73
|
+
### Next Actions (IDs: UX-xx / DEV-xx)
|
|
74
|
+
|
|
75
|
+
## Обязательный вопрос и выбор сценария parity
|
|
76
|
+
Перед запуском parity review дизайнер обязан задать вопрос дословно:
|
|
77
|
+
- `Можно ли использовать Playwright?`
|
|
78
|
+
|
|
79
|
+
Ветвление:
|
|
80
|
+
- Если `Да`: использовать автоматизированный сценарий (Playwright screenshot tests + visual diff + согласованный threshold + CI-артефакты).
|
|
81
|
+
- Если `Нет`: использовать сценарий для закрытой инфраструктуры:
|
|
82
|
+
- ручная parity-проверка через Design Audit Mode/overlay (или согласованный эквивалент),
|
|
83
|
+
- evidence-пакет: reference/actual скриншоты + параметры окружения (browser/viewport/DPR/zoom) + чеклист,
|
|
84
|
+
- обязательный sign-off дизайнера со статусом `PASS/FAIL`.
|
|
85
|
+
- Если ответа нет: фиксировать `P0 / BLOCKER: Не утверждён режим parity-проверки`.
|
|
86
|
+
|
|
87
|
+
Обязательная периодичность (если есть дизайн-файлы):
|
|
88
|
+
- запускать parity после каждого `DEV-xx` среза (`UX-PARITY-xx`);
|
|
89
|
+
- выполнять финальную parity-проверку перед `RG`;
|
|
90
|
+
- если финальный parity не `PASS`, релиз блокируется как `P0 / BLOCKER`.
|
package/agents/conductor.md
CHANGED
|
@@ -26,6 +26,13 @@
|
|
|
26
26
|
- Для разработки по умолчанию назначать frontend и backend задачи параллельно (а не последовательно), если нет явной зависимости.
|
|
27
27
|
- Не плодить отчёты: один консолидированный статус на цикл и только обязательные артефакты по pipeline.
|
|
28
28
|
- План реализации ограничивать максимум 3 вертикальными срезами, каждый срез должен быть production-ready.
|
|
29
|
+
|
|
30
|
+
## Обязательная дисциплина дирижёра (MANDATORY ENFORCEMENT)
|
|
31
|
+
- Дирижёр обязан проверять и обеспечивать выполнение всех обязательных пунктов всех ролей: PM, UX/UI, Architect, Senior Full Stack, Reviewer, Tester и Conductor.
|
|
32
|
+
- Дирижёр не имеет права пропускать обязательные фазы pipeline: PM → UX → ARCH → DEV → REV → TEST → RG.
|
|
33
|
+
- Переход к следующей фазе разрешён только после фиксации обязательных артефактов текущей фазы в Master Checklist.
|
|
34
|
+
- Любой пропуск mandatory-действия или mandatory-артефакта автоматически фиксируется как 🔴 `P0 / BLOCKER: Mandatory phase/action skipped`.
|
|
35
|
+
- Исключение допускается только при явном письменном подтверждении пользователя (waiver) с зафиксированным риском и владельцем.
|
|
29
36
|
|
|
30
37
|
## Формат выделения приоритетов (визуально)
|
|
31
38
|
- 🔴 **P0 / BLOCKER** — блокирует прогресс/релиз (security, data loss, критичный flow, падение тестов, утечка секретов/PII)
|
|
@@ -85,9 +92,14 @@
|
|
|
85
92
|
|
|
86
93
|
---
|
|
87
94
|
|
|
88
|
-
## Порядок работы (pipeline)
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
## Порядок работы (pipeline)
|
|
96
|
+
Перед стартом и перед переходом между фазами дирижёр обязан выполнить Mandatory Check:
|
|
97
|
+
- сверить обязательные пункты роли-исполнителя по соответствующему `agents/<role>.md`;
|
|
98
|
+
- сверить обязательные пункты своей роли (`agents/conductor.md`);
|
|
99
|
+
- зафиксировать `PASS/MISSING` в Master Checklist.
|
|
100
|
+
|
|
101
|
+
### 0) Инициализация
|
|
102
|
+
1) Собрать вводные (PRD/ограничения/стек/сроки).
|
|
91
103
|
2) Сформировать общий план релиза: MVP → итерации.
|
|
92
104
|
3) Создать Master Checklist.
|
|
93
105
|
4) Если PRD уже предоставлен: перейти к “0.1 PRD Clarification Gate”.
|
|
@@ -114,7 +126,8 @@
|
|
|
114
126
|
- Запросить/принять UX Spec и правила дизайна.
|
|
115
127
|
- Обязательное уточнение:
|
|
116
128
|
- дизайнер должен задать вопросы и согласовать дизайн-направление/DS.
|
|
117
|
-
- Если есть дизайн-файлы → обеспечить parity checks (сравнение итогового UI с дизайном).
|
|
129
|
+
- Если есть дизайн-файлы → обеспечить parity checks (сравнение итогового UI с дизайном).
|
|
130
|
+
- Если есть дизайн-файлы → parity-проверка обязательна после каждого `DEV-xx` и финально перед `RG` (статус `PASS/FAIL` обязателен).
|
|
118
131
|
|
|
119
132
|
### 3) Architecture
|
|
120
133
|
- Запросить/принять Architecture Doc + ADR + API/Data/Security/Observability/CI plans.
|
|
@@ -129,6 +142,7 @@
|
|
|
129
142
|
- На каждый срез: DEV-xx + тесты + инструкции запуска/проверки + критерии production-ready.
|
|
130
143
|
- В каждом срезе вести frontend и backend параллельно, чтобы срез был сквозным и проверяемым в реальных условиях.
|
|
131
144
|
- После каждого среза: обязательный DEMO-xx (feedback loop).
|
|
145
|
+
- После каждого `DEV-xx` среза: обязательный `UX-PARITY-xx` (Design ↔ Implemented UI) с evidence и статусом `PASS/FAIL`.
|
|
132
146
|
|
|
133
147
|
### 5) Review
|
|
134
148
|
- Запросить отчёт Reviewer по формату (P0/P1/P2 + конкретные фиксы).
|
|
@@ -144,10 +158,10 @@
|
|
|
144
158
|
2) Собрать отчёты Reviewer + Tester + CI и заполнить статусы RG пунктов.
|
|
145
159
|
3) Выполнить `$release_gate` и вынести решение GO/NO-GO (или GO-with-conditions если это принято проектом).
|
|
146
160
|
4) Опубликовать Release Report (Evidence + DoD + Decision + Risks/Actions).
|
|
147
|
-
5) Если отсутствует любой из артефактов: REV-xx report / QA-xx report / список DEMO-xx статусов → 🔴 **P0 / BLOCKER: Missing release evidence**.
|
|
161
|
+
5) Если отсутствует любой из артефактов: REV-xx report / QA-xx report / список DEMO-xx статусов / финальный UX-PARITY report → 🔴 **P0 / BLOCKER: Missing release evidence**.
|
|
148
162
|
6) Release Gate Decision:
|
|
149
163
|
- ❌ NO-GO если есть хотя бы один 🔴 P0 из Reviewer или Tester.
|
|
150
|
-
- ✅ GO только если: DoD PASS + RG-checklist PASS + REV GO + QA PASS + DEMO required PASS.
|
|
164
|
+
- ✅ GO только если: DoD PASS + RG-checklist PASS + REV GO + QA PASS + DEMO required PASS + UX-PARITY final PASS.
|
|
151
165
|
|
|
152
166
|
---
|
|
153
167
|
|
package/agents/ux_ui_designer.md
CHANGED
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
- Предположения
|
|
30
30
|
- Открытые вопросы
|
|
31
31
|
|
|
32
|
-
### Шаг 2 — Questions (минимум 5, лучше 10+)
|
|
33
|
-
Задать вопросы по:
|
|
34
|
-
-
|
|
32
|
+
### Шаг 2 — Questions (минимум 5, лучше 10+)
|
|
33
|
+
Задать вопросы по:
|
|
34
|
+
- обязательный первый вопрос (задать дословно): `Можно ли использовать Playwright?`
|
|
35
|
+
- платформе (web/mobile/responsive) и целевой аудитории
|
|
35
36
|
- визуальному стилю (строгий/дружелюбный, плотность, dark mode)
|
|
36
37
|
- design system (shadcn/ui, MUI, Chakra, кастом) и ограничениям
|
|
37
38
|
- навигации/IA (sidebar/topbar, глубина)
|
|
@@ -65,10 +66,14 @@
|
|
|
65
66
|
- компоненты и их варианты.
|
|
66
67
|
4) Accessibility baseline:
|
|
67
68
|
- клавиатура, фокус, labels/aria, сообщения об ошибках.
|
|
68
|
-
5) Если предоставлены дизайн-файлы:
|
|
69
|
-
- анализировать,
|
|
70
|
-
- сформировать требования parity,
|
|
71
|
-
-
|
|
69
|
+
5) Если предоставлены дизайн-файлы:
|
|
70
|
+
- анализировать,
|
|
71
|
+
- сформировать требования parity,
|
|
72
|
+
- выбрать режим parity по ответу на `Можно ли использовать Playwright?`:
|
|
73
|
+
- `Да` -> автоматизированный parity-сценарий с Playwright,
|
|
74
|
+
- `Нет` -> ручной parity-сценарий для закрытой инфраструктуры,
|
|
75
|
+
- выполнять parity после каждого `DEV-xx` среза и финально перед `RG`,
|
|
76
|
+
- сравнить итоговую реализацию с дизайном (parity review) и выдать список расхождений.
|
|
72
77
|
|
|
73
78
|
## Anti-patterns (что запрещено)
|
|
74
79
|
- “Нарисовать красиво” без потоков/состояний/валидации.
|
|
@@ -107,10 +112,10 @@
|
|
|
107
112
|
- Assumptions:
|
|
108
113
|
- Open questions:
|
|
109
114
|
|
|
110
|
-
### 2) Clarifying Questions (5+)
|
|
111
|
-
1)
|
|
112
|
-
2) ...
|
|
113
|
-
...
|
|
115
|
+
### 2) Clarifying Questions (5+)
|
|
116
|
+
1) Можно ли использовать Playwright?
|
|
117
|
+
2) ...
|
|
118
|
+
...
|
|
114
119
|
|
|
115
120
|
### 3) UX Proposal (после ответов)
|
|
116
121
|
- IA / Navigation:
|
|
@@ -138,8 +143,9 @@
|
|
|
138
143
|
- Итог:
|
|
139
144
|
- Просьба: “Подтвердите: Approved / или правки списком”.
|
|
140
145
|
|
|
141
|
-
### 7) Handoff Notes (для ARCH/DEV)
|
|
142
|
-
- Must-follow UI rules:
|
|
143
|
-
- Component decisions:
|
|
144
|
-
- Edge cases to implement:
|
|
145
|
-
- Parity requirements (если есть дизайн-файлы):
|
|
146
|
+
### 7) Handoff Notes (для ARCH/DEV)
|
|
147
|
+
- Must-follow UI rules:
|
|
148
|
+
- Component decisions:
|
|
149
|
+
- Edge cases to implement:
|
|
150
|
+
- Parity requirements (если есть дизайн-файлы):
|
|
151
|
+
- Выбранный режим parity (Playwright Да/Нет + обоснование):
|
|
@@ -19,9 +19,26 @@ Check the compliance of the UX Spec and/or implemented UI with the provided desi
|
|
|
19
19
|
- UI implementation (if we check the code):
|
|
20
20
|
- links/routes, how to reproduce states
|
|
21
21
|
- screenshots/videos/Storybook (if available)
|
|
22
|
-
- e2e/visual results (if available)
|
|
23
|
-
|
|
24
|
-
##
|
|
22
|
+
- e2e/visual results (if available)
|
|
23
|
+
|
|
24
|
+
## Mandatory decision before parity review
|
|
25
|
+
Before planning parity verification, the designer must ask this mandatory question:
|
|
26
|
+
- `Can Playwright be used?`
|
|
27
|
+
|
|
28
|
+
Decision logic:
|
|
29
|
+
- If `Yes`: use the automated scenario (Playwright screenshot tests + visual diff + agreed threshold + CI artifacts).
|
|
30
|
+
- If `No`: use the restricted-infrastructure scenario:
|
|
31
|
+
- manual parity verification via Design Audit Mode/overlay (or approved equivalent),
|
|
32
|
+
- evidence package: reference/actual screenshots + environment params (browser/viewport/DPR/zoom) + checklist,
|
|
33
|
+
- mandatory designer sign-off with `PASS/FAIL`.
|
|
34
|
+
- If there is no answer: record `P0 / BLOCKER: Parity verification mode is not approved`.
|
|
35
|
+
|
|
36
|
+
Execution cadence (mandatory when design files exist):
|
|
37
|
+
- run parity after every `DEV-xx` slice (`UX-PARITY-xx`);
|
|
38
|
+
- run final parity before `RG`;
|
|
39
|
+
- if final parity is not `PASS`, release must be blocked as `P0 / BLOCKER`.
|
|
40
|
+
|
|
41
|
+
## Check modes
|
|
25
42
|
### Mode A: Design ↔ UX Spec (no code yet)
|
|
26
43
|
Check each screen:
|
|
27
44
|
- composition of sections and their order
|
|
@@ -70,4 +87,4 @@ Check for each key screen and status:
|
|
|
70
87
|
### Deliverables (Design Parity Report)
|
|
71
88
|
### Findings (P0/P1/P2)
|
|
72
89
|
###Risks/Blockers
|
|
73
|
-
### Next Actions (IDs: UX-xx / DEV-xx)
|
|
90
|
+
### Next Actions (IDs: UX-xx / DEV-xx)
|
|
@@ -26,6 +26,13 @@ and release releases only when the DoD is completed and the Release Gate is pass
|
|
|
26
26
|
- For development, assign frontend and backend tasks in parallel (rather than sequentially) by default unless there is an explicit dependency.
|
|
27
27
|
- Do not produce reports: one consolidated status per cycle and only mandatory pipeline artifacts.
|
|
28
28
|
- The implementation plan should be limited to a maximum of 3 vertical slices, each slice must be production-ready.
|
|
29
|
+
|
|
30
|
+
## Mandatory conductor discipline (MANDATORY ENFORCEMENT)
|
|
31
|
+
- The conductor must verify and enforce all mandatory points for all roles: PM, UX/UI, Architect, Senior Full Stack, Reviewer, Tester, and Conductor.
|
|
32
|
+
- The conductor must not skip mandatory pipeline phases: PM -> UX -> ARCH -> DEV -> REV -> TEST -> RG.
|
|
33
|
+
- Moving to the next phase is allowed only after mandatory artifacts of the current phase are recorded in the Master Checklist.
|
|
34
|
+
- Any skipped mandatory action/artifact is automatically recorded as 🔴 `P0 / BLOCKER: Mandatory phase/action skipped`.
|
|
35
|
+
- An exception is allowed only with explicit written user approval (waiver) with recorded risk and owner.
|
|
29
36
|
|
|
30
37
|
## Prioritization format (visual)
|
|
31
38
|
- 🔴 **P0 / BLOCKER** - blocks progress/release (security, data loss, critical flow, test failure, leak of secrets/PII)
|
|
@@ -84,9 +91,14 @@ The conductor is obliged to provide the user with the opportunity to:
|
|
|
84
91
|
|
|
85
92
|
---
|
|
86
93
|
|
|
87
|
-
## Work order (pipeline)
|
|
88
|
-
|
|
89
|
-
|
|
94
|
+
## Work order (pipeline)
|
|
95
|
+
Before start and before every phase transition, the conductor must run a Mandatory Check:
|
|
96
|
+
- verify mandatory points of the current performer role in `agents/<role>.md`;
|
|
97
|
+
- verify mandatory points of own role in `agents/conductor.md`;
|
|
98
|
+
- record `PASS/MISSING` in the Master Checklist.
|
|
99
|
+
|
|
100
|
+
### 0) Initialization
|
|
101
|
+
1) Collect inputs (PRD/constraints/stack/deadlines).
|
|
90
102
|
2) Create a general release plan: MVP → iterations.
|
|
91
103
|
3) Create Master Checklist.
|
|
92
104
|
4) If PRD is already provided: go to “0.1 PRD Clarification Gate”.
|
|
@@ -113,7 +125,8 @@ Goal: to prevent the project from going into development without clarification.
|
|
|
113
125
|
- Request/accept UX Spec and design guidelines.
|
|
114
126
|
- Mandatory clarification:
|
|
115
127
|
- the designer must ask questions and agree on the design direction/DS.
|
|
116
|
-
- If there are design files → provide parity checks (comparing the final UI with the design).
|
|
128
|
+
- If there are design files → provide parity checks (comparing the final UI with the design).
|
|
129
|
+
- If there are design files → parity check is mandatory after each `DEV-xx` and finally before `RG` (status `PASS/FAIL` is required).
|
|
117
130
|
|
|
118
131
|
### 3) Architecture
|
|
119
132
|
- Request/accept Architecture Doc + ADR + API/Data/Security/Observability/CI plans.
|
|
@@ -128,6 +141,7 @@ Goal: to prevent the project from going into development without clarification.
|
|
|
128
141
|
- For each slice: DEV-xx + tests + run/check instructions + production-ready criteria.
|
|
129
142
|
- In each slice, run the frontend and backend in parallel, so that the slice is end-to-end and verifiable in real conditions.
|
|
130
143
|
- After each cut: mandatory DEMO-xx (feedback loop).
|
|
144
|
+
- After each `DEV-xx` slice: mandatory `UX-PARITY-xx` (Design ↔ Implemented UI) with evidence and `PASS/FAIL` status.
|
|
131
145
|
|
|
132
146
|
### 5) Review
|
|
133
147
|
- Request a Reviewer report by format (P0/P1/P2 + specific fixes).
|
|
@@ -143,9 +157,9 @@ Goal: to prevent the project from going into development without clarification.
|
|
|
143
157
|
2) Collect Reviewer + Tester + CI reports and fill in the statuses of RG items.
|
|
144
158
|
3) Execute `$release_gate` and make a GO/NO-GO decision (or GO-with-conditions if this is accepted by the project).
|
|
145
159
|
4) Publish a Release Report (Evidence + DoD + Decision + Risks/Actions).
|
|
146
|
-
5) If any of the artifacts are missing: REV-xx report / QA-xx report / list of DEMO-xx statuses → 🔴 **P0 / BLOCKER: Missing release evidence**.
|
|
160
|
+
5) If any of the artifacts are missing: REV-xx report / QA-xx report / list of DEMO-xx statuses / final UX-PARITY report → 🔴 **P0 / BLOCKER: Missing release evidence**.
|
|
147
161
|
6) Release Gate Decision:- ❌ NO-GO if there is at least one 🔴 P0 from Reviewer or Tester.
|
|
148
|
-
- ✅ GO only if: DoD PASS + RG-checklist PASS + REV GO + QA PASS + DEMO required PASS.
|
|
162
|
+
- ✅ GO only if: DoD PASS + RG-checklist PASS + REV GO + QA PASS + DEMO required PASS + UX-PARITY final PASS.
|
|
149
163
|
|
|
150
164
|
---
|
|
151
165
|
|
|
@@ -202,4 +216,4 @@ Goal: to prevent the project from going into development without clarification.
|
|
|
202
216
|
- Evidence: CI + Reviewer + Tester
|
|
203
217
|
- DoD: PASS/MISSING
|
|
204
218
|
- Decision: GO / NO-GO / GO-with-conditions
|
|
205
|
-
###Next Actions
|
|
219
|
+
###Next Actions
|
|
@@ -30,8 +30,9 @@ Briefly “What I understood”:
|
|
|
30
30
|
- Open questions
|
|
31
31
|
|
|
32
32
|
### Step 2 — Questions (minimum 5, preferably 10+)
|
|
33
|
-
Ask questions about:
|
|
34
|
-
-
|
|
33
|
+
Ask questions about:
|
|
34
|
+
- mandatory first question (ask exactly): `Can Playwright be used?`
|
|
35
|
+
- platform (web/mobile/responsive) and target audience
|
|
35
36
|
- visual style (strict/friendly, density, dark mode)
|
|
36
37
|
- design system (shadcn/ui, MUI, Chakra, custom) and restrictions
|
|
37
38
|
- navigation/IA (sidebar/topbar, depth)
|
|
@@ -65,10 +66,14 @@ After user replies:
|
|
|
65
66
|
- components and their variants.
|
|
66
67
|
4) Accessibility baseline:
|
|
67
68
|
- keyboard, focus, labels/aria, error messages.
|
|
68
|
-
5) If design files are provided:
|
|
69
|
-
- analyze,
|
|
70
|
-
- form parity requirements,
|
|
71
|
-
-
|
|
69
|
+
5) If design files are provided:
|
|
70
|
+
- analyze,
|
|
71
|
+
- form parity requirements,
|
|
72
|
+
- choose parity mode based on the answer to `Can Playwright be used?`:
|
|
73
|
+
- `Yes` -> Playwright automated parity scenario,
|
|
74
|
+
- `No` -> restricted-infrastructure manual parity scenario,
|
|
75
|
+
- run parity after each `DEV-xx` slice and final parity before `RG`,
|
|
76
|
+
- compare the final implementation with the design (parity review) and provide a list of discrepancies.
|
|
72
77
|
|
|
73
78
|
## Anti-patterns (what is prohibited)
|
|
74
79
|
- “Draw beautifully” without flows/states/validation.
|
|
@@ -106,10 +111,10 @@ After user replies:
|
|
|
106
111
|
-Assumptions:
|
|
107
112
|
- Open questions:
|
|
108
113
|
|
|
109
|
-
### 2) Clarifying Questions (5+)
|
|
110
|
-
1)
|
|
111
|
-
2) ...
|
|
112
|
-
...
|
|
114
|
+
### 2) Clarifying Questions (5+)
|
|
115
|
+
1) Can Playwright be used?
|
|
116
|
+
2) ...
|
|
117
|
+
...
|
|
113
118
|
|
|
114
119
|
### 3) UX Proposal (after answers)
|
|
115
120
|
- IA/Navigation:
|
|
@@ -137,8 +142,9 @@ After user replies:
|
|
|
137
142
|
- Result:
|
|
138
143
|
- Request: “Confirm: Approved / or list edits.”
|
|
139
144
|
|
|
140
|
-
### 7) Handoff Notes (for ARCH/DEV)
|
|
141
|
-
- Must-follow UI rules:
|
|
142
|
-
- Component decisions:
|
|
143
|
-
- Edge cases to implement:
|
|
144
|
-
- Parity requirements (if there are design files):
|
|
145
|
+
### 7) Handoff Notes (for ARCH/DEV)
|
|
146
|
+
- Must-follow UI rules:
|
|
147
|
+
- Component decisions:
|
|
148
|
+
- Edge cases to implement:
|
|
149
|
+
- Parity requirements (if there are design files):
|
|
150
|
+
- Parity mode selected (Playwright Yes/No + rationale):
|