domino-ui-design
Build Domino-styled web applications matching the Domino Design System. Use when creating or styling Domino apps (Dash, Streamlit, Flask, FastAPI+HTML), generating UI components, reviewing UX, or when the user mentions "Domino app", "Domino UI", "Domino dashboard", or "Domino design system". Covers the full stack — FastAPI backend, Ant Design 5.x frontend via CDN, Domino theme tokens (colors, typography, spacing), chart styling with Highcharts, Domino API authentication, proxy-safe routing, UX writing, error handling, empty states, form design, table patterns, and layout best practices. Also use for UX reviews of existing Domino app screenshots.
What this skill does
# Domino UI Design System Skill ## Architecture Domino apps use **FastAPI** (Python backend) + **Ant Design 5.x** (frontend via CDN, no build step). Avoid inline styles and JS — use statically referenced CSS/JS files. Output errors to stdout. ### CDN Setup Include in HTML `<head>`: ```html <script src="https://unpkg.com/react@18/umd/react.production.min.js"></script> <script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script> <script src="https://unpkg.com/[email protected]/dist/antd.min.js"></script> <link href="https://unpkg.com/[email protected]/dist/reset.css" rel="stylesheet"> <script src="https://unpkg.com/[email protected]/dayjs.min.js"></script> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> <script src="https://code.highcharts.com/highcharts.js"></script> ``` Use `React.createElement()` (aliased as `h`) — no JSX, no build step: ```javascript const { ConfigProvider, Button, Table, Modal, Select, Input, Form, Space, Card, Tag, Alert } = antd; const { createElement: h, useState, useEffect } = React; ``` ## Domino Theme Wrap the app in `ConfigProvider` with this theme: ```javascript const dominoTheme = { token: { colorPrimary: '#543FDE', // Purple colorPrimaryHover: '#3B23D1', colorPrimaryActive: '#311EAE', colorText: '#2E2E38', colorTextSecondary: '#65657B', colorTextTertiary: '#8F8FA3', colorSuccess: '#28A464', colorWarning: '#CCB718', colorError: '#C20A29', colorInfo: '#0070CC', colorBgContainer: '#FFFFFF', colorBgLayout: '#FAFAFA', colorBorder: '#E0E0E0', fontFamily: 'Inter, Lato, Helvetica Neue, Helvetica, Arial, sans-serif', fontSize: 14, borderRadius: 4, borderRadiusLG: 8, }, components: { Button: { primaryShadow: 'none', defaultShadow: 'none' }, Table: { headerBg: '#FAFAFA', rowHoverBg: '#F5F5F5' }, }, }; ``` ### Top Navigation Bar Height: 44px, Background: `#2E2E38`, Text: `#FFFFFF`. Use the Domino logo (height 32px). Primary actions on right. Only add nav items with real destinations. **Domino Logo:** Reference `assets/domino-logo.svg` from this skill's directory (e.g. `.claude/skills/domino-ui-design/assets/domino-logo.svg`). The SVG is white text on transparent background, designed for the dark nav bar. ### Charts (Highcharts) ```javascript Highcharts.setOptions({ colors: ['#543FDE', '#0070CC', '#28A464', '#CCB718', '#FF6543', '#E835A7', '#2EDCC4', '#A9734C'], chart: { style: { fontFamily: 'Inter, Lato, Helvetica Neue, Arial, sans-serif' } }, }); ``` ## Domino API Integration ### Authentication Re-acquire the access token on **every** API call (it expires quickly): ```python import requests, os def get_auth_headers(): token = requests.get('http://localhost:8899/access-token').text.strip() return {'Authorization': f'Bearer {token}'} ``` ### API Base Paths Two separate APIs with **different** base paths: | API | Base Path | Example | |-----|-----------|---------| | Platform APIs (public-api.json) | `/api/` | `{DOMINO_API_HOST}/api/jobs/beta/jobs?projectId=...` | | Legacy Platform APIs | `/v4/` | `{DOMINO_API_HOST}/v4/jobs?projectId=...` | | Governance APIs | `/api/governance/v1/` | `{CLUSTER_URL}/api/governance/v1/bundles?project_id=...` | **Do NOT** add `/api/` prefix to v4 platform endpoints. ### Environment Variables (available in Domino) `DOMINO_API_HOST`, `DOMINO_PROJECT_ID`, `DOMINO_PROJECT_NAME`, `DOMINO_PROJECT_OWNER` Do not add mock/fake data if the API isn't working. Prompt user to set env vars. ## Running the App Use relative URLs (not absolute) — Domino's nginx proxy modifies the root URL. ```bash #!/bin/bash uvicorn app:app --host 0.0.0.0 --port 8888 ``` ## UX Design Rules For detailed UX principles, writing guidelines, component patterns, and review checklists, read [references/ux-design-rules.md](references/ux-design-rules.md). Key rules to always follow: - **Empty states must be actionable** — answer: What is this? Why is it empty? What can I do? - **Error messages must be human-readable** with guidance on what to do next - **Disabled elements must explain why** they're disabled (tooltip) - **Truncated table text must have tooltips** - **Icon-only buttons must have tooltips** - **Use sentence case** for UI text (not Title Case) - **No exclamation points** in UI copy - **Side panels should overlay**, not push/crush main content - **Checkboxes should use positive framing** — checked = ON/enabled, never checked = OFF/disabled ## UX Review When reviewing a Domino app UI, read [references/ux-design-rules.md](references/ux-design-rules.md) and check against the review checklists. Classify issues as High/Medium/Low severity. ## Documentation Reference Before writing or verifying any API call, use the cluster swagger to confirm current endpoint paths and field names. Use public docs for workflow context and field explanations. **Get the cluster base URL:** `$DOMINO_API_HOST` (injected by Domino into every workspace, job, and app). This skill uses two swagger docs: **Public API** (covers `/api/` endpoints — v1, v2, beta — no auth required): ```bash curl "$DOMINO_API_HOST/assets/public-api.json" # Browser UI: $DOMINO_API_HOST/assets/lib/swagger-ui/index.html?url=/assets/public-api.json#/ ``` **Governance API** (covers `/api/governance/v1/` endpoints, requires bearer token): ```bash TOKEN=$(curl -s http://localhost:8899/access-token) # Governance is not routed through $DOMINO_API_HOST. Derive the external cluster URL # from the JWT iss claim — works in any workspace type. CLUSTER_URL=$(echo $TOKEN | cut -d'.' -f2 | python3 -c " import sys, base64, json, re p = sys.stdin.read().strip() p += '=' * (-len(p) % 4) print(re.sub(r'/auth/realms/.*', '', json.loads(base64.b64decode(p))['iss'])) ") curl -H "Authorization: Bearer $TOKEN" "$CLUSTER_URL/api/governance/swagger/doc.json" # Browser UI (must be logged in): $CLUSTER_URL/api/governance/swagger/index.html ``` **Public docs (workflow context and field explanations):** - [API Guide](https://docs.dominodatalab.com/en/latest/api_guide/f35c19/api-guide/)
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.