Integrations
Integrations
xAI
Grok Build
xAI Grok app builder — ship Foundry UIs in live preview sandboxes.
AGENTS.md (project root)
Prompt paste in Grok Build chat
Optional: .grok/skills notes
Setup
- Copy AGENTS.md contents into your project root so Grok Build inherits Foundry rules on every turn.
- When starting a new app, paste the Quick Prompt and describe the screen.
- Ask Grok to copy components from Foundry’s src/components/ui rather than inventing new primitives.
- For motion or 3D, reference Foundry’s motion tokens and Three.js playground patterns.
Tips
- Grok Build runs a live preview — ask for demo-ready UI, not scaffolds.
- Prefer “copy Foundry Button/Card patterns” over “make it look modern”.
- Request mobile checks (~390px) and dark mode in the same prompt.
Quick Prompt
Paste into Grok Build when generating UI.
Works alongside project rules — the prompt steers a single task; files below keep every session consistent.
AGENTS.md
AGENTS.md — Auto-loaded project instructions for Grok Build
AGENTS.mdInline system rules
chat / system context — Paste if you cannot add AGENTS.md yet
chat / system contextExample Grok Build prompt
prompt — Full task example
prompt