Get design rules
get_design_rulesUniversal design rules for building UI with design tokens: layout, flow (empty, loading and error states, dialogs), shape, surfaces, interaction and keyboard access, forms, content structure, states, typography, color and stack rules for Tailwind/React Native. The tokens say which values exist; these rules say how to use them. Call this before building or reviewing views. Without arguments it returns every rule as one line (61 rules); pass rules (slugs) or a category with detail "full" for the complete text including how to detect violations in code. Rule texts are in German. Categories: Layout, Fluss, Form, Fläche, Bedienung, Formular, Inhalt, Zustand, Typografie, Farbe, Stack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Rule slugs (from the summary) to return in full. | |
| scope | No | "universal" applies to every project, "stack" to one technology (e.g. Tailwind, React Native). | |
| detail | No | "summary" (default): one line per rule. "full": complete rule text. Defaults to "full" when rules are given. | |
| category | No | Only rules from this category: Layout, Fluss, Form, Fläche, Bedienung, Formular, Inhalt, Zustand, Typografie, Farbe, Stack. | |
| platform | No | Only rules that apply to this platform. |