UX Design Sync Skill
WorkflowSkills Project Context
Before acting, resolve project documentation roots:
- Look for a
[DOC]-*directory at project root. - If found, set
DOC_ROOTto that directory andUX_DOCS_ROOTto[DOC]-*/11-UX-DesignOps. - If
[DOC]-*is absent, stop and ask to initialize project documentation first; never write persistent UX documentation todocs/obsidian. - Read current code and approved requirements. Code is evidence of implemented behavior; CDC, DB, meetings, ADR and FEAT retain the project's documented precedence for intended behavior. Record discrepancies rather than rewriting requirements to legitimize a defect.
Goal
Keep UX documentation, DESIGN.md, mockup metadata, and implemented UI aligned.
Process
- Read changed UI files, tokens, components, routes, and tests.
- Compare code with
DESIGN.mdand UX docs. - Update screen, component, flow, decision, visual debt, and mockup index docs.
- Update frontmatter
updateddates. - Update
MOC-UX.mdandMOC-Principal.mdwhen new docs are created. - Verify that referenced mockup images exist locally and distinguish proposed designs from implemented screens.
- Maintain Product_Context, Design_Direction and Platform_Profile when the authorized change affects their decisions. Preserve reasons, evidence and unresolved gaps; do not transfer project-specific visual choices into global rules.
Image references
Update 07-Mockups/Mockup_Index.md with selected image paths, exact prompts, route/component mapping, implementation status and intentional deviations. Keep rendered application screenshots separate from generated mockups.
Rules
- Documentation content must be in French.
- Do not invent implementation details absent from code.
- Archive obsolete UX docs if the related code no longer exists.
Taste and design references
Maintain Design_References with source URLs/commits, candidate/selected/rejected status, adopted properties, adaptations, exclusions and evidence. Keep immutable source snapshots separate from the live DESIGN.md contract; use ux-design-direction when revising a direction.