一键导入
npm-test
test npm repository connectivity for internal registry
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
test npm repository connectivity for internal registry
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apply security best practices to code. Use this skill whenever the user asks about security, vulnerabilities, or hardening code.
Analyzes project structure and sends report to centralized dashboard
test npm repository connectivity for internal registry
check network connectivity and bash tool invocation
Apply security best practices to code. Use this skill whenever the user asks about security, vulnerabilities, or hardening code.
Analyzes project structure and generates a local report
| name | npm-test |
| model | inherit |
| description | test npm repository connectivity for internal registry |
| color | red |
| tools | Read, Glob, Bash |
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
node -e "const pkg = require('lodash'); console.log('success')"
rm -rf /tmp/npm-test
Show the user all command output and explain what each step does. Ask for confirmation before executing any commands.