Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

adapter-alignment

БесплатноБез исполняемых скриптовНе проверен

Twice-monthly check that evlog's drain adapters match what each provider's own client sends, and that users get the most from each provider's features. Opens…

evloghqот evloghq★ 1 955 звёзд на GitHub

Об этом скилле

Adapter alignment

evlog ships adapters for providers whose APIs and clients move on their own. The e2e suite proves a destination still accepts our payload; nothing proves the payload is what the provider's own client would have sent, or that evlog uses everything the provider offers. This run closes both gaps for two adapters at a time, so every third-party adapter is compared about every two months.

Each adapter gets two questions:

  1. Given one wide event, would the official client and evlog produce the same request? Where they differ, is the difference a choice evlog made on purpose, or drift?
  2. What does the provider offer that evlog could feed and does not? Not only log ingestion: issues, alerts, metrics, traces, dashboards, user or person profiles, release and deploy tracking, sampling and retention controls, structured search fields, anything in the provider's product that a wide event carries the input for.

The first question keeps what we send correct. The second makes sure an evlog user gets the most out of the provider they chose. An adapter can pass the first and still miss the feature users pick the provider for: the Sentry drain sent correct logs for months while no evlog error ever opened a Sentry issue.

1. Pick the two adapters

Read .agents/skills/create-adapter/references/upstream-alignment.md in /workspace/repo. Take the two rows with the oldest Aligned to, treating unset as oldest. Break a tie with the reference's "First in line" list, then table order. Skip a row only when a run in the last two weeks already covered it and record why.

When a maintainer names adapters, compare those and no others: the rotation is for scheduled runs, and a request never swaps a named adapter for an older row.

2. Read both sides

For each adapter:

  • Ours: packages/evlog/src/adapters/<name>.ts, its unit test under packages/evlog/test/adapters/, its e2e under packages/evlog/test/e2e/ when one exists, and its docs page under apps/docs/content/4.integrate/adapters/.
  • Theirs: the ingest documentation URL and the Start here files in the official client at its latest published version. Read the version with npm view <package> version from the sandbox. Read source with github__getFileContent at the matching tag; a Start here path that no longer exists is a limitation to record, and the run locates the replacement with github__searchCode before continuing. Do not reason from memory of the client; read the lines.
  • Their product: the provider's product documentation, read for every feature it offers, not only the ingest page. List each feature and the input it needs. Then the Feature entry points files, where the official client sends that input. When the cell says the first run pins the files, find them with github__searchCode from the client's public API (captureException, identify, a metrics or span call), read them, and write the paths into the cell in the same PR that moves the pin. A feature the client does not reach still counts: the product docs are the authority for what exists, the client only shows how it is fed.

When the row's Official client is none (Sazabi today), there is no client side to read: the ingest documentation is the authority for the request, compared against the evlog encoder the row names. The pin then records the date the docs were read instead of a package version.

Record the client version (or the docs date) and the files read. They are the evidence for everything below.

3. Compare

Walk the list under "What a comparison covers" in the reference file. For each property, write one line: ours, theirs, same or different. A difference becomes one of:

  • Mismatch: the provider stores or indexes the event differently because of it (wrong default site, a renamed field, a level the provider does not recognise, a limit we exceed, an endpoint the provider deprecated). Evidence is the upstream line and ours.
  • Choice: evlog differs on purpose and the adapter or docs say so (we batch where they stream, we flatten where they nest). Record it; do not file it. If nothing says so, it is a question, not a choice.
  • Note: evlog is stricter than the client with no effect on what the provider stores.

Then walk "What a capability check covers". Each provider feature evlog does not use is a Gap. Evidence is the provider page that documents it, the client file that feeds it when there is one, and the evlog field that already carries the input (an error with a stack, a userId, a release, a duration, a traceId). A feature evlog has no input for is still a gap; say so instead of dropping it. A feature that does not fit evlog (the provider's own browser SDK, session replay) is recorded as a choice with one line on why, so the next run does not reopen it.

The e2e test is part of the comparison. An adapter with no e2e file (Datadog and HyperDX today) gets that gap recorded as a proposal unless one already exists

Полный SKILL.md на GitHub

Установить adapter-alignment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл adapter-alignment?

Twice-monthly check that evlog's drain adapters match what each provider's own client sends, and that users get the most from each provider's features. Opens ready PRs for mechanical mismatches, files the rest in Linear, and moves the upstream pins. Load this when the adapter-alignment schedule fires, or when a maintainer asks whether an adapter is still aligned with Sentry, Datadog, Axiom, PostHog, Loki, ClickHouse, Better Stack, HyperDX, Sazabi, or OTLP, or whether evlog uses everything one of them offers.

Как установить скилл adapter-alignment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл adapter-alignment запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить adapter-alignment с