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 before updating docs. Code is source of truth; documentation is reflection.
Goal
Keep UX documentation, DESIGN.md, Stitch 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 Stitch project map docs.
- Update frontmatter
updateddates. - Update
MOC-UX.mdandMOC-Principal.mdwhen new docs are created. - If Stitch context exists, verify IDs with MCP tools when available.
Stitch MCP Usage
Use list_projects, get_project, list_screens, list_design_systems, upload_design_md, create_design_system_from_design_md, and apply_design_system when the sync concerns Stitch project or design system state.
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.