@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.
- package/README.md +12 -16
- package/dist-assets/docs/full-documentation.md +0 -1
- package/dist-assets/docs/policies/PROCEDURE_UI_CHECKLIST.md +0 -1
- package/dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md +85 -0
- package/dist-assets/runbooks/how-to-use-skills.md +0 -1
- package/dist-assets/skills/architecture/SKILL.md +4 -153
- package/dist-assets/skills/backend-development/SKILL.md +4 -153
- package/dist-assets/skills/deployment/SKILL.md +4 -153
- package/dist-assets/skills/design-principles/SKILL.md +4 -153
- package/dist-assets/skills/documentation/SKILL.md +4 -158
- package/dist-assets/skills/frontend-development/SKILL.md +4 -212
- package/dist-assets/skills/full-stack-development/SKILL.md +5 -154
- package/dist-assets/skills/optimize-tokens/SKILL.md +4 -153
- package/dist-assets/skills/pr-workflow/SKILL.md +4 -153
- package/dist-assets/skills/product-discovery/SKILL.md +4 -153
- package/dist-assets/skills/product-planning/SKILL.md +4 -153
- package/dist-assets/skills/project-memory/SKILL.md +19 -149
- package/dist-assets/skills/prompt-engineer/SKILL.md +4 -153
- package/dist-assets/skills/qa-workflow/SKILL.md +4 -173
- package/dist-assets/skills/refactoring/SKILL.md +4 -153
- package/dist-assets/skills/release-workflow/SKILL.md +4 -153
- package/dist-assets/skills/spec-driven-development/SKILL.md +5 -154
- package/dist-assets/skills/technical-leadership/SKILL.md +4 -153
- package/dist-assets/skills/ui-ux-design/SKILL.md +5 -190
- package/package.json +6 -1
|
@@ -1,166 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-principles
|
|
3
3
|
description: Skill-backed capability for design principles work
|
|
4
|
+
governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Design Principles 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 `design-principles` work.
|
|
21
14
|
|
|
22
|
-
##
|
|
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 `design principles`.
|
|
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
|
-
- design-principles
|
|
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
|
-
|
|
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 `design-principles` here.
|
|
@@ -1,171 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: documentation
|
|
3
3
|
description: Skill-backed capability for documentation work
|
|
4
|
+
governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Documentation 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 `documentation` work.
|
|
21
14
|
|
|
22
|
-
##
|
|
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 `documentation`.
|
|
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
|
-
## Severity scale
|
|
119
|
-
|
|
120
|
-
Use this scale whenever the skill classifies findings or risks.
|
|
121
|
-
|
|
122
|
-
### High
|
|
123
|
-
|
|
124
|
-
High severity means likely to break runtime behavior, safety gates, user-facing functionality, data integrity, release safety, or required docs/tests/evidence.
|
|
125
|
-
|
|
126
|
-
### Medium
|
|
127
|
-
|
|
128
|
-
Medium severity means likely to reduce quality, maintainability, consistency, accessibility, or validation confidence without immediately breaking execution.
|
|
129
|
-
|
|
130
|
-
### Low
|
|
131
|
-
|
|
132
|
-
Low severity means wording, clarity, minor polish, or non-blocking maintainability improvement.
|
|
133
|
-
|
|
134
|
-
## Expected output
|
|
135
|
-
|
|
136
|
-
```md
|
|
137
|
-
## Skill Support Report
|
|
138
|
-
|
|
139
|
-
Status: PASS | PASS_WITH_NOTES | FAIL_QUALITY_GATE | BLOCKED | NOT_RUN
|
|
140
|
-
|
|
141
|
-
Skill:
|
|
142
|
-
- documentation
|
|
143
|
-
|
|
144
|
-
Mode:
|
|
145
|
-
- readonly | quick | standard | full
|
|
146
|
-
|
|
147
|
-
Guidance:
|
|
148
|
-
- ...
|
|
149
|
-
|
|
150
|
-
Evidence:
|
|
151
|
-
- ...
|
|
152
|
-
|
|
153
|
-
Recommendation:
|
|
154
|
-
- ...
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
## Quality failure examples
|
|
158
|
-
|
|
159
|
-
- Claiming success without evidence.
|
|
160
|
-
- Editing files on a protected branch.
|
|
161
|
-
- Ignoring correct file placement.
|
|
162
|
-
- Producing generic advice when executable guidance is required.
|
|
163
|
-
- Over-engineering a simple task.
|
|
164
|
-
- Skipping relevant UI/test/docs quality when the task requires it.
|
|
165
|
-
|
|
166
|
-
## Stop conditions
|
|
15
|
+
## Domain-Specific Guidance
|
|
167
16
|
|
|
168
|
-
|
|
169
|
-
- 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.
|
|
170
|
-
- Stop if required evidence is missing.
|
|
171
|
-
- Stop if asked to bypass safety gates.
|
|
17
|
+
Add specific capability guidelines, validation checklists, or design rules related to `documentation` here.
|
|
@@ -1,225 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontend-development
|
|
3
3
|
description: Skill-backed capability for frontend development work
|
|
4
|
+
governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Frontend Development 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 `frontend-development` work.
|
|
21
14
|
|
|
22
|
-
##
|
|
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 `frontend development`.
|
|
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
|
-
|
|
119
|
-
## Frontend behavioral quality baseline
|
|
120
|
-
|
|
121
|
-
For new React, Vue, Angular, or comparable frontend applications:
|
|
122
|
-
|
|
123
|
-
- Default to TypeScript unless the user explicitly requests JavaScript or the existing project is JavaScript-only.
|
|
124
|
-
- Define the product audience, primary task, main promise, and primary action before composing the page.
|
|
125
|
-
- Use a small explicit design system: color roles, typography roles, spacing rhythm, control states, and responsive breakpoints.
|
|
126
|
-
- Deliver a deliberate composition appropriate to the selected workflow profile. Simplicity is acceptable; raw scaffolds, unloaded CSS, or unusable primary flows are not.
|
|
127
|
-
- Implement only states that correspond to real behavior; do not add artificial loading to synchronous local logic.
|
|
128
|
-
- Distinguish real, mock, hybrid, and conceptual data visibly. Never present mock results as a real external lookup.
|
|
129
|
-
- Validate identifiers, dates, currency, status, API mappings, and domain labels against the actual data contract.
|
|
130
|
-
- Provide a useful `README.md` for a new runnable app. Create or update `DESIGN.md` only when reusable visual decisions are established.
|
|
131
|
-
- Run tests, build, and typecheck. Inspect rendered desktop and mobile output before completion.
|
|
132
|
-
- Reject unsupported metrics, testimonials, prices, SLAs, security claims, official-data claims, or integrations unless they are clearly framed as conceptual/fictitious according to the truthfulness policy.
|
|
133
|
-
|
|
134
|
-
## Frontend workflow profiles
|
|
135
|
-
|
|
136
|
-
- `frontend-product`: product and marketing surfaces. Focus on audience, promise, primary action, truthful copy, responsive render, and accessibility. Do not impose pricing, testimonials, a fixed section count, or a complex hero.
|
|
137
|
-
- `frontend-utility`: search, validation, forms, dashboards, calculators, and focused tools. Focus on the primary flow and applicable operational states. Do not add marketing sections or artificial loading.
|
|
138
|
-
|
|
139
|
-
Quality review must use observable checks. Do not label work “modern”, “premium”, or “polished” as evidence. Record CSS loaded, desktop render, mobile render, primary interaction, UI states, and critical render failures.
|
|
140
|
-
|
|
141
|
-
## Frontend references to load selectively
|
|
142
|
-
|
|
143
|
-
For landing pages, redesigns, or visually important frontend work, load:
|
|
144
|
-
|
|
145
|
-
- `docs/references/frontend-quality/landing-page-quality-checklist.md`
|
|
146
|
-
- `docs/references/frontend-quality/product-copy-truthfulness.md`
|
|
147
|
-
- `docs/references/frontend-quality/visual-composition-patterns.md`
|
|
148
|
-
- `docs/references/frontend-quality/quality-failure-examples.md`
|
|
149
|
-
|
|
150
|
-
For a small bug fix, load only the references relevant to the changed surface. Record loaded references in the delivery evidence.
|
|
151
|
-
|
|
152
|
-
## Test setup defaults for implementation
|
|
153
|
-
|
|
154
|
-
When implementing a frontend feature or app:
|
|
155
|
-
|
|
156
|
-
- New frontend projects default to TypeScript.
|
|
157
|
-
- Existing JavaScript projects preserve their current language unless migration is explicitly requested and planned.
|
|
158
|
-
- TypeScript implementations require a working typecheck command and passing typecheck evidence.
|
|
159
|
-
|
|
160
|
-
When implementing a JS/TS frontend feature or app:
|
|
161
|
-
|
|
162
|
-
1. Inspect existing scripts and configs.
|
|
163
|
-
2. If no test setup exists and the task creates/controls the frontend project, add a minimal test setup.
|
|
164
|
-
3. Add tests for the most deterministic logic first: formatters, validators, data mappers, fetch/API wrappers with mocked fetch, counters, and recursive render helpers.
|
|
165
|
-
4. Add component tests only when useful and not over-scoped.
|
|
166
|
-
5. Run build and tests.
|
|
167
|
-
6. If tests are viable but missing, report `FAIL_QUALITY_GATE`.
|
|
168
|
-
|
|
169
|
-
Do not finish with `Tests: NOT_RUN` merely because the baseline had no test framework.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
## Severity scale
|
|
173
|
-
|
|
174
|
-
Use this scale whenever the skill classifies findings or risks.
|
|
175
|
-
|
|
176
|
-
### High
|
|
177
|
-
|
|
178
|
-
High severity means likely to break runtime behavior, safety gates, user-facing functionality, data integrity, release safety, or required docs/tests/evidence.
|
|
179
|
-
|
|
180
|
-
### Medium
|
|
181
|
-
|
|
182
|
-
Medium severity means likely to reduce quality, maintainability, consistency, accessibility, or validation confidence without immediately breaking execution.
|
|
183
|
-
|
|
184
|
-
### Low
|
|
185
|
-
|
|
186
|
-
Low severity means wording, clarity, minor polish, or non-blocking maintainability improvement.
|
|
187
|
-
|
|
188
|
-
## Expected output
|
|
189
|
-
|
|
190
|
-
```md
|
|
191
|
-
## Skill Support Report
|
|
192
|
-
|
|
193
|
-
Status: PASS | PASS_WITH_NOTES | FAIL_QUALITY_GATE | BLOCKED | NOT_RUN
|
|
194
|
-
|
|
195
|
-
Skill:
|
|
196
|
-
- frontend-development
|
|
197
|
-
|
|
198
|
-
Mode:
|
|
199
|
-
- readonly | quick | standard | full
|
|
200
|
-
|
|
201
|
-
Guidance:
|
|
202
|
-
- ...
|
|
203
|
-
|
|
204
|
-
Evidence:
|
|
205
|
-
- ...
|
|
206
|
-
|
|
207
|
-
Recommendation:
|
|
208
|
-
- ...
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
## Quality failure examples
|
|
212
|
-
|
|
213
|
-
- Claiming success without evidence.
|
|
214
|
-
- Editing files on a protected branch.
|
|
215
|
-
- Ignoring correct file placement.
|
|
216
|
-
- Producing generic advice when executable guidance is required.
|
|
217
|
-
- Over-engineering a simple task.
|
|
218
|
-
- Skipping relevant UI/test/docs quality when the task requires it.
|
|
219
|
-
|
|
220
|
-
## Stop conditions
|
|
15
|
+
## Domain-Specific Guidance
|
|
221
16
|
|
|
222
|
-
|
|
223
|
-
- 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.
|
|
224
|
-
- Stop if required evidence is missing.
|
|
225
|
-
- Stop if asked to bypass safety gates.
|
|
17
|
+
Add specific capability guidelines, validation checklists, or design rules related to `frontend-development` here.
|