Skip to content

verify-github-npm-release

A read-only agent skill for Codex and Claude Code that checks whether a release agrees across GitHub releases, npm packages, tags, CI, and install commands.

Role
Agent workflow designer and automation engineer
Scope
Agent workflow, validation automation, and packaging
Status
Published npm package v0.1.0
Git tag, package registry, CI and install docs checked side by side for one release

Problem

A release can look complete in one system while its tag, package version, CI run, install instructions, or catalog entry points somewhere else. Each surface looks fine on its own, so the disagreement is easy to miss until a user installs the wrong version.

Constraints

  1. C1

    The audit must never change or repair release state.

  2. C2

    Authentication and network errors cannot be interpreted as a missing artifact.

  3. C3

    Mutable aliases such as latest are weaker proof than an exact package@version.

Architecture

The skill collects evidence from Git, GitHub, npm, and an optional catalog, then compares it against one release identity with deterministic evaluators. Each finding is classified and written into a human-readable report.

01

Skill workflow

The agent collects release evidence from local Git, GitHub, npm, and the catalog.

02

Automation

Deterministic evaluators compare that evidence against one release identity and classify each finding.

03

Verification

A human-facing report marks each surface as pass, warning, fail, or blocked, with links to the evidence.

Decisions

D1

Preserve a strict read-only boundary

An audit that changes what it audits cannot be trusted, so the skill never retags, republishes, or edits anything.

D2

Normalize findings into four explicit states

A single success flag hides the difference between a missing artifact and one that could not be checked, and those findings need different responses.

D3

Prefer immutable version evidence

An exact version proves something, while latest can move. A correct mutable alias is therefore reported as conditional rather than as proof.

Contribution

  • Implemented release identity resolution across systems.
  • Built deterministic evaluators for Git, GitHub, npm, and catalog state.
  • Encoded checks for CI results and install commands.
  • Added regression, installer-safety, and package-contract tests.

Outcomes

  • Agents can detect drift between versions and tags.
  • Reports distinguish missing artifacts from verification that was blocked.
  • Each report names the exact surface that failed.
  • Reports provide evidence links without claiming that an install was executed.

Verified stack

  • Agent Skills
  • JavaScript
  • Node.js
  • npm
  • GitHub Actions
  • CI/CD
  • Git

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.