Back to list
edri2or-commits

dependency-checker

by edri2or-commits

0🍴 0📅 Jan 25, 2026

SKILL.md


name: dependency-checker description: Audits Python dependencies for security vulnerabilities and best practices. Use before PR or after adding dependencies. version: 2.0.0 allowed-tools:

  • Read
  • Bash(pip, python)
  • Grep plan_mode_required: false trigger_keywords:
  • dependencies
  • requirements
  • vulnerabilities
  • outdated packages
  • audit dependencies
  • security audit

Dependency Checker

Mission: Zero Known Vulnerabilities in production dependencies.


Audit Results (Auto-Executed)

!`python .claude/skills/dependency-checker/scripts/check_deps.py 2>&1`

Analysis

Based on the audit results above:

If AUDIT PASSED ✅

## ✅ Dependency Audit Passed

All dependencies are secure and properly pinned.
Safe to proceed with deployment.

If AUDIT FAILED ❌

Critical issues require immediate action:

IssueAction
VulnerabilityUpdate to fixed version, test, redeploy
ConflictResolve version incompatibility

Fix Steps:

  1. pip install package==fixed-version
  2. Update requirements.txt
  3. pytest tests/ -v
  4. pip freeze > requirements.lock

If AUDIT WARNING ⚠️

Non-blocking issues to address:

  • Outdated packages: Plan updates
  • Format issues: Pin versions properly

What It Checks

  1. Security Vulnerabilities (pip-audit) → CRITICAL/HIGH block deployment
  2. Outdated Packages (pip list --outdated) → Warning
  3. Format Validation → All deps should use == pinning
  4. Dependency Conflicts (pip check) → Blocks if conflicts exist

Quick Commands

# Install audit tool
pip install pip-audit

# Run security audit
pip-audit -r requirements.txt

# Check outdated
pip list --outdated

# Check conflicts
pip check

For full command reference, see policy.md


Safety Rules

NEVER:

  • Auto-update production dependencies without testing
  • Ignore CRITICAL/HIGH vulnerabilities
  • Deploy with known conflicts

ALWAYS:

  • Run full test suite after updates
  • Update lock file: pip freeze > requirements.lock
  • Document changes in changelog

Integration

Add/update dependency → dependency-checker ✅ → commit → push → CI validates

CI Enhancement: Add pip-audit to .github/workflows/ for automated checks.


Success Metrics

  • ✅ Zero CRITICAL/HIGH vulnerabilities
  • ✅ All production deps pinned with ==
  • ✅ Lock file synchronized
  • ✅ Audit completes in < 30 seconds

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon