Phoenix phoenix-frontend
Frontend development guidelines for the Phoenix AI observability platform. Use when writing, reviewing, or modifying React components, TypeScript code, styles, or UI features in the app/ directory. Triggers on any frontend task — new components, UI changes, styling, accessibility fixes, form handling, or component refactoring. Also use when the user asks about frontend conventions or component patterns for this project. For design system rules (error display, layout, dialogs, tokens), use the phoenix-design skill.
git clone https://github.com/Arize-ai/phoenix
T=$(mktemp -d) && git clone --depth=1 https://github.com/Arize-ai/phoenix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/phoenix-frontend" ~/.claude/skills/arize-ai-phoenix-phoenix-frontend && rm -rf "$T"
.agents/skills/phoenix-frontend/SKILL.mdPhoenix Frontend Development
Composable rules for building UI in the Phoenix app. Before starting work, explore
app/src/components/ and app/package.json to understand existing patterns, packages, and conventions — then follow these rules.
Rule Files
Read the relevant file(s) based on the task:
| Rule file | When to read |
|---|---|
| Creating, composing, or refactoring components |
| Using Relay |
| Any interactive element, form, overlay, or semantic markup |
| Adding or updating provider/integration logo icons |
Verification
After visual changes, use
agent-browser to verify the UI looks correct. When modifying a shared component, check its usages across the app.
URL State
Significant view state must be recreatable from the URL. If a user can select a tab, sub-view, or detail state that should survive reloads, sharing, or adjacent-record pagination, encode it in route params or search params and preserve the relevant URL state during navigation.