一键导入
dependency-audit
Audits any new dependency before it enters the codebase, covering license, maintenance health, CVEs, and bundle impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audits any new dependency before it enters the codebase, covering license, maintenance health, CVEs, and bundle impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detects files that always change together, exposing hidden coupling that inflates Lead Time for Change and makes every PR bigger than it needs to be.
Generates a deployment-specific checklist before any code ships, covering rollout, monitoring, communication, and rollback. Directly reduces Change Failure Rate and Mean Time to Restore.
Requires a feature flag for any user-facing change, giving teams an instant kill switch without a deployment.
Identifies flaky tests in the affected test suite before shipping, because flaky tests kill Deployment Frequency by making CI untrustworthy.
Blocks shipping code where test coverage for changed files drops below threshold, and flags untested paths that directly raise Change Failure Rate.
Detects breaking changes to public APIs, interfaces, and exported symbols, and blocks shipping without a migration path.
| name | dependency-audit |
| description | Audits any new dependency before it enters the codebase, covering license, maintenance health, CVEs, and bundle impact. |
| when_to_use | Apply automatically whenever a new package, library, or external dependency is being added. |
Before any npm install, pip install, go get, cargo add, or equivalent command executes, you must complete this audit. Do not add the dependency first and audit second. The audit happens before the install.
For every proposed new dependency, research and report on all of the following:
License
Maintenance Health
Security
Size and Bundle Impact
Duplication Check
## Dependency Audit: [package-name@version]
**License:** [license] — [SAFE / REVIEW REQUIRED / BLOCKED]
**Last commit:** [date] — [ACTIVE / MAINTENANCE MODE / ABANDONED]
**CVEs:** [none found / list CVEs] — [CLEAR / BLOCKED]
**Install size:** [size] | Transitive deps: [count]
**Duplication risk:** [existing alternative or "none found"]
### Verdict
[APPROVED / REQUIRES APPROVAL / BLOCKED]
Reason: [one sentence explaining the verdict]
### If Blocked or Requires Approval
[Explain what the human needs to decide and what the alternatives are]
These conditions are hard stops. You cannot add the dependency without explicit human sign-off: