@williambeto/ai-workflow 2.2.0 → 2.2.6

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.
@@ -1,166 +1,17 @@
1
1
  ---
2
2
  name: technical-leadership
3
3
  description: Skill-backed capability for technical leadership work
4
+ governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
4
5
  ---
5
6
 
6
7
  # Technical Leadership Skill Contract
7
8
 
8
-
9
- ## Runtime compatibility
10
-
11
- This file is plain Markdown and must remain usable as project instructions in OpenCode, Codex, Gemini, and Claude.
12
-
13
- Do not use runtime-specific tool syntax unless the file is explicitly a runtime adapter/template.
14
-
15
- If the runtime cannot call another agent directly, provide a useful handoff with exact next action instead of pretending delegation happened.
16
-
9
+ This skill operates under the rules defined in the [Skills Common Governance Policy](../../docs/policies/SKILLS_COMMON_GOVERNANCE.md).
17
10
 
18
11
  ## Purpose
19
12
 
20
13
  Provide reusable domain guidance for `technical-leadership` work.
21
14
 
22
- ## Behavioral contract core
23
-
24
- These rules are loaded directly because they are too important to depend on optional reference lookup.
25
-
26
- - Preserve the requested scope and existing behavior unless change is explicit.
27
- - Use the owning primary agent; a skill supplies domain judgment and must not pretend that delegation occurred.
28
- - Load the project conventions and the domain references named by this skill before making domain decisions.
29
- - Do not invent capabilities, integrations, metrics, users, evidence, validation, security properties, or completed work.
30
- - Use the smallest safe execution mode and keep artifacts proportional.
31
- - Implementation support must include relevant documentation, tests, validation, and current-task evidence.
32
- - A blocking finding remains `FAIL_QUALITY_GATE` or `BLOCKED`; never soften it to obtain completion.
33
-
34
- ## Required context
35
-
36
- Before domain work, inspect the files, conventions, scripts, constraints, and existing behavior directly relevant to the request. If required context is unavailable, return a precise handoff or blocker instead of guessing.
37
-
38
- ## Finalization requirements
39
-
40
- - Return the canonical status and concrete evidence to the owning agent.
41
- - Write-capable work requires a safe non-protected branch, observed relevant validation, and no unresolved material failure. Workflow files are not proof by themselves.
42
- - Do not self-approve work that requires an independent validation owner.
43
-
44
- ## Execution modes
45
-
46
- ```txt
47
- readonly → Inspect → Report → Recommendation
48
- quick → Branch recovery/check → Implement → Document if behavior or usage changed → Test/Validate → Evidence
49
- standard → Compact requirement → Compact technical plan → Implement → Document → Test/Validate → Compact evidence
50
- full → Spec draft → Spec review → Technical plan → PR breakdown → Implementation → Documentation → Test/Validate → Evidence report
51
- ```
52
-
53
- ## Use when
54
-
55
- Use this skill when the owning primary agent needs domain support related to `technical leadership`.
56
-
57
- ## Do not use when
58
-
59
- - The task belongs to another primary owner.
60
- - The skill would bypass Branch Gate, validation, or evidence.
61
- - The skill would expand scope beyond the user request.
62
-
63
- ## What good looks like
64
-
65
- - clear scope;
66
- - correct file placement;
67
- - evidence-based output;
68
- - validation appropriate to the selected mode;
69
- - useful handoff when outside domain.
70
-
71
- ## Execution checklist
72
-
73
- 1. Confirm the primary owner.
74
- 2. Confirm the execution mode.
75
- 3. Confirm scope.
76
- 4. Apply domain-specific guidance.
77
- 5. Identify validation and evidence needs.
78
- 6. Return output to the primary owner.
79
-
80
-
81
- ## Workflow guardrails
82
-
83
- Skills standardize domain work; they do not replace execution ownership.
84
-
85
- - Do not bypass Branch Gate Auto-Recovery.
86
- - Do not tell the owner to skip documentation, tests, validation, or evidence.
87
- - For implementation support, require modern UI quality when user-facing UI is involved.
88
- - Return guidance to the owning primary agent/command so execution can continue.
89
-
90
- ## Validation checklist
91
-
92
- - Evidence is concrete.
93
- - Validation is run or marked NOT_RUN with reason.
94
- - Tests, documentation, and UI impact are addressed using explicit criteria: docs for runtime/API/config/user-facing changes; tests for behavior/data/validation/API helpers; UI checks for user-facing surfaces.
95
- - Output is not generic.
96
-
97
-
98
- ## Quality gates
99
-
100
- Do not mark `PASS` when:
101
-
102
- - validation is missing or invented;
103
- - automated tests were technically viable but ignored or downgraded to `NOT_RUN`;
104
- - documentation was required but ignored;
105
- - user-facing UI is poor/raw or lacks relevant states;
106
- - files are in the wrong location;
107
- - scope expanded without approval;
108
- - the response is generic and not useful;
109
- - release/publish/tag/deploy action lacks explicit approval.
110
-
111
-
112
-
113
- ## Severity scale
114
-
115
- Use this scale whenever the skill classifies findings or risks.
116
-
117
- ### High
118
-
119
- High severity means likely to break runtime behavior, safety gates, user-facing functionality, data integrity, release safety, or required docs/tests/evidence.
120
-
121
- ### Medium
122
-
123
- Medium severity means likely to reduce quality, maintainability, consistency, accessibility, or validation confidence without immediately breaking execution.
124
-
125
- ### Low
126
-
127
- Low severity means wording, clarity, minor polish, or non-blocking maintainability improvement.
128
-
129
- ## Expected output
130
-
131
- ```md
132
- ## Skill Support Report
133
-
134
- Status: PASS | PASS_WITH_NOTES | FAIL_QUALITY_GATE | BLOCKED | NOT_RUN
135
-
136
- Skill:
137
- - technical-leadership
138
-
139
- Mode:
140
- - readonly | quick | standard | full
141
-
142
- Guidance:
143
- - ...
144
-
145
- Evidence:
146
- - ...
147
-
148
- Recommendation:
149
- - ...
150
- ```
151
-
152
- ## Quality failure examples
153
-
154
- - Claiming success without evidence.
155
- - Editing files on a protected branch.
156
- - Ignoring correct file placement.
157
- - Producing generic advice when executable guidance is required.
158
- - Over-engineering a simple task.
159
- - Skipping relevant UI/test/docs quality when the task requires it.
160
-
161
- ## Stop conditions
15
+ ## Domain-Specific Guidance
162
16
 
163
- - Stop when domain guidance is complete.
164
- - Do not complete as “done” when another owner is required; return the needed owner/command so the owning agent can continue when the runtime can act.
165
- - Stop if required evidence is missing.
166
- - Stop if asked to bypass safety gates.
17
+ Add specific capability guidelines, validation checklists, or design rules related to `technical-leadership` here.
@@ -1,202 +1,17 @@
1
1
  ---
2
2
  name: ui-ux-design
3
- description: Skill-backed capability for ui ux design work
3
+ description: Skill-backed capability for ui ux-design work
4
+ governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
4
5
  ---
5
6
 
6
7
  # Ui Ux Design Skill Contract
7
8
 
8
-
9
- ## Runtime compatibility
10
-
11
- This file is plain Markdown and must remain usable as project instructions in OpenCode, Codex, Gemini, and Claude.
12
-
13
- Do not use runtime-specific tool syntax unless the file is explicitly a runtime adapter/template.
14
-
15
- If the runtime cannot call another agent directly, provide a useful handoff with exact next action instead of pretending delegation happened.
16
-
9
+ This skill operates under the rules defined in the [Skills Common Governance Policy](../../docs/policies/SKILLS_COMMON_GOVERNANCE.md).
17
10
 
18
11
  ## Purpose
19
12
 
20
13
  Provide reusable domain guidance for `ui-ux-design` work.
21
14
 
22
- ## Behavioral contract core
23
-
24
- These rules are loaded directly because they are too important to depend on optional reference lookup.
25
-
26
- - Preserve the requested scope and existing behavior unless change is explicit.
27
- - Use the owning primary agent; a skill supplies domain judgment and must not pretend that delegation occurred.
28
- - Load the project conventions and the domain references named by this skill before making domain decisions.
29
- - Do not invent capabilities, integrations, metrics, users, evidence, validation, security properties, or completed work.
30
- - Use the smallest safe execution mode and keep artifacts proportional.
31
- - Implementation support must include relevant documentation, tests, validation, and current-task evidence.
32
- - A blocking finding remains `FAIL_QUALITY_GATE` or `BLOCKED`; never soften it to obtain completion.
33
-
34
- ## Required context
35
-
36
- Before domain work, inspect the files, conventions, scripts, constraints, and existing behavior directly relevant to the request. If required context is unavailable, return a precise handoff or blocker instead of guessing.
37
-
38
- ## Finalization requirements
39
-
40
- - Return the canonical status and concrete evidence to the owning agent.
41
- - Write-capable work requires a safe non-protected branch, observed relevant validation, and no unresolved material failure. Workflow files are not proof by themselves.
42
- - Do not self-approve work that requires an independent validation owner.
43
-
44
- ## Execution modes
45
-
46
- ```txt
47
- readonly → Inspect → Report → Recommendation
48
- quick → Branch recovery/check → Implement → Document if behavior or usage changed → Test/Validate → Evidence
49
- standard → Compact requirement → Compact technical plan → Implement → Document → Test/Validate → Compact evidence
50
- full → Spec draft → Spec review → Technical plan → PR breakdown → Implementation → Documentation → Test/Validate → Evidence report
51
- ```
52
-
53
- ## Use when
54
-
55
- Use this skill when the owning primary agent needs domain support related to `ui ux design`.
56
-
57
- ## Do not use when
58
-
59
- - The task belongs to another primary owner.
60
- - The skill would bypass Branch Gate, validation, or evidence.
61
- - The skill would expand scope beyond the user request.
62
-
63
- ## What good looks like
64
-
65
- - clear scope;
66
- - correct file placement;
67
- - evidence-based output;
68
- - validation appropriate to the selected mode;
69
- - useful handoff when outside domain.
70
-
71
- ## Execution checklist
72
-
73
- 1. Confirm the primary owner.
74
- 2. Confirm the execution mode.
75
- 3. Confirm scope.
76
- 4. Apply domain-specific guidance.
77
- 5. Identify validation and evidence needs.
78
- 6. Return output to the primary owner.
79
-
80
-
81
-
82
- ## Runtime safety
83
-
84
- This skill supports the owning agent. It does not bypass branch, documentation, testing, validation, evidence, UI, security, or release gates.
85
-
86
- ## Workflow guardrails
87
-
88
- Skills standardize domain work; they do not replace execution ownership.
89
-
90
- - Do not bypass Branch Gate Auto-Recovery.
91
- - Do not tell the owner to skip documentation, tests, validation, or evidence.
92
- - For implementation support, require modern UI quality when user-facing UI is involved.
93
- - Return guidance to the owning primary agent/command so execution can continue.
94
-
95
- ## Validation checklist
96
-
97
- - Evidence is concrete.
98
- - Validation is run or marked NOT_RUN with reason.
99
- - Tests, documentation, and UI impact are addressed using explicit criteria: docs for runtime/API/config/user-facing changes; tests for behavior/data/validation/API helpers; UI checks for user-facing surfaces.
100
- - Output is not generic.
101
-
102
-
103
- ## Quality gates
104
-
105
- Do not mark `PASS` when:
106
-
107
- - validation is missing or invented;
108
- - automated tests were technically viable but ignored or downgraded to `NOT_RUN`;
109
- - documentation was required but ignored;
110
- - user-facing UI is poor/raw or lacks relevant states;
111
- - files are in the wrong location;
112
- - scope expanded without approval;
113
- - the response is generic and not useful;
114
- - release/publish/tag/deploy action lacks explicit approval.
115
-
116
-
117
-
118
- ## UI/UX behavioral quality baseline
119
-
120
- Before creating a user-facing page, define:
121
-
122
- - audience and user problem;
123
- - product promise and primary action;
124
- - page narrative from identity to proof to action;
125
- - one visual direction and a compact design system.
126
-
127
- Quality rules:
128
-
129
- - The first viewport must read as one intentional composition, not a collection of unrelated cards, badges, statistics, and CTAs.
130
- - Avoid generic SaaS layouts as the automatic default. Cards are a tool, not the page structure.
131
- - Create specific product identity through typography, scale, spacing, color roles, imagery, and copy.
132
- - Keep hierarchy, contrast, responsive behavior, focus states, reduced motion, and relevant empty/error/loading/success states coherent.
133
- - Do not fabricate metrics, customers, testimonials, certifications, prices, uptime, security, official-data access, APIs, or support capabilities. Label fictional, mock, and conceptual content close to the claim.
134
- - A footer-only disclaimer does not neutralize misleading claims elsewhere on the page.
135
- - Separate visual critique (identity, hierarchy, narrative, differentiation) from technical UI audit (accessibility, overflow, states, performance).
136
- - Render and inspect desktop and mobile output. Fix visible quality problems before returning `PASS`.
137
-
138
- ## UI/UX references to load
139
-
140
- For landing pages, redesigns, and new product identity work, open the four frontend-quality references under `docs/references/frontend-quality/` before implementation. For smaller UI changes, load only the relevant reference. Evidence must list which references were used.
141
-
142
- ## UI workflow profiles
143
-
144
- - `frontend-product`: guide public product/marketing experiences without enforcing a fixed SaaS template.
145
- - `frontend-utility`: guide focused tools and operational flows; commercial sections are out of scope unless requested.
146
-
147
- A visual review fails only for objective defects or an unmet explicit requirement: unloaded CSS, severe layout breakage, unusable interaction, critical contrast/accessibility failure, missing required states, or unsupported claims. Simplicity, whitespace, fewer sections, or a different style from a prior benchmark are not failures by themselves.
148
-
149
- ## Severity scale
150
-
151
- Use this scale whenever the skill classifies findings or risks.
152
-
153
- ### High
154
-
155
- High severity means likely to break runtime behavior, safety gates, user-facing functionality, data integrity, release safety, or required docs/tests/evidence.
156
-
157
- ### Medium
158
-
159
- Medium severity means likely to reduce quality, maintainability, consistency, accessibility, or validation confidence without immediately breaking execution.
160
-
161
- ### Low
162
-
163
- Low severity means wording, clarity, minor polish, or non-blocking maintainability improvement.
164
-
165
- ## Expected output
166
-
167
- ```md
168
- ## Skill Support Report
169
-
170
- Status: PASS | PASS_WITH_NOTES | FAIL_QUALITY_GATE | BLOCKED | NOT_RUN
171
-
172
- Skill:
173
- - ui-ux-design
174
-
175
- Mode:
176
- - readonly | quick | standard | full
177
-
178
- Guidance:
179
- - ...
180
-
181
- Evidence:
182
- - ...
183
-
184
- Recommendation:
185
- - ...
186
- ```
187
-
188
- ## Quality failure examples
189
-
190
- - Claiming success without evidence.
191
- - Editing files on a protected branch.
192
- - Ignoring correct file placement.
193
- - Producing generic advice when executable guidance is required.
194
- - Over-engineering a simple task.
195
- - Skipping relevant UI/test/docs quality when the task requires it.
196
-
197
- ## Stop conditions
15
+ ## Domain-Specific Guidance
198
16
 
199
- - Stop when domain guidance is complete.
200
- - Do not complete as “done” when another owner is required; return the needed owner/command so the owning agent can continue when the runtime can act.
201
- - Stop if required evidence is missing.
202
- - Stop if asked to bypass safety gates.
17
+ Add specific capability guidelines, validation checklists, or design rules related to `ui-ux-design` here.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williambeto/ai-workflow",
3
- "version": "2.2.0",
3
+ "version": "2.2.6",
4
4
  "description": "AI Workflow Kit — OpenCode-first software delivery workflow with agents, commands, skills, validation, and evidence",
5
5
  "license": "MIT",
6
6
  "author": "José Willams",
@@ -62,9 +62,13 @@
62
62
  "test:e2e": "node tests/validate-e2e.mjs",
63
63
  "pack:safe": "node internal/validate/pack-safe.mjs",
64
64
  "validate:behavioral-contracts": "node internal/validate/validate-behavioral-contracts.mjs",
65
+ "validate:token-economy": "node internal/validate/validate-token-economy.mjs",
66
+ "validate:upgrade": "node internal/validate/validate-upgrade-path.mjs",
67
+ "validate:visual": "node internal/validate/validate-visual.mjs",
65
68
  "validate:release-readiness": "node internal/validate/validate-release-readiness.mjs"
66
69
  },
67
70
  "devDependencies": {
71
+ "@playwright/test": "^1.60.0",
68
72
  "@semantic-release/changelog": "^6.0.3",
69
73
  "@semantic-release/git": "^10.0.1",
70
74
  "@semantic-release/github": "^12.0.8",
@@ -72,6 +76,7 @@
72
76
  "ajv": "^8.20.0",
73
77
  "ajv-formats": "^3.0.1",
74
78
  "markdownlint-cli": "^0.48.0",
79
+ "playwright": "^1.60.0",
75
80
  "semantic-release": "^25.0.3",
76
81
  "vitest": "^4.1.7"
77
82
  }