phoenix-typescript

Installation
SKILL.md

Phoenix TypeScript Conventions

These conventions apply to all TypeScript in the Phoenix monorepo — the app/ frontend, the js/packages/ libraries (phoenix-client, phoenix-cli, phoenix-evals, phoenix-mcp, phoenix-otel, phoenix-config), examples, and benchmarks.

Before writing new code, explore the directory you're working in to understand existing patterns — then follow these rules.

Naming

Self-documenting names eliminate mental parsing for the next reader.

  • Variables must not use single letters — even loop counters benefit from index, row, char.
  • Complex conditions should be extracted into named booleans so code reads as prose.
  • Booleans must use verb prefixes: isAllowed, hasError, canSubmit — not allowed, error.
  • Function names must start with an action verb that describes what the function does: getUser, normalizeTimestamp, logEvent, parseResponse, buildQuery — not user(), timestamp(), event().
// Bad — single letters and ambiguous names
for (let i = 0; i < s.length; i++) {
  const d = s[i].ts - s[i - 1]?.ts;
Related skills

More from arize-ai/phoenix

Installs
14
GitHub Stars
9.6K
First Seen
Mar 21, 2026