ui-director-skill 0.1.0 → 2.1.1
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/CHANGELOG.md +16 -0
- package/INSTALL.md +42 -91
- package/README.md +48 -284
- package/SKILL.md +25 -109
- package/assets/bundle-profiles.json +178 -0
- package/assets/capabilities.json +260 -0
- package/assets/install-manifest.json +27 -0
- package/assets/project-profile.example.json +23 -0
- package/assets/quality-rubric.json +29 -0
- package/assets/routing-rules.json +68 -0
- package/assets/upstreams.json +100 -0
- package/bin/ui.mjs +148 -26
- package/config/optional-skills.json +16 -0
- package/config/quality-rubric.json +13 -0
- package/examples/usage.md +25 -27
- package/install.py +303 -0
- package/lib/core.mjs +60 -9
- package/lib/workflows.mjs +168 -0
- package/package.json +8 -3
- package/references/delivery-contract.md +4 -0
- package/references/design-intelligence.md +2 -0
- package/references/integrations/security-policy.md +2 -0
- package/references/integrations/skill-manager.md +2 -0
- package/references/integrations/upstream-adapters.md +4 -0
- package/references/integrations.md +2 -0
- package/references/motion-interaction.md +2 -0
- package/references/orchestration/context-management.md +4 -0
- package/references/orchestration/iteration-loop.md +8 -0
- package/references/orchestration/routing.md +8 -0
- package/references/platforms/desktop.md +3 -0
- package/references/platforms/mobile.md +3 -0
- package/references/platforms/web.md +3 -0
- package/references/quality-assurance.md +2 -0
- package/references/routing.md +2 -58
- package/references/stages/design-research.md +2 -0
- package/references/stages/design-system.md +4 -0
- package/references/stages/deslop.md +2 -0
- package/references/stages/motion-interaction.md +31 -0
- package/references/stages/prototyping.md +2 -0
- package/references/stages/visual-direction.md +2 -0
- package/references/stages/visual-validation.md +6 -0
- package/references/visual-direction.md +2 -0
- package/skill_manager.py +655 -0
- package/templates/DECISIONS.md +3 -0
- package/templates/DESIGN.md +26 -0
- package/templates/PRODUCT.md +9 -0
- package/templates/REVIEW.md +19 -0
- package/references/project-inspection.md +0 -25
- package/references/quality-gates.md +0 -59
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Product context
|
|
2
|
+
Draft — verify before use.
|
|
3
|
+
|
|
4
|
+
- Audience and primary job: TODO
|
|
5
|
+
- Primary user flow: TODO
|
|
6
|
+
- Product type and platform: TODO
|
|
7
|
+
- Scope and non-goals: TODO
|
|
8
|
+
- Existing assets and constraints: TODO
|
|
9
|
+
- Success criteria and required evidence: TODO
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Design review
|
|
2
|
+
Scope / platform / mode / deliverable: TBD
|
|
3
|
+
Actual providers and fallback: TBD
|
|
4
|
+
Baseline / final evidence: NOT VERIFIED
|
|
5
|
+
Repair rounds: 0
|
|
6
|
+
|
|
7
|
+
| Severity | Finding | Evidence | Fix | Retest |
|
|
8
|
+
|---|---|---|---|---|
|
|
9
|
+
|
|
10
|
+
| Gate | Status | Evidence / reason |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| Scope | NOT VERIFIED | |
|
|
13
|
+
| Functionality | NOT VERIFIED | |
|
|
14
|
+
| Safety | NOT VERIFIED | |
|
|
15
|
+
| Required evidence | NOT VERIFIED | |
|
|
16
|
+
| Critical accessibility | NOT VERIFIED | |
|
|
17
|
+
|
|
18
|
+
Score and coverage: NOT VERIFIED
|
|
19
|
+
Remaining risks: TBD
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Project Inspection
|
|
2
|
-
|
|
3
|
-
For an existing product, inspect before designing.
|
|
4
|
-
|
|
5
|
-
Look for:
|
|
6
|
-
|
|
7
|
-
1. Framework and rendering stack.
|
|
8
|
-
2. Styling system: CSS, Tailwind, CSS-in-JS, native theme, etc.
|
|
9
|
-
3. Component library and local reusable components.
|
|
10
|
-
4. Semantic color tokens and theme variables.
|
|
11
|
-
5. Typography scale and font usage.
|
|
12
|
-
6. Spacing, radius, elevation/shadow and breakpoint conventions.
|
|
13
|
-
7. Representative neighboring screens/components.
|
|
14
|
-
8. Existing interaction patterns: dialogs, forms, tables, navigation, toasts, loading and errors.
|
|
15
|
-
|
|
16
|
-
Priority order:
|
|
17
|
-
|
|
18
|
-
1. Existing design system.
|
|
19
|
-
2. Existing product consistency.
|
|
20
|
-
3. Supplied design/specification.
|
|
21
|
-
4. Explicit user requirements.
|
|
22
|
-
5. Professional UI/UX principles.
|
|
23
|
-
6. External inspiration.
|
|
24
|
-
|
|
25
|
-
Never create a parallel component/token system just because a specialist skill suggests one.
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Quality Gates
|
|
2
|
-
|
|
3
|
-
Substantial UI work is not done merely because code compiles.
|
|
4
|
-
|
|
5
|
-
## G1 — Consistency
|
|
6
|
-
|
|
7
|
-
- Existing primitives/components reused where appropriate.
|
|
8
|
-
- Semantic tokens preferred over arbitrary values.
|
|
9
|
-
- Typography, spacing, radius and states match the product.
|
|
10
|
-
|
|
11
|
-
## G2 — Hierarchy
|
|
12
|
-
|
|
13
|
-
- Page purpose is obvious.
|
|
14
|
-
- Primary action is discoverable.
|
|
15
|
-
- Reading order and grouping are coherent.
|
|
16
|
-
- Avoid card-in-card and separator noise.
|
|
17
|
-
|
|
18
|
-
## G3 — Usability
|
|
19
|
-
|
|
20
|
-
- Loading, empty, disabled and error states are handled when relevant.
|
|
21
|
-
- Labels and actions are unambiguous.
|
|
22
|
-
- Destructive or irreversible actions have appropriate safeguards.
|
|
23
|
-
|
|
24
|
-
## G4 — Accessibility
|
|
25
|
-
|
|
26
|
-
- Keyboard navigation works where applicable.
|
|
27
|
-
- Visible focus states exist.
|
|
28
|
-
- Controls have meaningful accessible names.
|
|
29
|
-
- Contrast and hit targets are reasonable.
|
|
30
|
-
- Reduced-motion preferences are respected where motion is used.
|
|
31
|
-
|
|
32
|
-
## G5 — Responsive / Stress
|
|
33
|
-
|
|
34
|
-
- No accidental horizontal overflow.
|
|
35
|
-
- Long text/localization does not destroy layout.
|
|
36
|
-
- Small screens reflow instead of simply shrinking.
|
|
37
|
-
- Zoom and content growth remain usable.
|
|
38
|
-
|
|
39
|
-
## G6 — Polish
|
|
40
|
-
|
|
41
|
-
- Optical alignment, spacing rhythm and type hierarchy are coherent.
|
|
42
|
-
- Hover/focus/pressed/selected states are intentional.
|
|
43
|
-
- Motion has interaction purpose.
|
|
44
|
-
- Decoration does not outrank information.
|
|
45
|
-
|
|
46
|
-
## Anti-AI UI defaults
|
|
47
|
-
|
|
48
|
-
Avoid unless justified by the product:
|
|
49
|
-
|
|
50
|
-
- default purple/blue gradients
|
|
51
|
-
- gratuitous glassmorphism
|
|
52
|
-
- every section as a rounded card
|
|
53
|
-
- nested cards
|
|
54
|
-
- decorative rounded icon tiles everywhere
|
|
55
|
-
- bento grids without information rationale
|
|
56
|
-
- excessive muted-gray secondary copy
|
|
57
|
-
- meaningless badges
|
|
58
|
-
- oversized marketing copy that reduces useful density
|
|
59
|
-
- animation without purpose
|