test-integration
БесплатноЗапускает вложенные скриптыНе проверенRun and extend Phoenix's executable integration documentation checks. Use when changing an integration doc, its runnable example, or the CI harness.
от Arize-ai★ 12 510 звёзд на GitHubОб этом скилле
Integration documentation checks
The harness runs published Phoenix integration examples against a local Phoenix
server and verifies the result in Phoenix. The enabled set is deliberately
incremental: scripts/testing/integration_docs/integrations.json lists the
documents CI executes. INTEGRATION_CHECKS.md is only an onboarding inventory.
Run checks locally
Start Phoenix at http://127.0.0.1:6006, set the credentials required by the
selected integration, then run:
make test-integration-docs
Run a single configured document with:
make test-integration-docs INTEGRATION_DOCS_ARGS="--doc docs/phoenix/integrations/llm-providers/openai/openai-tracing.mdx"
The runner parses the selected page before checking credentials, installs its
documented dependencies into a disposable environment, executes the example,
and verifies spans using the Phoenix API. Reports are written under
ci-results/integration-docs/. PHOENIX_ENDPOINT can override the local
endpoint.
For Ollama checks, also start Ollama and pull the configured model before
running the harness. The current Ollama entries use llama3.2:1b; Python uses
the native Ollama client, while Node.js and Go use the OpenAI SDK against
Ollama's local OpenAI-compatible endpoint. CI reads each integration's
services declaration, starts Ollama when that shard needs it, and pulls the
declared model. Ollama checks do not require a provider API key.
CI behavior
- The workflow's
pathsfilter starts it only for integration docs, the routed shared snippet, and harness files. Keep it a superset ofclassify_changes.pyrouting. - Pull requests classify changed files. Enabled integration docs run only when changed; shared snippets are routed to the docs that consume them.
- Changes to the runner, routing config, workflow, or skill scripts run the full enabled set. Markdown-only edits (this skill, the inventory, the README) do not trigger checks.
- Monday's scheduled workflow and manual dispatch run all enabled docs. A
manual
docsinput accepts space-separated paths fromintegrations.json. - Selected docs are distributed deterministically across a matrix of shards; shard reports are merged into one artifact, job summary, and PR comment. No-op runs post nothing; the comment is edited in place on later pushes and skipped on fork PRs.
- Each invocation uses a unique Phoenix project, so shards do not contend for shared project state.
- Local services are declared per integration in
integrations.jsonand prepared only in the shards assigned to those docs.
Add an integration
- Confirm the page has clearly delimited install, setup, and run sections that the runner can extract. Add an adapter only when the existing extractors do not support the example structure.
- Add an entry to
integrations.jsonwith a stable id, document path, language, required environment variables, setup rules, output expectations, and a verifier that checks the page's promised behavior. - Add the page to
INTEGRATION_CHECKS.mdand document any routing needs inscripts/skip_config.json.
The skip configuration supports AX-style always_skip, lint_only, and
skip_if_missing_env routes. A lint-only document is extracted, its documented
dependencies are installed, and its Python example is bytecode-compiled,
JavaScript is syntax-checked, TypeScript is compiled with tsc, Go is compiled with go vet, or .NET is compiled with dotnet build, without contacting the model provider. Conditional
documents run normally when their configured environment variables are set;
otherwise the report records the configured skip reason.
4. Run the document locally against Phoenix and inspect both the generated
report and the spans in its unique project before enabling it in CI.
Keep credentials in environment variables. Do not put API keys in docs, fixtures, or reports.
Установить test-integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл test-integration?
Run and extend Phoenix's executable integration documentation checks. Use when changing an integration doc, its runnable example, or the CI harness.
Как установить скилл test-integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-integration запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic