ui-director-skill 2.0.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/INSTALL.md +51 -18
  3. package/README.md +51 -28
  4. package/SKILL.md +20 -9
  5. package/assets/bundle-profiles.json +178 -0
  6. package/assets/capabilities.json +260 -0
  7. package/assets/install-manifest.json +27 -0
  8. package/assets/project-profile.example.json +23 -0
  9. package/assets/quality-rubric.json +29 -0
  10. package/assets/routing-rules.json +68 -0
  11. package/assets/upstreams.json +100 -0
  12. package/bin/ui.mjs +51 -9
  13. package/config/optional-skills.json +1 -1
  14. package/install.py +303 -0
  15. package/lib/core.mjs +8 -3
  16. package/lib/workflows.mjs +49 -18
  17. package/package.json +7 -3
  18. package/references/delivery-contract.md +4 -0
  19. package/references/design-intelligence.md +2 -0
  20. package/references/integrations/security-policy.md +2 -0
  21. package/references/integrations/skill-manager.md +2 -0
  22. package/references/integrations/upstream-adapters.md +4 -0
  23. package/references/integrations.md +2 -0
  24. package/references/motion-interaction.md +2 -0
  25. package/references/orchestration/context-management.md +4 -0
  26. package/references/orchestration/iteration-loop.md +8 -0
  27. package/references/orchestration/routing.md +8 -0
  28. package/references/platforms/desktop.md +3 -0
  29. package/references/platforms/mobile.md +3 -0
  30. package/references/platforms/web.md +3 -0
  31. package/references/quality-assurance.md +2 -0
  32. package/references/routing.md +2 -27
  33. package/references/stages/design-research.md +2 -0
  34. package/references/stages/design-system.md +4 -0
  35. package/references/stages/deslop.md +2 -0
  36. package/references/stages/motion-interaction.md +31 -0
  37. package/references/stages/prototyping.md +2 -0
  38. package/references/stages/visual-direction.md +2 -0
  39. package/references/stages/visual-validation.md +6 -0
  40. package/references/visual-direction.md +2 -0
  41. package/skill_manager.py +655 -0
  42. package/templates/DECISIONS.md +2 -3
  43. package/templates/DESIGN.md +12 -13
  44. package/templates/PRODUCT.md +7 -4
  45. package/templates/REVIEW.md +9 -8
  46. package/config/workflows.json +0 -15
  47. package/references/design-workflows.md +0 -21
  48. package/references/platforms.md +0 -17
  49. package/references/project-inspection.md +0 -11
  50. package/references/quality-gates.md +0 -16
  51. package/references/specialists.md +0 -9
@@ -0,0 +1,31 @@
1
+ # Stage 3 — Motion & Interaction
2
+
3
+ ## Goal
4
+
5
+ Make interaction comprehensible, interruptible and responsive. Only animate when motion helps spatial continuity, feedback, orientation or brand; no animation is also a valid outcome.
6
+
7
+ ## Optional upstreams
8
+
9
+ - `animate` for implementation.
10
+ - `review-animations` for review.
11
+ - `emil-design-eng` for broader design-engineering advice if installed.
12
+
13
+ Each is a distinct Skill. Do not assume `review-animations` builds features or that `animate` audits a repo.
14
+
15
+ ## State coverage
16
+
17
+ For each component include: trigger, start state, end state, cancellation/interruption, repeated input, async completion/failure, focus/touch feedback, reduced-motion behavior. Distinguish latency feedback (spinner/skeleton) from aesthetic easing.
18
+
19
+ ## Motion fallback
20
+
21
+ - Use property changes that avoid unnecessary layout/texture regeneration; select curve/duration through platform/design reference rather than arbitrary defaults.
22
+ - Check compositing costs and main-thread impacts; never claim stable frame rate without measurement.
23
+ - Respect user/system reduced-motion preference where accessible.
24
+ - Prefer compositional transitions that are interruptible/reversible over fire-and-forget tweens.
25
+
26
+ ## Output
27
+
28
+ Interaction state chart, animation intent, properties/easing/duration rationale (specified only when grounded), cancel/re-entry behavior, actual implementation (if asked), manual test cases and known gaps.
29
+
30
+ ## V2 additions
31
+ Create transition table: trigger, source state, destination, duration/easing, interruption, cancel/re-entry, reduced motion, performance metric. Capture motion at target refresh rate when possible. For Web avoid unnecessary layout/paint; for native interfaces use the project's animation primitives and measure runtime cost. Treat Emil as an optional web specialist; adapt principles to native stacks without applying DOM instructions. Motion-only preserves unrelated layout and palette.
@@ -0,0 +1,2 @@
1
+ # Prototype and implementation
2
+ Respect requested output: a concept/spec is not a code task; Figma artifact is not equivalent to an image. Read existing stack, routes, tokens, data, component contracts and tests. Use compatible components and minimal dependencies. Figma/Stitch require discovered tool access; never claim upload or design file creation without evidence. For reference matching normalize target dimensions, scale and states; compare geometry, type, color, spacing and assets; don't stretch reference to hide deviations. Build and exercise real interactions if possible. Keep mock data clearly marked, preserve real business behavior. Do not change unrelated source, commit or deploy unless asked.
@@ -0,0 +1,2 @@
1
+ # Visual direction
2
+ Select one visual director consistent with audience, category and existing system. Define a clear composition, dominant action, hierarchy, type rhythm, density and imagery strategy; make concrete choices rather than buzzwords. Use meaningful variation, not decoration. For marketing web prioritize brand narrative; for apps prioritize repeatable workflows, data density and states. Read current Taste instructions if using it; legacy aliases are not a current capability guarantee. Use original design or licensed images. Implement in existing stack and reuse components; don't impose a redesign on a narrow task. Check responsive layouts, long text, contrast and real content. Core fallback: sketch hierarchy, choose constraints, render and review.
@@ -0,0 +1,6 @@
1
+ # Quality gates and evidence
2
+ Capture baseline and final screenshots with the same viewport, DPR, theme, locale and state; annotate discrepancies rather than claiming pixel-perfect. Include primary flow, error/empty/loading/disabled, responsive or actual screen sizes, keyboard/touch/focus where applicable, reduced motion, build/tests and performance measurements as available. Real browser/device evidence is distinct from static code review. Native interfaces need validation in their target runtime; a design preview cannot establish real-device behavior.
3
+
4
+ Record each finding: severity (critical/high/medium/low), evidence path or observation, expected vs actual, fix, retest status. Gate status PASS/FAIL/NOT VERIFIED/NOT APPLICABLE, with rationale. Required gates: scope, functionality, safety, required evidence, critical accessibility. A critical issue or failed hard gate blocks release. An unverified required gate prevents PASS. For concept tasks assess only relevant gates; never call concept production-ready.
5
+
6
+ Rubric: read `../../assets/quality-rubric.json`; assign 0–5 only with evidence (0 broken, 1 severe, 2 major gaps, 3 adequate, 4 good, 5 excellent). Weighted score = sum(weight*rating/5). Mark untested dimensions UNKNOWN and do not generate overall score with unknown applicable dimensions; explicitly excluded dimensions may be renormalized with rationale, coverage reported separately. Standard target 85, CRAFT/REFERENCE 92 as guidance, not objective guarantees. Report evidence coverage, score if justified, remaining blockers and suggested next validation. No claimed independent review without a separate reviewer.
@@ -0,0 +1,2 @@
1
+ # Compatibility reference
2
+ See [stages/visual-direction](stages/visual-direction.md) for v2 guidance.