Community skill · published by reelier

reelier/npm-deprecation-check

1 step · 3 assertions · green · READ-ONLY

Provenance

Recorded with
not recorded
License
MIT
Content hash
0e422b85cad62356
Endpoints
registry.npmjs.org

Get this skill

This one command installs Reelier and fetches the skill’s frozen bytes in the same breath. The CLI verifies the content hash before writing anything — a mismatch writes nothing.

npx -y reelier@latest get reelier/npm-deprecation-check

The skill file

reelier/npm-deprecation-check.skill.md · v1· verbatim
---
name: npm-deprecation-check
description: Checks whether the npm package "request" is marked deprecated on its latest published version — read-only
license: MIT
---

# npm deprecation check

Inputs: (none — replays green as-is; see the personalization note)

<!--
  Personalization: swap the literal `request` in the URL for your own
  package name to check its deprecation status instead.

  Why an agent would replay this: npm's per-version registry document
  carries a `deprecated` string when an author marked that version
  deprecated — a useful pre-install gate for a dependency-bump job.
  `request` is a famously deprecated package, chosen deliberately so this
  replay proves the deprecated branch, not just the happy path. Read-only,
  no auth.

  Endpoint verified live on 2026-07-22: 200, version "2.88.2", `deprecated`
  field a non-empty string.
-->

The assertion pins the shape (a deprecation message exists and is a
string), never its exact wording, which an author could edit.

## Steps

### Step 1 — Deprecation status of the latest published version
- intent: Fetch npm's registry document for request's latest published version and confirm it carries a deprecation notice
- action: http.get {"url": "https://registry.npmjs.org/request/latest"}
- assert: status == 200
- assert: json.name == "request"
- assert: json.deprecated is string
- bind: version = json.version
- bind: deprecated = json.deprecated
- effect: read

Real receipts

100% pass rate across 1 shared replay of this skill:

Embeddable badge (markdown):

[![reelier](https://www.reelier.com/badge/-b4w48BT0o17Q87UVsoYaHam)](https://www.reelier.com/r/-b4w48BT0o17Q87UVsoYaHam?utm_source=registry&utm_campaign=reelier-npm-deprecation-check)
Report this skill

Report abuse: see the skill registry terms & takedown process. Markdown twin of this page: /skills/reelier/npm-deprecation-check/md.