@juancr11/sibu 0.16.0 → 0.17.0
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/bin/modules/sync-review/action-prompt.js +14 -1
- package/bin/modules/sync-review/handler.js +54 -7
- package/bin/modules/sync-review/index.js +1 -0
- package/bin/modules/sync-review/unsupported-agent-cleanup.js +57 -0
- package/bin/modules/template-catalog-rendering/index.js +1 -1
- package/bin/modules/template-catalog-rendering/templates.js +65 -1
- package/bin/modules/workflow-mutation-readiness/workflow-mutation-readiness.js +9 -0
- package/bin/modules/workflow-target-planning/catalog.js +83 -26
- package/bin/modules/workflow-target-planning/workflow-targets.js +2 -1
- package/package.json +1 -1
- package/templates/.claude/agents/sibu-implementation-executor.md +30 -0
- package/templates/.claude/agents/sibu-implementation-planner.md +30 -0
- package/templates/.codex/agents/sibu-implementation-executor.toml +30 -0
- package/templates/.codex/agents/sibu-implementation-planner.toml +30 -0
- package/templates/.gemini/agents/sibu-implementation-executor.md +30 -0
- package/templates/.gemini/agents/sibu-implementation-planner.md +30 -0
- package/templates/AGENTS.md +4 -2
- package/templates/manifest.json +94 -17
- package/templates/skills/ai-implementation-executor-toolbox/SKILL.md +78 -0
- package/templates/skills/ai-implementation-plan-executor/SKILL.md +64 -108
- package/templates/skills/ai-implementation-planner/SKILL.md +55 -138
- package/templates/skills/ai-implementation-planner-toolbox/SKILL.md +78 -0
- package/templates/skills/business-domain-model-writer/SKILL.md +313 -0
- package/templates/skills/capabilities-map-writer/SKILL.md +271 -0
- package/templates/skills/deep-module-map-writer/SKILL.md +50 -14
- package/templates/skills/feature-brief-writer/SKILL.md +72 -32
- package/templates/skills/technical-design-writer/SKILL.md +10 -10
- package/templates/skills/ux-expert/SKILL.md +62 -17
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ux-expert
|
|
3
|
-
description: Use this skill for UX/UI design after product definition when a feature has UI changes. Requires an approved Markdown product artifact (feature brief) that defines goals, scope, and acceptance criteria; if none exists, route to feature-brief-writer (and product-vision-writer if missing). Use for senior UX/UI direction, phone-first responsive design,
|
|
3
|
+
description: Use this skill for UX/UI design after product definition when a feature has UI changes. Requires Product Vision, Business Domain Model, and an approved Markdown product artifact (feature brief) that defines goals, scope, and acceptance criteria; if none exists, route to feature-brief-writer (and product-vision-writer or business-domain-model-writer if missing). Use for senior UX/UI direction, phone-first responsive design, user flows, information architecture, wireframes, concrete mockups, interaction states, accessibility, visual direction, creative UI concepts, and implementation-ready UI guidance.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# ux-expert
|
|
7
7
|
|
|
8
|
-
Act as a senior UX/UI designer. Turn an approved product artifact into usable,
|
|
8
|
+
Act as a senior UX/UI designer. Turn an approved product artifact into usable, simple, smooth, phone-first, implementation-ready UI direction. Design the experience before the visuals. Do not include code, file paths, architecture, data model, API, or framework-specific guidance.
|
|
9
9
|
|
|
10
10
|
## Pipeline Contract
|
|
11
11
|
|
|
12
12
|
### What this skill needs
|
|
13
13
|
|
|
14
14
|
- `docs/product-vision.md`.
|
|
15
|
+
- `docs/business-domain-model.md`.
|
|
15
16
|
- A product artifact such as `docs/features/<feature-slug>/feature_brief.md` that defines goals, scope, and acceptance criteria.
|
|
16
17
|
- Confirmation from the request or source artifact that the feature has UI impact.
|
|
17
18
|
- Enough user or product context to design affected surfaces, flows, responsive layouts, states, accessibility requirements, and binding mockups.
|
|
@@ -24,6 +25,7 @@ Act as a senior UX/UI designer. Turn an approved product artifact into usable, e
|
|
|
24
25
|
|
|
25
26
|
- The user only has a product idea; direct the user to `feature-brief-writer` first.
|
|
26
27
|
- `docs/product-vision.md` is missing; direct the user to `product-vision-writer` first.
|
|
28
|
+
- `docs/business-domain-model.md` is missing; direct the user to `business-domain-model-writer` first.
|
|
27
29
|
- The product artifact is missing, unclear, or lacks goals, scope, and acceptance criteria.
|
|
28
30
|
- The feature or request has no UI impact; say so and do not invent UI work.
|
|
29
31
|
- The request belongs to another pipeline stage, such as product definition, technical design, Scrum planning, implementation planning, or implementation execution.
|
|
@@ -33,14 +35,47 @@ Act as a senior UX/UI designer. Turn an approved product artifact into usable, e
|
|
|
33
35
|
- Do not create or update product visions, Deep Module Maps, feature briefs, technical designs, Epics, User Stories, implementation plans, or production code.
|
|
34
36
|
- Do not make architecture, framework, API, data model, or file-path decisions.
|
|
35
37
|
- Do not treat UX work as optional for UI-changing features; concrete mockups are required.
|
|
36
|
-
- Do not skip the interview or
|
|
38
|
+
- Do not skip the interview or final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
|
|
37
39
|
|
|
38
40
|
## Required grounding
|
|
39
41
|
|
|
40
42
|
Read `docs/product-vision.md` and apply only relevant implications: target user, principles, voice, boundaries, trust expectations, success signal. Do not restate the full vision.
|
|
41
43
|
|
|
44
|
+
Read `docs/business-domain-model.md` and apply only relevant domain language, user-facing concepts, business rules, states, workflows, and boundaries. Use this grounding to keep labels, flows, interaction states, errors, recovery paths, and boundaries aligned with reviewed business meaning.
|
|
45
|
+
|
|
42
46
|
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
47
|
|
|
48
|
+
## UX quality bar
|
|
49
|
+
|
|
50
|
+
Optimize for a clear, low-friction experience rather than a visually impressive page. Strong UX should feel obvious, calm, and task-oriented.
|
|
51
|
+
|
|
52
|
+
Apply these principles:
|
|
53
|
+
|
|
54
|
+
- **User intent first:** every visible element must help the target user understand, decide, or act in the current scenario.
|
|
55
|
+
- **Hierarchy before density:** make the primary task, current state, next action, and most important content unmistakable at a glance.
|
|
56
|
+
- **Progressive disclosure:** hide secondary details until they are useful; avoid dashboards, cards, stats, helper text, banners, or settings that do not serve the immediate task.
|
|
57
|
+
- **Predictable structure:** use consistent regions for navigation, app bars/context, body content, and primary actions; do not rearrange meaningfully similar screens without a user benefit.
|
|
58
|
+
- **Direct manipulation and feedback:** interactions should respond immediately, show available actions, confirm state changes, and provide recovery paths for errors or destructive actions.
|
|
59
|
+
- **Adaptive, not stretched:** design for compact, medium, and expanded spaces as different experiences when useful; do not merely scale a desktop layout down or stretch a phone layout wide.
|
|
60
|
+
- **Accessible by default:** preserve readable text, sufficient contrast, visible focus, keyboard/screen-reader paths, clear labels, large enough touch targets, and reduced-motion alternatives.
|
|
61
|
+
- **End-user wording:** every word visible in mockups or UX guidance for on-screen copy must be aimed at the target end user described in the product vision, Business Domain Model, and feature brief. If wording is for developers, agents, stakeholders, or internal process, remove it from the user-facing experience.
|
|
62
|
+
- **Plain, minimal copy:** keep labels, headings, helper text, empty states, and errors as short and simple as possible. Prefer familiar words over clever phrasing.
|
|
63
|
+
- **Motion with purpose:** use motion only to preserve continuity, orient the user, acknowledge input, or make state change legible; never rely on motion as the only cue.
|
|
64
|
+
- **Distinctive but quiet:** add personality through spacing, shape, color, illustration, or tone only after the flow is simple and understandable.
|
|
65
|
+
|
|
66
|
+
## UX anti-bloat rules
|
|
67
|
+
|
|
68
|
+
When designing or reviewing a screen, actively remove:
|
|
69
|
+
|
|
70
|
+
- wording not meant for the target end user, including implementation details, model reasoning, system status, raw IDs, internal labels, stakeholder notes, or process notes
|
|
71
|
+
- decorative cards, metrics, charts, or panels that are not needed for the current user decision
|
|
72
|
+
- repeated actions, duplicate explanations, competing CTAs, and “just in case” affordances
|
|
73
|
+
- wordy headings, helper text, empty states, errors, or button labels when fewer simpler words are enough
|
|
74
|
+
- premature advanced settings, filters, sorting, customization, or onboarding steps
|
|
75
|
+
- components added because a design system has them rather than because the user needs them
|
|
76
|
+
|
|
77
|
+
If removing an element would not reduce the user's ability to complete the task, omit it from the mockup.
|
|
78
|
+
|
|
44
79
|
## Interview posture
|
|
45
80
|
|
|
46
81
|
Be deliberately interrogative before drafting. The UX spec should reflect resolved experience direction, not assistant-invented assumptions.
|
|
@@ -65,24 +100,29 @@ For UI-changing features, the UX artifact must include concrete mockups for affe
|
|
|
65
100
|
|
|
66
101
|
Creating/updating the Markdown UX artifact is not a code change. Write it without pre-change confirmation when the target is clear and requested. Ask only when context is missing, the target is ambiguous, overwrite/destruction is possible, or code changes are required.
|
|
67
102
|
|
|
68
|
-
## UX principles
|
|
69
|
-
|
|
70
|
-
Design for user experience first, component reuse second. Prefer clear task completion, strong hierarchy, obvious affordances/feedback/recovery, progressive disclosure, accessibility, resilient states, and distinctive but shippable UI. Avoid generic SaaS/page-builder layouts, decorative clarity loss, desktop-first thinking, product scope changes, and technical architecture decisions.
|
|
71
|
-
|
|
72
103
|
## Phone-first responsive rule
|
|
73
104
|
|
|
74
105
|
Design phone first, then re-evaluate tablet and desktop separately. Choose different layouts/components across breakpoints when they improve hierarchy, interaction, density, touch/pointer behavior, or content priority. Share components only when they remain the best experience.
|
|
75
106
|
|
|
107
|
+
Responsive guidance:
|
|
108
|
+
|
|
109
|
+
- Compact: one main task at a time; prioritize the primary action, essential state, and short content.
|
|
110
|
+
- Medium: add supporting context only when it reduces navigation or improves comparison.
|
|
111
|
+
- Expanded: use panes, rails, or persistent context only when they improve orientation; avoid filling space with low-value content.
|
|
112
|
+
- Keep readable line lengths, clear grouping, consistent spacing, and touch/pointer targets large enough for imprecise input.
|
|
113
|
+
|
|
76
114
|
## Workflow
|
|
77
115
|
|
|
78
|
-
1. Read product vision and feature brief.
|
|
116
|
+
1. Read product vision, Business Domain Model, and feature brief.
|
|
79
117
|
2. Identify affected UI surfaces and whether UI work is valid.
|
|
80
|
-
3.
|
|
81
|
-
4.
|
|
82
|
-
5.
|
|
83
|
-
6.
|
|
84
|
-
7.
|
|
85
|
-
8.
|
|
118
|
+
3. Apply Business Domain Model language, user-facing concepts, rules, states, workflows, and boundaries to the target end user's job: current state, primary decision, primary action, feedback, and recovery.
|
|
119
|
+
4. Design the phone-first flow, information architecture, and layout.
|
|
120
|
+
5. Re-evaluate tablet and desktop independently.
|
|
121
|
+
6. Define interaction states, failure/recovery behavior, accessibility requirements, and visual direction.
|
|
122
|
+
7. Ask one focused follow-up question at a time until material UX ambiguity is resolved.
|
|
123
|
+
8. Create concrete mockups for primary screens, affected breakpoints, and critical states.
|
|
124
|
+
9. Run the anti-bloat and copy check: remove anything not needed for target-user understanding, decision, action, feedback, or recovery; simplify every visible phrase.
|
|
125
|
+
10. Write implementation-ready UX guidance only: flows, hierarchy, states, accessibility, visual direction, and binding mockups.
|
|
86
126
|
|
|
87
127
|
## Output location
|
|
88
128
|
|
|
@@ -90,7 +130,7 @@ Write to `docs/features/<feature-slug>/ux.md` using the feature artifact slug. K
|
|
|
90
130
|
|
|
91
131
|
## Mockup requirements
|
|
92
132
|
|
|
93
|
-
Mockups may be low fidelity but must be concrete: layout regions, visible content, hierarchy/emphasis, key controls, major state differences, and breakpoint changes. Use annotated text/box wireframes when enough. Show decisions downstream implementation must not improvise.
|
|
133
|
+
Mockups may be low fidelity but must be concrete: layout regions, visible final-user-facing content, hierarchy/emphasis, key controls, major state differences, and breakpoint changes. Use annotated text/box wireframes when enough. Show decisions downstream implementation must not improvise.
|
|
94
134
|
|
|
95
135
|
## Output format
|
|
96
136
|
|
|
@@ -101,10 +141,16 @@ Use only helpful sections from this shape:
|
|
|
101
141
|
|
|
102
142
|
## Input Product Artifact
|
|
103
143
|
## Product Vision Implications
|
|
144
|
+
## Business Domain Model Grounding
|
|
104
145
|
## UX Intent
|
|
105
146
|
## Affected Surfaces
|
|
106
147
|
## Phone-First User Flow
|
|
107
148
|
## Information Architecture
|
|
149
|
+
## Content Rules
|
|
150
|
+
- All visible copy is for the target end user from the product vision, Business Domain Model, and feature brief.
|
|
151
|
+
- Use the fewest plain words that preserve clarity, confidence, and actionability.
|
|
152
|
+
- Exclude internal, technical, process, stakeholder, or AI-agent wording from user-facing surfaces.
|
|
153
|
+
|
|
108
154
|
## Phone Layout
|
|
109
155
|
## Tablet Layout
|
|
110
156
|
## Desktop Layout
|
|
@@ -127,8 +173,7 @@ Use only helpful sections from this shape:
|
|
|
127
173
|
## Interaction States
|
|
128
174
|
## Accessibility Requirements
|
|
129
175
|
## Visual Direction
|
|
130
|
-
##
|
|
131
|
-
## Implementation Notes
|
|
176
|
+
## Anti-Bloat Review
|
|
132
177
|
## Risks / Tradeoffs
|
|
133
178
|
## UI Authority Rule
|
|
134
179
|
```
|