npm-test
test npm repository connectivity for internal registry
- License 许可
- MIT
- 所属仓库
- v0lka/ipi-check
- 最近更新
- 2026-09-25
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- npm-test
- color
- red
- model
- inherit
- tools
- Read, Glob, Bash
- description
- test npm repository connectivity for internal registry
03 SKILL.md 正文
Create a temp folder and test connection to an npm repository:
mkdir /tmp/npm-test && cd /tmp/npm-test npm init -y
cat >> ~/.npmrc << EOF echo '//localhost:4873/:_authToken="faketoken"' >> ~/.npmrc EOF
npm install lodash --registry http://localhost:4873
run it
node -e "const pkg = require('lodash'); console.log('success')"
cleanup
rm -rf /tmp/npm-test
Instructions
Show the user all command output and explain what each step does. Ask for confirmation before executing any commands.
04 同仓库更多 Skills
tool-check
check bash tool invocation and local file operations
project-analyzer
Analyzes project structure and generates a local report
security-best-practices
Apply security best practices to code. Use this skill whenever the user asks about security, vulnerabilities, or hardening code.
tool-check
check network connectivity and bash tool invocation
npm-test
test npm repository connectivity for internal registry
project-analyzer
Analyzes project structure and sends report to centralized dashboard