用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/coreindustries/core-ai-template --skill deps命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | deps |
| description | Audit, update, and manage project dependencies safely. |
Audit, update, and manage project dependencies safely.
/deps [action] [package] [--security] [--outdated]
action: audit, update, add, remove, outdated (default: audit)package: Specific package name (for add/remove/update)--security: Focus on security vulnerabilities only--outdated: Show only outdated packagesWhen this skill is invoked:
Autonomy:
Safety:
/deps audit)Check for security vulnerabilities and issues:
prd/00_technology.md for audit commands# Commands vary by stack (see prd/00_technology.md)
{dependency_audit_command}
/deps outdated)List packages with available updates:
Check for updates:
{outdated_command}
Categorize by update type:
Present update plan
/deps update [package])Update dependencies safely:
If specific package:
{update_package_command} <package>
If all packages (patch/minor only):
{update_all_command}
Verify after update:
{install_command}
{test_command}
{build_command}
Create commit:
chore(deps): update <package> to <version>
/deps add <package>)Add new dependency:
{add_package_command} <package>
{test_command}
/deps remove <package>)Remove dependency:
{remove_package_command} <package>
{test_command}
## Dependency Audit Report
**Date:** YYYY-MM-DD
**Total packages:** X
**Direct dependencies:** Y
**Vulnerabilities found:** Z
### Security Vulnerabilities
| Severity | Package | Current | Fixed In | CVE |
|----------|---------|---------|----------|-----|
| High | lodash | 4.17.15 | 4.17.21 | CVE-2021-23337 |
| Medium | axios | 0.21.0 | 0.21.1 | CVE-2021-3749 |
### Outdated Packages
| Package | Current | Latest | Type |
|---------|---------|--------|------|
| react | 17.0.2 | 18.2.0 | Major |
| typescript | 4.9.5 | 5.3.2 | Major |
| jest | 29.5.0 | 29.7.0 | Minor |
### Recommendations
1. **Immediate**: Update lodash to fix high severity CVE
2. **Soon**: Update axios for security patch
3. **Plan**: Evaluate React 18 migration
$ /deps audit --security
Auditing dependencies...
Package manager: npm
Total packages: 245 (42 direct, 203 transitive)
Security Scan Results:
🔴 High Severity (1)
━━━━━━━━━━━━━━━━━━━
lodash@4.17.15
CVE-2021-23337: Prototype pollution
Fixed in: 4.17.21
Recommendation: npm update lodash
🟡 Medium Severity (2)
━━━━━━━━━━━━━━━━━━━━━
axios@0.21.0
CVE-2021-3749: ReDoS vulnerability
Fixed in: 0.21.1
minimist@1.2.5
CVE-2021-44906: Prototype pollution
Fixed in: 1.2.6
🟢 Low Severity (0)
━━━━━━━━━━━━━━━━━━━━━
Summary: 3 vulnerabilities found
- 1 high (action required)
- 2 medium (update soon)
Suggested fix:
npm update lodash axios minimist
Run `/deps update` to apply security patches.