Skip to content

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

  1. Add CLAUDE.md at the repo root with Foundry agent rules.
  2. Optionally split long guidance into .claude/rules/foundry.md and link it from CLAUDE.md.
  3. Start sessions with: “Follow CLAUDE.md Foundry rules for all UI work.”
  4. 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.md

Optional rules file

.claude/rules/foundry.md — Split long guidance if CLAUDE.md should stay short

.claude/rules/foundry.md

Session opener

first message — Start each UI session with this line

first message