返回全部 Skills

docs-drift

Check whether the hub docs kept up with the four SDK repositories (tesseron-typescript, tesseron-rust, tesseron-python, tesseron-cpp) and the published hub packages. Use before or after an SDK release, when asked "are the docs stale", "did the docs keep up with the release", "which docs pin an old version", or as the release gate that backs the AGENTS.md rule that an SDK release PR is complete only after its hub docs PR merged.

12

下载量

AI SkillHub 能力展示图

安装方式

命令行安装

在项目根目录执行以下命令,完成 Skill 安装。

npx bzskills add BrainBlend-AI/tesseron --skill docs-drift

skill.md

name: docs-drift
description: Check whether the hub docs kept up with the four SDK repositories (tesseron-typescript, tesseron-rust, tesseron-python, tesseron-cpp) and the published hub packages. Use before or after an SDK release, when asked "are the docs stale", "did the docs keep up with the release", "which docs pin an old version", or as the release gate that backs the AGENTS.md rule that an SDK release PR is complete only after its hub docs PR merged.

docs-drift

Run from the hub root:

pnpm docs:drift

scripts/docs-drift.mjs prints two tables and exits 1 on any finding.

SDK table. One row per language. "released" is the latest version on the registry that owns the SDK

(npm @tesseron/core for TypeScript, crates.io tesseron for Rust, PyPI tesseron for Python, the latest

GitHub tag for C++). "hub docs last touched" is the last commit under docs/src/content/docs/sdk/<lang>/.

A release published more than an hour after that commit is DRIFT: release newer than docs, meaning the

AGENTS.md rule was broken: the SDK shipped and the hub docs never followed. The hour absorbs the normal

gap between merging docs and the tag-triggered publish landing on the registry.

Pin table. Every literal @tesseron/<pkg>@<semver> inside a fenced code block under

docs/src/content/docs/, compared with the package's npm latest. Code blocks are what readers copy;

prose pins ("default since @tesseron/mcp@2.4.0") are history and are skipped on purpose.

scripts/sync-plugin-version.mjs owns the pin on sdk/typescript/mcp.md; every other docs pin drifts on its own.

Conformance pin table. One row per language: every @tesseron/conformance@x.y.z found on the SDK

repo's main in CONTRIBUTING.md and .github/workflows/*.yml, compared with npm latest. A pin behind the

registry is DRIFT: SDK runs an older corpus; no pin at all is DRIFT: no conformance run on main, which is

the worse finding, because that SDK is not validated against the protocol anywhere (the TypeScript repo

shipped that way for a day after the split). It reads GitHub, not the local clones, so an unpushed pin bump

still reports as drift until it lands on main.

Blind spot. It measures dates and version strings only. A docs commit that lands after a release but

says nothing about it counts as ok. Prose drift still needs update-docs.

Fixing a finding is a docs content change, so it needs a @tesseron/docs-mcp changeset.