跳到正文
cccskills
免费在 GitHub 公开

dependency-auditor

Scan project dependencies for vulnerabilities, license issues, and upgrade opportunities across Python, Node.js, Go, and Rust. Use when auditing dependencies, checking licenses, planning upgrades, or assessing supply chain security.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(18)

  • SKILL.md7.1 KB
  • assets/sample_go.mod2.1 KB
  • assets/sample_package.json1.9 KB
  • assets/sample_requirements.txt1.1 KB
  • expected_outputs/sample_license_report.txt930 B
  • expected_outputs/sample_upgrade_plan.txt2.0 KB
  • expected_outputs/sample_vulnerability_report.json1.7 KB
  • README.md14.9 KB
  • references/capabilities-and-best-practices.md10.5 KB
  • references/dependency_management_best_practices.md17.8 KB
  • references/license_compatibility_matrix.md8.7 KB
  • references/tools-integration-and-troubleshooting.md8.2 KB
  • references/vulnerability_assessment_guide.md14.1 KB
  • scripts/dep_scanner.py30.5 KB
  • scripts/license_checker.py43.4 KB
  • scripts/upgrade_planner.py41.7 KB
  • test-inventory.json9.7 KB
  • test-project/package.json1.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Dependency Auditor

A multi-language toolkit for analyzing, auditing, and managing dependencies. It scans manifests and lockfiles across 8+ ecosystems to surface vulnerabilities, classify licenses, detect bloat, and produce safe, phased upgrade plans — giving teams visibility into security, legal, and maintenance risk hidden in their dependency trees.

Core Capabilities

  • Vulnerability scanning & CVE matching — match direct/transitive deps against a built-in CVE database with CVSS scoring across Node, Python, Go, Rust, Ruby, Java, PHP, .NET.
  • License compliance — classify into permissive / weak-copyleft / strong-copyleft / proprietary / unknown tiers and detect incompatible combinations (e.g. GPL contamination).
  • Outdated & maintenance detection — categorize updates by patch/minor/major severity; flag abandoned or end-of-life packages.
  • Dependency bloat analysis — find unused, redundant, or oversized packages and consolidation opportunities.
  • Upgrade path planning — semver breaking-change prediction, risk matrix, prioritization, rollback strategies.
  • Supply chain security — provenance checks, typosquatting/malicious-package detection, transitive risk scoring.
  • Lockfile analysis — validate freshness, integrity hashes, and cross-environment consistency for deterministic builds.

When to Use

  • Auditing a project's dependencies for vulnerabilities or supply-chain risk.
  • Checking license compliance before distribution or M&A due diligence.
  • Planning safe, phased dependency upgrades.
  • Adding a dependency security gate to CI/CD.
  • Cleaning up unused or redundant dependencies.

Clarify First

Before running the audit, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Project & ecosystem — the project path and which manifests/lockfiles (the input the scanner parses)
  • Audit focus — vulnerabilities, license compliance, or upgrade planning (selects dep_scanner.py vs license_checker.py vs upgrade_planner.py)
  • Policy & gate — license policy strictness and fail-on-severity threshold (sets --policy, --fail-on-high, and the CI verdict)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
dep_scanner.pyScan manifests/lockfiles across 8+ ecosystems, match CVEs, produce a security reportpython scripts/dep_scanner.py /path/to/project --format json --fail-on-high
license_checker.pyClassify dependency licenses by risk tier and detect conflicts vs the project licensepython scripts/license_checker.py /path/to/project --policy strict --warn-conflicts
upgrade_planner.pyEvaluate semver gaps, assess breaking-change risk, output a phased upgrade planpython scripts/upgrade_planner.py deps.json --risk-threshold medium --timeline 30

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/capabilities-and-best-practices.md — full breakdown of every analysis capability, the scanner/analyzer/planner internals, use cases by team, advanced/enterprise features, recommended scan cadences, and metrics/KPIs. Read when you need the deep capability or architecture detail.
  • references/tools-integration-and-troubleshooting.md — quick-start and CI/CD/scheduled-audit integration commands, complete per-tool flag/output reference, the troubleshooting table, and success-criteria targets. Read when running the tools, wiring them into pipelines, or diagnosing failures.
  • references/vulnerability_assessment_guide.md — how to assess, prioritize, and remediate dependency vulnerabilities (CVSS, exploitability, disclosure timelines). Read when triaging or responding to security findings.
  • references/license_compatibility_matrix.md — comprehensive license-type reference and compatibility matrix for combining open-source dependencies. Read when resolving license conflicts or making distribution decisions.
  • references/dependency_management_best_practices.md — strategic, governance, security, and operational best practices across the dependency lifecycle. Read when establishing dependency policy or team workflows.

Scope & Limitations

This skill covers:

  • Parsing dependency manifests and lockfiles for JavaScript/Node.js, Python, Go, Rust, Ruby, Java, PHP, and C#/.NET ecosystems.
  • Matching dependencies against a built-in vulnerability database of common CVE patterns with severity scoring.
  • Classifying licenses into risk tiers (permissive, weak copyleft, strong copyleft, proprietary, unknown) and detecting conflicts.
  • Generating prioritized, phased upgrade plans with breaking-change analysis, rollback procedures, and time estimates.

This skill does NOT cover:

  • Real-time querying of live vulnerability databases (NVD, OSV, GitHub Advisory); the built-in DB is a representative subset. For continuous monitoring, see skill-security-auditor.
  • Container image or OS-level package scanning. For infrastructure auditing, see ci-cd-pipeline-builder or observability-designer.
  • Automated PR creation for dependency updates (Dependabot/Renovate-style); the skill produces plans and reports, not code changes.
  • Runtime dependency analysis or dynamic import tracing; detection is static manifest/lockfile parsing only.

Integration Points

SkillIntegrationData Flow
skill-security-auditorFeed vulnerability scan results into broader security audit workflowsdep_scanner.py --format json output consumed as evidence artifacts
ci-cd-pipeline-builderEmbed dependency gates in CI/CD pipelinesdep_scanner.py --fail-on-high and license_checker.py --policy strict as pipeline steps
release-managerAttach dependency audit reports to release checklistsJSON reports from all three tools included in release documentation
pr-review-expertFlag dependency changes during pull request reviewScanner diff between base and head branch dependency files
env-secrets-managerEnsure dependency tooling credentials (registry tokens) are securely managedRegistry authentication tokens stored and rotated via secrets manager
observability-designerMonitor dependency health metrics over timeScan summary statistics exported to monitoring dashboards

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9542026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题