用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/comet-ml/opik --skill typescript-sdk命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Validate what a ClickHouse query actually costs before merging it — at production scale through read-only environment access, or on a revived Testcontainers dataset extrapolated to 20k/500k/1M entities. Use when a DAO query changes, when an endpoint is slow, or when a reviewer asks "what does this cost at scale".
Python SDK patterns for Opik. Use when working in sdks/python, on SDK APIs, integrations, or message processing.
Use when a developer wants to add a visual regression (screenshot) test for an Opik UI page or panel — e.g. "add a visual test for the trace sidebar", "screenshot each tab of the dataset panel", "visual regression test for the new empty state". Covers the page-object pattern, seeding via the test-helper-service, unique screenshot naming, per-test masking, baseline (re)generation, and the local-run-until-stable loop in tests_end_to_end/visual-tests/.
基于 SOC 职业分类
正在显示 SKILL.md
| name | typescript-sdk |
| description | TypeScript SDK patterns for Opik. Use when working in sdks/typescript. |
Public API → OpikClient → Domain (Trace/Span) → BatchQueues → REST Client → Backend
README.md and integration README files in the same PR.// ✅ REQUIRED - especially in CLI/tests
await client.flush();
// or globally:
await flushAll();
// ✅ GOOD - domain objects enqueue, not HTTP
trace.update({ metadata: { key: 'value' } }); // Enqueues update
trace.end(); // Enqueues update
// ❌ BAD - don't call REST directly from domain
// ✅ GOOD - export from public API
export { Opik, track, flushAll } from 'opik';
// ❌ BAD - don't expose generated clients
import { TracesApi } from 'opik/rest_api'; // Internal!
flush() flushes all queues in orderOpikConfigOpikApiError, OpikApiTimeoutErrorDatasetNotFoundError, ExperimentNotFoundErrorflush() escape hatch if needed