Imported from zzzfan008-rgb/kittin-saas-b-v2 (
.cursor/skills/canvas-arch/SKILL.md). Install upstream withnpx skills add zzzfan008-rgb/kittin-saas-b-v2 --skill canvas-arch. Copyright stays with the author.
canvas-arch
Analyze Garment Canvas frontend canvas layer.
Read first:
src/components/CanvasFlow.tsx— React Flow canvas mechanicssrc/store/flowStore.ts— store +ProjectTab[]/DocumentSnapshotboundarysrc/components/workbench/WorkbenchShell.tsx— workbench shell@xyflow/react 12docs (not latest) for canvas behavior claims
Rules:
- Standard controls must come from
src/components/ui/(shadcnbase-nova). - Panel open/closed state, selection, viewer/compare state, and React Flow measurements stay out of document history and session persistence.
- Assert desktop geometry at 1024 / 1280 / 1440, not class names.
