Skip to content

DOL Organizer Kit - AI Guideline

active v1Updated

Canvas-organization layer for Figma design sessions. Components for wrapping screens with level banners, connecting flows with arrows, placing dev/design notes, and spec annotation.

Different from DS V2: DS V2 = UI building blocks (Button/Input/Modal); Organizer Kit = canvas meta-layer (Design area banners, flow arrows, notes). Both coexist. When building a real UI surface → DS V2. When arranging designs on canvas → Organizer Kit.

  • Figma file: DOL's Design Organizer Kit (key NxdDuGawc6P4d9ffKCoCZ1)
  • 67 components total (35 standalone + 32 sets) across 10 canonical categories
FilePurpose
component-registry.mdSlim INDEX - all 10 categories with 3-key preview each (~140 lines)
components/<category>.md10 detail files with full variant property schemas
components/_index.jsonMachine catalog consumed by lookup.py organizer
usage-patterns.mdHand-authored - layout rules, when to use which component, anti-patterns (CRITICAL read for AI agents)
cache/organizer-inventory.jsonGitignored - raw Figma extraction dump
tools/extract-organizer-metadata.pyGenerator (reads cache → emits registry + detail files + machine JSON)

Tier classification (for AI context budget)

Section titled “Tier classification (for AI context budget)”
TierFilesWhen to load
TIER 0 - CLIpython3 ../tools/lookup.py organizer <name> or ... organizer-list <category>Looking up ONE component / listing a category (cheapest, ≤500 tokens)
TIER 1 - Always-on for organizer tasksusage-patterns.md (~220 lines) + component-registry.md (~140 lines)User says “arrange designs on canvas” / “add notes to design session” / “document user flow”
TIER 2 - On-demand detailcomponents/<category>.md (20-45 lines each)Need variant property schema for specific category
SlugPrimary use
design-areaLevel 1/2/3 banners grouping screens by flow hierarchy
design-notesBoxed dev/design notes (Style 1/2, Type = Note for dev / Design note / Flow note / etc.)
arrowsFlow direction + Element note + Breakdown arrows connecting screens
state-notesCompact state labels (State note simple / State note 2)
token-notesToken annotations (“this color = text-color/danger-primary”)
element-notesAnotate bubbles pointing at elements (rare - prefer Design note Box for longer content)
animation-notes9 direction arrows for animation entry (from top/bot/left/right/corners/center)
guide-areasInline block notes (purple/blue/green) for grouping annotations
guideline-supportRuler / Dimension marks / Spacing marks / 18 cursor variants
ux-kitUX doc flowchart + FigJam smart connector
[Level 1 banner - e.g., "Mở đầu"]
▼ (screens belonging to this flow placed below)
┌────────┐ ───► ┌────────┐ ───► ┌────────┐
│ Screen │ │ Screen │ │ Screen │
│ 1 │ │ 2 │ │ 3 │
└────────┘ └────────┘ └────────┘

→ Full rules in usage-patterns.md.

When DS team adds/removes Organizer components:

  1. Open Organizer Kit in Figma with Desktop Bridge plugin
  2. Run figma_execute extraction (see tools/extract-organizer-metadata.py header comments)
  3. Save output to cache/organizer-inventory.json
  4. Run python3 tools/extract-organizer-metadata.py
  5. Commit component-registry.md + components/ (cache stays gitignored)
  • ../README.md - DS V2 components (UI building blocks)
  • ../tools/lookup.py - CLI with organizer + organizer-list subcommands
  • ../../ai-entry/FIGMA-AI.md - AI agent router (TIER 0-3 table includes Organizer paths)
  • usage-patterns.md - layout rules + anti-patterns