Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

investigate-npm-feed-failures

Skill by dotnet

Diagnoses npm E401 and missing-package failures on the public dotnet Azure Artifacts feed, including false-green builds. Aimed at maintainers of the dotnet extensions build who need to find and fix upstream-only package versions.

  • Score 83
  • 3.3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install investigate-npm-feed-failures

Built from the published package, never by AI.

git clone --depth 1 https://github.com/dotnet/extensions /tmp/extensions && mkdir -p ~/.claude/skills && cp -r /tmp/extensions/.github/skills/investigate-npm-feed-failures ~/.claude/skills/investigate-npm-feed-failures

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install investigate-npm-feed-failures in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through diagnosing npm E401 and missing-package failures on the public dotnet-public-npm Azure Artifacts feed, which has an npmjs upstream. It covers builds that report E401, fail while building the Azure DevOps reporting plugin, or pass despite an npm error. The steps include searching build logs, reproducing an anonymous npm ci with verbose logging, and checking whether a version is saved locally or only visible upstream.

It also explains how to remediate without running authenticated probes that would globally import a version. Remediation prefers importing the intended package version through UpdateNpmDependencies.ps1 over downgrading, then verifies anonymous access. The source is aimed at maintainers of the dotnet extensions build, who need CI failures reported accurately.

Written from the project's SKILL.md and checked against it.

What it can do

  • Search build logsFinds E401, Unable to authenticate, npm error and missing node_modules messages in build logs.
  • Reproduce anonymouslyRuns npm ci with isolated user and global npmrc files and verbose logging to reproduce the failure.
  • Check saved versus upstream-onlyUses an anonymous tarball GET and the packaging API with includeAllVersions=true to see whether a version is saved.
  • Detect false-green buildsExplains how ignored npm exit codes can let a build succeed and package stale node_modules.
  • Remediate by importingRuns UpdateNpmDependencies.ps1 with --prefer-online so Azure Artifacts saves the missing upstream package.
  • Verify anonymous accessRe-checks the tarball URL anonymously and reruns the failing npm ci after import.

What you need

  • Windows build agent for the Azure DevOps reporting plugin step
  • PowerShell
  • npm and git
  • curl.exe
  • Feed and Upstream Reader (Collaborator) permission for authenticated import

Try asking

  • Why does my extensions build show npm E401 on the dotnet-public-npm feed?
  • Check whether this npm tarball version is saved locally or only upstream.
  • Reproduce my npm ci anonymously with verbose logging and read the debug log.

Good to know

  • An authenticated request for an upstream-only version globally imports it, so probing is not advised for diagnosis alone.
  • The Azure DevOps reporting plugin build step runs only in the Windows-only section of BuildAndTest.yml.
  • Package metadata visibility does not prove anonymous restore will succeed.
  • The agent-local npm debug log is not normally uploaded with build results.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .github/skills/investigate-npm-feed-failures/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to investigate-npm-feed-failures

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

investigate-npm-feed-failures: common questions

Why does npm return E401 on the public dotnet feed?

Anonymous users can only download package versions already saved in the feed. Metadata can list an upstream version whose tarball is not yet saved, so anonymous restore fails.

Who can import an upstream-only package version?

Only an authenticated identity with Feed and Upstream Reader (Collaborator) or higher permission can cause a previously unsaved upstream version to be imported.

Why can a build pass even though npm failed?

If the script ignores npm's native exit code, the build can show a false green and may package stale node_modules. Native npm and npx exit codes must terminate build.ps1.

How do I install investigate-npm-feed-failures?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is investigate-npm-feed-failures free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is investigate-npm-feed-failures safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to investigate-npm-feed-failures?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

investigate-npm-feed-failures Install

Add to stack

Loading.