@juancr11/sibu 0.12.1 → 0.12.2
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/package.json
CHANGED
package/templates/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"templateVersion": "
|
|
2
|
+
"templateVersion": "94",
|
|
3
3
|
"templates": {
|
|
4
4
|
"AGENTS.md": {
|
|
5
5
|
"version": "28",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
"skills/technical-design-writer/SKILL.md": {
|
|
75
|
-
"version": "
|
|
75
|
+
"version": "18",
|
|
76
76
|
"description": "Mandatory technical design writer skill installed once at the shared .agents/skills workspace path.",
|
|
77
77
|
"changes": [
|
|
78
|
-
"
|
|
78
|
+
"Strengthens technical design interviews to resolve material implementation questions before drafting and replaces open questions with risks/tradeoffs."
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
"skills/typescript/SKILL.md": {
|
|
@@ -156,10 +156,10 @@
|
|
|
156
156
|
]
|
|
157
157
|
},
|
|
158
158
|
"skills/ux-expert/SKILL.md": {
|
|
159
|
-
"version": "
|
|
159
|
+
"version": "8",
|
|
160
160
|
"description": "Selectable UX expert skill for UI-changing features, responsive design, flows, states, accessibility, and binding mockups.",
|
|
161
161
|
"changes": [
|
|
162
|
-
"
|
|
162
|
+
"Strengthens UX interviews to resolve material experience questions before drafting and replaces open UX questions with risks/tradeoffs."
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
165
|
}
|
|
@@ -62,6 +62,20 @@ Require the feature brief to name one or more existing Deep Modules. Preserve th
|
|
|
62
62
|
|
|
63
63
|
If the feature has UI impact, require `docs/features/<feature-slug>/ux.md`. If it is missing, stop and ask the user to create the UX spec with `ux-expert` first.
|
|
64
64
|
|
|
65
|
+
## Interview posture
|
|
66
|
+
|
|
67
|
+
Be deliberately interrogative before drafting. The technical design should reflect resolved implementation direction, not risky assistant assumptions.
|
|
68
|
+
|
|
69
|
+
- Ask one focused question at a time when repository artifacts and source docs do not resolve a material technical ambiguity.
|
|
70
|
+
- Ask as many questions as required to reach complete practical understanding; do not optimize for a short interview.
|
|
71
|
+
- If a question can be answered by reading repository artifacts, inspect those artifacts instead of asking.
|
|
72
|
+
- Prefer follow-up questions over filling gaps with plausible invention.
|
|
73
|
+
- When useful, provide your recommended answer or a concise default assumption with the question so the user can confirm, correct, or reject it quickly.
|
|
74
|
+
- Treat "enough context" as: selected Deep Modules, affected code paths, entrypoints, implementation boundaries, important state/data changes, validation approach, and meaningful risks are clear enough to defend in the design.
|
|
75
|
+
- If the user gives a partial answer, acknowledge the useful part and ask the next most important unresolved question.
|
|
76
|
+
- Do not ask a large questionnaire all at once.
|
|
77
|
+
- Do not draft a technical design with an `Open Questions` section; resolve material questions during the interview, or record only known risks/tradeoffs after decisions are made.
|
|
78
|
+
|
|
65
79
|
## UX binding rule
|
|
66
80
|
|
|
67
81
|
For UI-related features, `ux.md` is source context, not inspiration. If `ux.md` includes mockups, treat those mockups as binding UI goals for structure, hierarchy, visible content, dominant interactions, major visual emphasis, and breakpoint-specific layout. Do not redesign the mockups in the technical design. Translate them into implementation direction and call out only technical feasibility issues, missing states, or conflicts that require UX revision.
|
|
@@ -79,7 +93,7 @@ Prefer:
|
|
|
79
93
|
- concise decisions over long explanation
|
|
80
94
|
- concrete file/module impact over abstract architecture language
|
|
81
95
|
- current codebase patterns over speculative redesigns
|
|
82
|
-
-
|
|
96
|
+
- asking enough focused follow-up questions to resolve material ambiguity before drafting
|
|
83
97
|
- delegation to the right skills instead of duplicating their guidance
|
|
84
98
|
- preserving the feature brief's selected Deep Modules
|
|
85
99
|
|
|
@@ -108,8 +122,9 @@ Examples:
|
|
|
108
122
|
1. Read the required grounding artifacts.
|
|
109
123
|
2. Inspect the relevant existing code before proposing changes.
|
|
110
124
|
3. Identify only the implementation decisions that matter.
|
|
111
|
-
4.
|
|
112
|
-
5.
|
|
125
|
+
4. Ask one focused follow-up question at a time until material technical ambiguity is resolved.
|
|
126
|
+
5. Write the doc at `docs/features/<feature-slug>/technical_design.md`.
|
|
127
|
+
6. Keep it concise. Remove any section that does not help implementation.
|
|
113
128
|
|
|
114
129
|
## Output location
|
|
115
130
|
|
|
@@ -150,8 +165,8 @@ Use this structure as a starting point. Delete sections that do not add value.
|
|
|
150
165
|
## Validation
|
|
151
166
|
<Focused test/build/manual checks.>
|
|
152
167
|
|
|
153
|
-
## Risks /
|
|
154
|
-
- <Only
|
|
168
|
+
## Risks / Tradeoffs
|
|
169
|
+
- <Only meaningful risks or tradeoffs that remain after decisions are resolved.>
|
|
155
170
|
```
|
|
156
171
|
|
|
157
172
|
## Quality bar
|
|
@@ -41,6 +41,20 @@ Read `docs/product-vision.md` and apply only relevant implications: target user,
|
|
|
41
41
|
|
|
42
42
|
Require a product artifact such as `docs/features/<feature-slug>/feature_brief.md` that defines goal, scope, and acceptance criteria. If the user has only an idea, route to `feature-brief-writer` first. If the artifact says there is no UI impact, say so and do not invent UI work.
|
|
43
43
|
|
|
44
|
+
## Interview posture
|
|
45
|
+
|
|
46
|
+
Be deliberately interrogative before drafting. The UX spec should reflect resolved experience direction, not assistant-invented assumptions.
|
|
47
|
+
|
|
48
|
+
- Ask one focused question at a time when product artifacts do not resolve a material UX ambiguity.
|
|
49
|
+
- Ask as many questions as required to reach complete practical understanding; do not optimize for a short interview.
|
|
50
|
+
- If a question can be answered by reading repository artifacts, inspect those artifacts instead of asking.
|
|
51
|
+
- Prefer follow-up questions over filling gaps with plausible invention.
|
|
52
|
+
- When useful, provide your recommended answer or a concise default assumption with the question so the user can confirm, correct, or reject it quickly.
|
|
53
|
+
- Treat "enough context" as: affected surfaces, target user flow, content priority, primary actions, responsive behavior, critical states, accessibility constraints, visual direction, and meaningful UX risks are clear enough to defend in the spec and mockups.
|
|
54
|
+
- If the user gives a partial answer, acknowledge the useful part and ask the next most important unresolved question.
|
|
55
|
+
- Do not ask a large questionnaire all at once.
|
|
56
|
+
- Do not draft a UX spec with an `Open Questions` section; resolve material questions during the interview, or record only known risks/tradeoffs after decisions are made.
|
|
57
|
+
|
|
44
58
|
## Mockup authority rule
|
|
45
59
|
|
|
46
60
|
For UI-changing features, the UX artifact must include concrete mockups for affected screens, states, and breakpoints. Mockups are the source of truth for structure, hierarchy, visible content, dominant interactions, and major visual emphasis; downstream technical design, stories, implementation plans, and implementation must follow them unless this UX spec is revised. UX work is incomplete if a materially affected state/breakpoint lacks a mockup.
|
|
@@ -64,8 +78,9 @@ Design phone first, then re-evaluate tablet and desktop separately. Choose diffe
|
|
|
64
78
|
3. Design phone-first flow, information architecture, and layout.
|
|
65
79
|
4. Re-evaluate tablet and desktop independently.
|
|
66
80
|
5. Define interaction states, failure/recovery behavior, accessibility requirements, and creative direction.
|
|
67
|
-
6.
|
|
68
|
-
7.
|
|
81
|
+
6. Ask one focused follow-up question at a time until material UX ambiguity is resolved.
|
|
82
|
+
7. Create concrete mockups for primary screens, affected breakpoints, and critical states.
|
|
83
|
+
8. Write implementation-ready UX guidance only: flows, hierarchy, states, accessibility, visual direction.
|
|
69
84
|
|
|
70
85
|
## Output location
|
|
71
86
|
|
|
@@ -112,8 +127,8 @@ Use only helpful sections from this shape:
|
|
|
112
127
|
## Visual Direction
|
|
113
128
|
## Creative Opportunities
|
|
114
129
|
## Implementation Notes
|
|
130
|
+
## Risks / Tradeoffs
|
|
115
131
|
## UI Authority Rule
|
|
116
|
-
## Open UX Questions
|
|
117
132
|
```
|
|
118
133
|
|
|
119
134
|
The Binding Mockups section is authoritative for downstream work unless this UX spec is revised.
|