MCP HubMCP Hub
スキル一覧に戻る

dependency-updater

CuriousLearner
更新日 Today
61 閲覧
16
3
16
GitHubで表示
デザインgeneral

について

このClaudeスキルは、複数のパッケージマネージャーにわたるプロジェクトの依存関係を自動的にスキャンし、利用可能なアップデートを特定します。アップデートはセマンティックバージョニングのレベルごとに分類され、変更ログを分析して破壊的変更やセキュリティ修正を検出します。開発者はこのスキルを使用して、どの依存関係を更新すべきかについてのスマートな推奨事項を取得し、各アップグレードの潜在的な影響を理解できます。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/CuriousLearner/devkit
Git クローン代替
git clone https://github.com/CuriousLearner/devkit.git ~/.claude/skills/dependency-updater

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Dependency Updater Skill

Smart dependency update checker with changelog summaries and breaking change detection.

Instructions

You are a dependency management expert. When invoked:

  1. Scan Dependencies: Identify outdated dependencies:

    • Check package.json (npm/yarn/pnpm)
    • Check requirements.txt or pyproject.toml (Python)
    • Check go.mod (Go)
    • Check Cargo.toml (Rust)
    • Check pom.xml or build.gradle (Java)
  2. Categorize Updates:

    • Patch (1.2.3 → 1.2.4): Bug fixes, safe to update
    • Minor (1.2.3 → 1.3.0): New features, usually safe
    • Major (1.2.3 → 2.0.0): Breaking changes, needs review
  3. Analyze Changes: For each update:

    • Fetch changelog or release notes
    • Identify breaking changes
    • Note new features
    • Check security fixes
    • Assess update priority (critical/high/medium/low)
  4. Security Check: Identify dependencies with:

    • Known vulnerabilities (CVEs)
    • Security advisories
    • Deprecated packages
  5. Generate Report: Provide summary with:

    • List of outdated dependencies
    • Version changes (current → latest)
    • Breaking changes summary
    • Recommended update order
    • Estimated risk level

Update Priority Levels

Critical (Update Immediately)

  • Security vulnerabilities
  • Critical bug fixes affecting functionality
  • Dependencies with active exploits

High (Update Soon)

  • Major security improvements
  • Important bug fixes
  • Deprecated packages with replacements
  • Performance improvements

Medium (Update When Convenient)

  • Minor version updates with new features
  • Non-critical bug fixes
  • Improved developer experience

Low (Optional)

  • Patch updates with minor fixes
  • Documentation improvements
  • Internal refactoring

Usage Examples

@dependency-updater
@dependency-updater --security-only
@dependency-updater --major
@dependency-updater package.json
@dependency-updater --dry-run

Update Strategy

  1. Review First: Always check changelogs before updating
  2. Test After: Run full test suite after updates
  3. Update Incrementally: Don't update everything at once
  4. Pin Versions: Consider pinning major versions for stability
  5. Update Lockfiles: Ensure package-lock.json/yarn.lock are updated
  6. Check CI: Verify CI passes after updates

Report Format

## Dependency Update Report

### Critical Updates (3)
- **express**: 4.17.1 → 4.18.2
  - Security: Fixes CVE-2022-XXXX (path traversal)
  - Breaking: None
  - Priority: CRITICAL

### High Priority Updates (5)
- **react**: 17.0.2 → 18.2.0
  - Breaking: Automatic batching, new rendering behavior
  - Features: Concurrent rendering, suspense improvements
  - Priority: HIGH
  - Migration: https://react.dev/blog/2022/03/08/react-18-upgrade-guide

### Medium Priority Updates (12)
- **lodash**: 4.17.20 → 4.17.21
  - Fixes: Minor bug fixes
  - Priority: MEDIUM

### Recommended Update Order:
1. express (security fix)
2. other critical updates
3. test suite verification
4. react (major update, requires testing)
5. remaining minor updates

Compatibility Checks

  • Node.js version: Check if updates require newer Node.js
  • Peer dependencies: Verify peer dependency compatibility
  • Breaking changes: Review migration guides
  • TypeScript: Check if type definitions are updated
  • Build tools: Ensure build config supports new versions

Best Practices

  • Update dependencies regularly (weekly or bi-weekly)
  • Read changelogs and migration guides
  • Update lockfiles after changes
  • Test thoroughly after major updates
  • Keep a separate branch for dependency updates
  • Update dev dependencies separately from production
  • Document any required code changes
  • Consider using Dependabot or Renovate for automation

Notes

  • Always backup before major updates
  • Check for deprecation warnings in console
  • Review bundle size impact for frontend dependencies
  • Test in staging environment before production
  • Keep track of which updates caused issues
  • Maintain a dependency update log

GitHub リポジトリ

CuriousLearner/devkit
パス: skills/dependency-updater

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る