otel-upgrade — скилл для Claude Code: обновление OpenTelemetry
Скилл оценивает обновления OpenTelemetry и предлагает путь перехода с учётом версий, совместимости и проверок в репозитории. Пригодится перед обновлением SDK, Collector или связанных компонентов.
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-codeЧто делает otel-upgrade
Скилл сначала изучает репозиторий и сведения о среде, затем выбирает сценарий для зависимостей или Collector. Он сверяет текущую и целевую версии, учитывает отдельно версии артефактов и встроенных зависимостей, а также ищет стабильные релизы в авторитетных источниках.
Результат — краткая рекомендация, список значимых изменений, последовательность обновления и отчёт о проверках: например, разрешении зависимостей, сборке или тестах. Эти проверки подтверждают разные вещи, поэтому скилл описывает, что именно удалось проверить. По умолчанию он оценивает обновление, не меняя файлы проекта; проверку предлагает проводить в изолированной копии.
Какие задачи решает
- выбрать целевую версию OpenTelemetry для репозитория
- проверить совместимость обновления Collector с конфигурацией
- найти обязательные изменения в коде после обновления зависимости
- составить последовательность обновления артефактов и компонентов
- отделить проверенные версии от непроверенных кандидатов
Примеры запросов агенту
- Оцени обновление OpenTelemetry SDK в этом репозитории и предложи целевую версию.
- Проверь, какие изменения нужны для перехода Collector на новую версию.
- Сравни текущую версию экспортёра с доступными стабильными релизами и составь план проверки.
Как установить otel-upgrade
1Через Skills CLI (Vercel)
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-code2Вручную: положить файлы
~/.claude/skills/otel-upgrade/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/otel-upgrade/
1Через Skills CLI (Vercel)
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a codex2Вручную: положить файлы
.agents/skills/otel-upgrade/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a cursor2Вручную: положить файлы
.cursor/skills/otel-upgrade/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ollygarden/opentelemetry-agent-skills otel-upgrade2Вручную: положить файлы
.github/skills/otel-upgrade/SKILL.md1Через Skills CLI (Vercel)
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a gemini-cli2Командой платформы
gemini skills install https://github.com/ollygarden/opentelemetry-agent-skills --path skills/otel-upgradeВручную: положить файлы
.devin/skills/otel-upgrade/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о otel-upgrade
Как установить otel-upgrade в Claude Code?
Выполните npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-code. Файл скилла находится по пути ~/.claude/skills/otel-upgrade/SKILL.md.
Что делает otel-upgrade?
Он исследует версии и устройство OpenTelemetry в репозитории, оценивает кандидатов на обновление и готовит рекомендации с планом перехода и проверок.
Как otel-upgrade проверяет обновление Collector?
Скилл изучает конфигурацию, компоненты и сведения о среде, затем отделяет доступные стабильные версии от проверенных на совместимость. Если обновление затрагивает независимо версионируемые модули, он рассматривает и их ограничения.
Исходный текст
SKILL.md · Apache-2.0
--- name: otel-upgrade description: Assess OpenTelemetry package and Collector upgrades across ecosystems. Use when choosing or validating API, SDK, instrumentation, exporter, Collector distribution, component, image, chart, Operator, OCB build, or configuration versions, including compatibility, required changes, telemetry and runtime behavior, and rollout risk. --- # OpenTelemetry Upgrade Find the highest stable target supported by the available repository evidence and provide concise, case-specific upgrade advice. Unless the user asks for implementation, assess the upgrade without changing project files. ## Choose the workflow | Request or repository evidence | Read | |---|---| | Package manifests, lockfiles, APIs, SDKs, instrumentation libraries, exporters, plugins, or dependency constraints | [Dependency upgrade](references/dependency-upgrade.md) | | Collector binaries, images, charts, Operators, configuration, feature gates, components, OCB manifests, builds, or runtime behavior | [Collector upgrade](references/collector-upgrade.md) | | A custom Collector involving independently versioned or third-party modules | Read the Collector workflow first, then the dependency workflow for relevant module constraints. | Read only the applicable reference. Read both when the upgrade crosses both surfaces. ## Shared instructions 1. Inspect the repository and runtime evidence before choosing the workflow or assuming the ecosystem. 2. Establish the exact current and candidate versions. Record wrappers, distributions, artifacts, and embedded dependencies separately rather than treating one version as proof of another. 3. Query authoritative registries and tagged primary upstream sources for current stable releases. Record the lookup date. Treat release candidates, beta/alpha packages, nightly artifacts, and untagged source as prereleases unless that package line intentionally publishes with a prerelease identifier; do not silently replace a project's existing experimental package line with a stable package from a different line. If no stable release meets a stated requirement, assess prereleases separately and label them clearly. 4. Distinguish the **latest available** stable release from the **highest validated compatible** candidate. Do not call a candidate validated when the relevant checks could not run. 5. Preserve the user's working tree by validating in a temporary copy, worktree, or equivalent isolated environment. Start with the latest stable candidate. If it fails, diagnose the cause and test selected lower versions when useful; do not assume compatibility is monotonic. 6. Connect upstream changes to this repository's actual usage and available downstream contracts. Treat unavailable consumers, environments, and exact-version coverage as unverified. 7. Use applicable specialized skills only when they are available. Otherwise use primary upstream sources and repository evidence, and report any resulting verification gaps. Dependency resolution, compilation, configuration acceptance, and passing tests establish different and limited kinds of evidence. State exactly what each result demonstrates. ## Report Keep the report concise and tailored to the repository. ```markdown ## Recommendation Recommend upgrading `<subject>` from `<current>` to `<target>`, remaining on `<current>`, or deferring the upgrade. Explain the evidence, effort, and risk. ## Relevant Findings - `<Material finding>` — explain its effect on this repository and any required action. ## Proposed Upgrade Path Give the smallest coordinated sequence of dependency, artifact, code, configuration, and rollout changes. ## Validation State the exact candidates, artifacts, configurations, platforms, and checks covered, their results, and what those results demonstrate. ## Remaining Risk Mention only material behavior, environments, integrations, consumers, or artifacts that could not be verified. Omit this section when no material unverified areas were identified. ``` Link material upstream claims to authoritative release notes, documentation, or source. If the latest available version is not the highest validated compatible version, name both and explain the blocker.
© ollygarden · Apache-2.0 · ollygarden/opentelemetry-agent-skills