Check design system
Audit a live product against its design system.
- Context:
list_workspaces(),list_projects(workspace_id). Match the URL to a project, or letcreate_checklistfind or create it. - Actor and rules:
list_actors(workspace_id), elsecreate_actor(...)described as a design-system reviewer.list_workspace_guidelines(workspace_id)first, then attach withset_project_guideline(project_id, guideline_id)or writeadd_project_guideline(project_id, category: "design_system", content, title). Token values and component dos and don'ts belong here.update_workspace_guideline(workspace_id, guideline_id, apply_to_design_reviews: true)when the standard must also hold for design reviews from Slack or Linear, which carry no project.- No rules supplied: ask for key tokens and component rules, or derive a draft from the most polished screens and confirm it.
- One checklist per surface. Actors see only the rendered product, so phrase checks visually ("Primary CTAs use the brand primary colour and sentence case", "Form fields show a visible focus state"), never by class names or tokens.
- Run:
run_checklist(checklist_id), pollget_checklist_run(run_id)until terminal, collect evidence per deviation. - Report deviations by page with evidence and the rule each breaks.
- Wire in: if Figma is connected,
create_workflowwith afigma_eventtrigger so the audit re-runs on library publish; otherwise a schedule or deploy trigger (seesetup-guardrails).