Command Palette

Search for a command to run...

Назад к скиллам
скилл № 05470

dependency-management

Use when the user asks about Dependabot, dependabot.yml, Renovate config, lock files, version pinning, dependency update strategy, automerging patch bumps, or…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить dependency-management в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Dependency Management

Purpose

Automate dependency updates, vulnerability scanning, and policy enforcement with Dependabot and Renovate.

Agent Protocol

Trigger

Exact user phrases: "Dependabot", "Renovate", "dependencies", "lock file", "vulnerability scanning", "update strategy", "dependabot.yml", "dependency bump", "automated updates", "version pinning", "patch management", "supply chain security", "SBOM", "npm audit".

Input Context

  • Package ecosystem (npm, pip, maven, go, cargo, nuget, docker, terraform).
  • Package manager (npm, yarn, pnpm, pip, poetry, maven, gradle, go, cargo).
  • Automation tool (Dependabot, Renovate, or both).
  • Update cadence (daily, weekly, monthly).
  • Vulnerability severity threshold (critical only, high+, all).

Output Artifact

Writes to .github/dependabot.yml, renovate.json, or .github/renovate.json.

Response Format

dependabot.yml or renovate.json with no extraneous explanation.

No preamble. No postamble. No explanations. No filler/hedging/transitions.

Completion Criteria

  • Dependabot or Renovate configured for the project's ecosystems.
  • Update schedule and strategy defined.
  • Auto-merge rules configured for safe updates.
  • Vulnerability scanning enabled with alerting.
  • Lock file committed and kept up-to-date.

Architecture / Decision Trees

Tool Selection: Dependabot vs Renovate

Feature Dependabot Renovate
Configuration YAML (dependabot.yml) JSON (renovate.json)
Auto-merge Via GitHub Actions Built-in (platformAutomerge)
Grouped updates Manual allow lists Automatic grouping rules
Custom registries Limited Extensive (any host)
Onboarding PR No Yes (configurable)
Regex manager No Yes (Docker, custom)
Presets/shared config No (org-level only) Presets, extends, shareable
Lock file maintenance Manual Built-in schedule
Dashboard Dependencies tab only Dependency Dashboard PR
Rate limiting GitHub API limits Configurable concurrency
Monorepo support Per-directory config Automatic workspace detection
Self-hosted Via GitHub Via Renovate self-hosted

Update Strategy Decision Tree

  • Major version updates: manual review with quarterly batch.
  • Minor version updates: auto-merge after CI passes, weekly batch.
  • Patch updates: auto-merge within 3 days, no batch delay.
  • Security fixes: immediate PR, direct assign to security team.
  • Dev dependencies: weekly batch, auto-merge patch/minor.
  • Direct dependencies (production): manual review for major, auto-merge for minor/patch.

Vulnerability Severity Thresholds

Severity Response SLA Assignee
Critical Emergency patch, immediate PR 24 hours Security team
High Prioritized patch within 7 days 7 days Security + dev team
Medium Patch within next release cycle 30 days Dev team
Low Patch within next major 90 days Dev team

Auto-Merge Risk Assessment

Update Type Auto-Merge Requires Risk Level
Patch (devDeps) Yes CI passes Low
Patch (dependencies) Yes CI + code coverage Low
Minor (devDeps) Yes CI passes Medium
Minor (dependencies) Conditional CI + review if breaking Medium
Major (any) Never Manual review required High
Security (any) Conditional CI + security team review High

Core Workflow

Step 1: Dependabot Configuration

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "monday"
      time: "09:00"
      timezone: "America/New_York"
    versioning-strategy: "increase-if-necessary"
    open-pull-requests-limit: 10
    rebase-strategy: "auto"
    labels:
      - "dependencies"
      - "npm"
    reviewers:
      - "team-devs"
    assignees:
      - "bot-owner"
    commit-message:
      prefix: "fix"
      prefix-development: "chore"
      include: "scope"
    allow:
      - dependency-type: "direct"
    ignore:
      - dependency-name: "react"
        versions: [">=19.0.0"]
      - dependency-name: "typescript"
        update-types: ["version-update:semver-major"]

  - package-ecosystem: "docker"
    directory: "/"
    schedule:
      interval: "weekly"

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
    groups:
      actions:
        patterns:
          - "actions/*"
          - "github/codeql-action/*"

Step 2: Renovate Configuration

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended",
    ":dependencyDashboard",
    ":semanticCommits",
    "group:allNonMajor"
  ],
  "labels": ["dependencies", "renovate"],
  "assigneesFromCodeOwners": true,
  "schedule": ["before 9am on monday"],
  "timezone": "America/New_York",
  "rangeStrategy": "bump",
  "lockFileMaintenance": {
    "enabled": true,
    "schedule": ["before 9am on monday"]
  }
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/api_reference.md
  • references/architecture_patterns.md
  • references/best_practices.md
  • references/configuration_templates.md
  • references/dependabot-setup.md
  • references/dependency-management-advanced.md
  • references/dependency-management-fundamentals.md
  • references/deployment_strategies.md
  • references/lock-file-resolution.md
  • references/performance_tuning.md
  • references/renovate-config.md
  • references/security_guidelines.md
  • references/troubleshooting_matrix.md
  • references/update-strategies.md
  • references/vulnerability-scanning.md

FAQ

Что делает скилл dependency-management?

Use when the user asks about Dependabot, dependabot.yml, Renovate config, lock files, version pinning, dependency update strategy, automerging patch bumps, or npm audit vulnerability scanning. Produces update bot configs and a dependency policy. Not for SBOM generation (use security-sbom) or monorepo workspaces (use monorepo).

Как установить скилл dependency-management?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dependency-management запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dependency-management с