跳到正文
TakoAPI
返回技能列表

dependency-audit

由 fratua 提供

CLI Utilities
555下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Smart dependency health check — security audit, outdated detection, unused deps, and prioritized update plan.

描述

该技能的功能

Scans a project's dependencies across Node.js, Python, Rust, Go, and Ruby ecosystems. Runs security audits, detects outdated packages, finds unused dependencies, and produces a prioritized update plan with ready-to-run commands.

Combines security audit, outdated detection, and unused-dependency analysis in one pass across multiple ecosystems, rather than running and interpreting separate tools manually.

何时使用

  • Auditing a Node.js project before a production release
  • Finding critical CVEs in a Python service's requirements
  • Cleaning up unused npm packages bloating a repo
  • Generating a batch update script for a stale monorepo
  • Checking Cargo dependencies for known vulnerabilities

示例工作流

输入

User asks: audit the dependencies in my project

智能体
  1. 1

    Detects package manager by checking for package.json, requirements.txt, Cargo.toml, go.mod, or Gemfile

  2. 2

    Runs the appropriate security audit command (npm audit, pip audit, cargo audit, etc.) and parses results by severity

  3. 3

    Checks for outdated packages using npm outdated, pip list --outdated, or cargo outdated

  4. 4

    Identifies unused dependencies via depcheck for Node.js or import scanning for Python

  5. 5

    Generates a prioritized markdown report with copy-pasteable fix commands grouped by severity tier

输出

A dependency health report showing 2 critical vulnerabilities, 3 major updates, 8 minor updates, and 1 unused package, with exact commands to resolve each

安装

clawhub install fratua/dependency-audit

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接