CtrlK
BlogDocsLog inGet started
Tessl Logo

phoenix-client-development

Development guide for the @arizeai/phoenix-client TypeScript SDK — run and resume experiments, manage OpenTelemetry tracer providers with stack-based attach/detach, and write vitest unit and integration tests. Use when adding features to phoenix-client, debugging experiment lifecycle or provider cleanup, modifying dataset/prompt/session/span APIs, or writing tests for the js/packages/phoenix-client/ directory.

75

1.21x
Quality

76%

Does it follow best practices?

Impact

92%

1.21x

Average score across 2 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./js/packages/phoenix-client/.agents/skills/phoenix-client-development/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

Add Unit Test Coverage for Experiment Tracer Lifecycle

Vitest mock shape and lifecycle assertions for two-phase experiment tracing

Criteria
Without this skill
With this skill

Test file location

100%

100%

Vitest imports

100%

100%

register() mock return shape

100%

100%

attachGlobalTracerProvider() mock return shape

100%

100%

forceFlush and shutdown return Promises

100%

100%

register() called twice

100%

100%

Task-phase projectName

100%

100%

Eval-phase projectName

100%

100%

global: false on both calls

100%

100%

detach() called exactly once per handle

100%

100%

85%

33%

Integration Test: Tracer Provider Lifecycle After Experiment

Integration test conventions for phoenix-client experiment lifecycle

Criteria
Without this skill
With this skill

integration- prefix

0%

100%

No vitest imports

100%

100%

Custom assert helper

70%

100%

No console.log

100%

100%

process.exit(1) in catch

100%

100%

trace.disable() called

0%

100%

context and propagation disable

0%

100%

Sentinel provider registered before

100%

100%

Sentinel asserted after experiment

100%

100%

attachGlobalTracerProvider used

0%

0%

detach() in finally

0%

0%

Repository
Arize-ai/phoenix
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.