@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: product-planning
3
3
  description: Skill-backed capability for product planning work
4
+ governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
4
5
  ---
5
6
 
6
7
  # Product Planning 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 `product-planning` 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 `product planning`.
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
- - product-planning
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 `product-planning` here.
@@ -1,166 +1,36 @@
1
1
  ---
2
2
  name: project-memory
3
3
  description: Skill-backed capability for project memory work
4
+ governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
4
5
  ---
5
6
 
6
7
  # Project Memory 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
- Provide reusable domain guidance for `project-memory` work.
21
-
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 `project memory`.
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
13
+ Provide reusable domain guidance for managing project memory, context state, and change history in the repository.
82
14
 
83
- Skills standardize domain work; they do not replace execution ownership.
15
+ ## Domain-Specific Guidance
84
16
 
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.
17
+ ### 1. State Tracking (`.workflow-state.json`)
18
+ - Maintain sync with actual branch/pr progress.
19
+ - Mark phases (`bootstrap`, `requirement`, `specification`, `technicalPlan`, `prBreakdown`) as `done` only when their target files are committed.
20
+ - Keep the `current` state object aligned with the active checkout branch.
89
21
 
90
- ## Validation checklist
22
+ ### 2. Context Pruning & Memory Density
23
+ - Keep checklists and task logs concise.
24
+ - Remove obsolete or completed task drafts.
25
+ - Do not let debug dumps, cache directories, or uncompressed log files accumulate in the memory directory (`.ai-workflow/`).
91
26
 
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.
27
+ ### 3. Change Proposals & ADRs
28
+ - Draft ADRs under `docs/adr/` when making structural or architectural decisions.
29
+ - Follow the standard formatting template: Context, Options Considered, Decision, Consequences, and Compliance.
96
30
 
97
-
98
- ## Quality gates
31
+ ## Quality Gates (Domain-Specific)
99
32
 
100
33
  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
- - project-memory
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
162
-
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.
34
+ - The state tracker `.workflow-state.json` is out of sync with git status.
35
+ - Cache or debug logs are left uncleaned in the workspace.
36
+ - A structural architectural change has been implemented without an ADR.
@@ -1,166 +1,17 @@
1
1
  ---
2
2
  name: prompt-engineer
3
3
  description: Skill-backed capability for prompt engineer work
4
+ governance: dist-assets/docs/policies/SKILLS_COMMON_GOVERNANCE.md
4
5
  ---
5
6
 
6
7
  # Prompt Engineer 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 `prompt-engineer` 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 `prompt engineer`.
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
- - prompt-engineer
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 `prompt-engineer` here.