Integrations
Integrations
Anthropic
Claude Code
CLAUDE.md + slash skills so Claude Code ships Foundry-consistent UI.
CLAUDE.md (project root)
.claude/rules/foundry.md (optional)
Optional: project memory
Setup
- Add CLAUDE.md at the repo root with Foundry agent rules.
- Optionally split long guidance into .claude/rules/foundry.md and link it from CLAUDE.md.
- Start sessions with: “Follow CLAUDE.md Foundry rules for all UI work.”
- For repetitive tasks, add a custom slash command that injects the Quick Prompt.
Tips
- Keep CLAUDE.md under ~few KB of high-signal rules — link to longer docs.
- Tell Claude Code to read src/components/ui/button.tsx before inventing variants.
- Use plan mode for large design-system migrations, then implement.
Quick Prompt
Paste into Claude Code when generating UI.
Works alongside project rules — the prompt steers a single task; files below keep every session consistent.
CLAUDE.md
CLAUDE.md — Root instructions Claude Code reads automatically
CLAUDE.mdOptional rules file
.claude/rules/foundry.md — Split long guidance if CLAUDE.md should stay short
.claude/rules/foundry.mdSession opener
first message — Start each UI session with this line
first message