phoenix-frontend
БесплатноЗапускает вложенные скриптыНе проверенFrontend development guidelines for the Phoenix AI observability platform. Use when writing, reviewing, or modifying React components, TypeScript code…
от Arize-ai★ 12 510 звёзд на GitHubОб этом скилле
Phoenix Frontend Development
Composable rules for building UI in the Phoenix app. Before starting work, explore js/app/src/components/ and js/app/package.json to understand existing patterns, packages, and conventions — then follow these rules.
Reference Files
Read the relevant file(s) based on the task:
| Reference | When to read |
|---|---|
references/components.md |
Creating, composing, or refactoring components |
references/relay.md |
Using Relay |
references/accessibility.md |
Any interactive element, form, overlay, or semantic markup |
references/testing.md |
Writing or reviewing Vitest unit tests in js/app/ |
references/test-ids.md |
Adding or changing data-testid attributes for E2E tests |
references/resize-svg-logo-assets.md |
Adding or updating provider/integration logo icons |
Storybook
For any change to js/app/stories/ or js/app/.storybook/ — including stories that accompany a component change — use the phoenix-storybook skill.
PXI data changes
When a PXI write changes the membership or filters of a mounted Relay query, use useAgentDataChangeFetchKey from @phoenix/hooks in the query owner. See references/relay.md for the event and fetch policy convention.
Verification
After visual changes, use the available browser tooling to verify the UI looks correct. When modifying a shared component, check its usages across the app.
For render performance work, profile before and after the change with the react_* tools that Chrome DevTools MCP exposes on the dev server. Setup is under "MCP servers" in js/app/README.md. If the tools are missing, tell the user the setup is missing instead of working around it. The tools are experimental: rely on commit counts and renderDuration, and check per-component reports against the code.
Route Metadata
When adding, removing, renaming, or materially changing what a page contains, update the route's handle.agentRoute metadata in js/app/src/Routes.tsx if an assistant agent should be able to link users to that destination. Keep metadata small and search-oriented:
label: human page name.description: concise page purpose based on what the page now contains, including user phrases PXI might hear when looking for that page.
If a content change makes an existing route easier or harder to find by natural language, adjust description in the same change.
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.
Установить phoenix-frontend в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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 js/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.
Как установить скилл phoenix-frontend?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл phoenix-frontend запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic