Command Palette

Search for a command to run...

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

api-reference-audit

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

Audits whether ADK API reference docs and version-pinned strings are up to date across all language SDKs. Compares in-repo versions against upstream releases…

googleот google★ 1 547 звёзд на GitHub

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

ADK API reference doc auditor (api-ref-audit)

This skill audits the API reference documentation in the adk-docs repository across every language SDK and reports what is out of date. It is a reporting and guidance skill: it detects drift, recommends the correct per-surface release process, and emits an executable plan only when the user explicitly asks. It does not edit files, run generators, or open PRs by default.

The audit covers three kinds of drift:

  1. Generated API reference docs under docs/api-reference/ that lag behind the latest SDK release.
  2. Hardcoded version strings in prose and examples (dependency coordinates, pom.xml versions) that must be bumped with each Java/Kotlin release.
  3. Code-sample drift (light flagging only): samples that reference pinned versions or obviously deprecated APIs. Deep sample verification is out of scope of this skill.

[!IMPORTANT] The maps below are hints, not ground truth. File layouts, script paths, and team processes change. At each step, verify the path or marker exists and re-derive it if a lookup fails, rather than trusting the table blindly.

Version map (in-repo version vs. upstream truth)

Each surface is one API reference output this repo ships: Python API, Python CLI, Python REST API, Python Agent Config, TypeScript, Go, Java, and Kotlin.

For each surface, read the in-repo version from the file listed, then compare it against the latest upstream release and package registry.

Surface In-repo version marker Upstream repo Package registry
Python API docs/api-reference/python/_static/documentation_options.js (VERSION:) google/adk-python PyPI google-adk
Python CLI docs/api-reference/cli/_static/documentation_options.js (VERSION:) and docs/api-reference/cli/index.html ("ADK X.Y.Z") google/adk-python PyPI google-adk
Python REST API docs/api-reference/rest/openapi.json (info.version) google/adk-python PyPI google-adk
Python Agent Config no version marker; diff the type set in agentconfig/index.html against upstream AgentConfig.json google/adk-python (same release as Python API/CLI/REST) n/a
TypeScript docs/api-reference/typescript/variables/version.html (the version const); cross-check docs/api-reference/typescript/index.html (<title> "... - vX.Y.Z") google/adk-js (monorepo; see note) npm @google/adk (authoritative)
Go external, hosted on pkg.go.dev; verify links in docs/api-reference/index.md google/adk-go pkg.go.dev
Java docs/api-reference/java/index.html (<title> "Maven Parent POM X.Y.Z API") google/adk-java (authoritative) Maven Central com.google.adk:google-adk (lags; cross-check only)
Kotlin docs/api-reference/kotlin/index.html (version string near the header) google/adk-kotlin (authoritative) Maven Central com.google.adk:google-adk-kotlin-core (lags; cross-check only)

Notes:

  • Python API, CLI, and REST all track the same adk-python release, so they usually move together. Flag it when they diverge.
  • Python Agent Config has no version field. Parse the keys of the $defs object (plus top-level oneOf variants) from the upstream AgentConfig.json at the target tag, e.g. jq '."$defs" | keys'. Do not substring-grep for *Config: that mixes property names (camelCase, e.g. imageConfig) with type names (PascalCase, e.g. ImageConfig) and produces false drift. Check each $defs key as a whole word against agentconfig/index.html; a key present upstream but missing in the page (or vice versa) is drift.
  • TypeScript: use npm @google/adk dist-tags.latest as the authoritative version. adk-js is a monorepo with package-prefixed tags (e.g. main-v1.4.0, integrations-v1.4.0), so gh ... releases/latest can return a release for a different package instead of @google/adk. The in-repo version const tracks the same @google/adk package npm publishes and releases together with it, so compare the two directly: any version difference means the docs are behind. The generate script clones the adk-v<version> tag (the core @google/adk package tag).
  • Go docs are not built into this repo. Confirm the release version and that the index.md links point at the correct major versions (e.g. v2.x and v1.x). Go versions are also pinned in examples/go/go.mod / go.sum and appear as /adk/v2 import paths in prose (e.g. docs/events/index.md, docs/2.0/), so check those too.

Hardcoded version references

These version-pinned strings are intentional and useful: they show developers the exact dependency versions to use. The audit's job is to keep them current, not remove them. They drift with each Java/Kotlin release and are bumped in a separate PR (see the process map). Discover current occurrences by grep; do not trust the file li

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

Установить api-reference-audit в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

README.md

FAQ

Что делает скилл api-reference-audit?

Audits whether ADK API reference docs and version-pinned strings are up to date across all language SDKs. Compares in-repo versions against upstream releases and package registries, then reports what needs bumping and which process to follow, and emits an executable plan only when asked. Triggers on "audit API reference", "check API ref docs", "are API docs up to date", "bump API doc versions", "check SDK doc versions".

Как установить скилл api-reference-audit?

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

Скилл api-reference-audit запускает скрипты?

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

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

Сравнить api-reference-audit с