File contents Dependency Update Manager
Analyzes project dependencies, identifies outdated or vulnerable packages, and creates organized PRs to update them safely.
🎯 Use Case Demo
Scenario: Monthly Dependency Maintenance
Before (Manual Process):
Developer spends Friday afternoon on dependency updates:
Run dotnet list package --outdated - copy results somewhere
Research each package: breaking changes? security fixes?
Update one by one, hoping nothing breaks
Run tests, find something broke
Debug for 2 hours
Give up on some updates, leave for "later"
Time: 4-6 hours, often incomplete
After (With This Skill):
Developer: "Check for dependency updates and create PRs"
Agent Response:
📦 DEPENDENCY UPDATE REPORT
═══════════════════════════════════════════════════════════════
🔍 Scanned: FlightBookingAPI.csproj
📅 Report Date: December 20, 2024
═══════════════════════════════════════════════════════════════
🚨 SECURITY UPDATES (Critical - Update Immediately)
═══════════════════════════════════════════════════════════════
| Package | Current | Latest | Severity | CVE |
|---------|---------|--------|----------|-----|
| System.Text.Json | 7.0.2 | 7.0.4 | HIGH | CVE-2024-1234 |
| Microsoft.Data.SqlClient | 5.1.0 | 5.1.4 | MEDIUM | CVE-2024-5678 |
✅ Created PR #241: "🚨 Security: Update packages with known vulnerabilities"
→ https://github.com/org/flight-booking/pull/241
→ Labels: security, dependencies, critical
═══════════════════════════════════════════════════════════════
⬆️ MINOR/PATCH UPDATES (Safe to Update)
═══════════════════════════════════════════════════════════════
| Package | Current | Latest | Type | Notes |
|---------|---------|--------|------|-------|
| Swashbuckle.AspNetCore | 6.5.0 | 6.6.2 | Minor | New features |
| FluentValidation | 11.8.0 | 11.9.0 | Minor | Bug fixes |
| Serilog | 3.1.0 | 3.1.1 | Patch | Performance |
| xunit | 2.6.1 | 2.6.4 | Patch | Bug fixes |
✅ Created PR #242: "chore(deps): Update minor/patch dependencies"
→ https://github.com/org/flight-booking/pull/242
→ Labels: dependencies, minor
═══════════════════════════════════════════════════════════════
⚠️ MAJOR UPDATES (Review Required)
═══════════════════════════════════════════════════════════════
| Package | Current | Latest | Breaking Changes |
|---------|---------|--------|------------------|
| AutoMapper | 12.0.1 | 13.0.0 | Yes - Profile changes |
| MediatR | 11.1.0 | 12.2.0 | Yes - New registration |
📝 Created Issue #243: "Evaluate major dependency updates"
→ https://github.com/org/flight-booking/issues/243
→ Contains migration guides and breaking change analysis
═══════════════════════════════════════════════════════════════
✅ UP TO DATE (No Action Needed)
═══════════════════════════════════════════════════════════════
Microsoft.AspNetCore.* packages - Latest
Microsoft.EntityFrameworkCore - 8.0.0 (Latest)
═══════════════════════════════════════════════════════════════
📊 SUMMARY
═══════════════════════════════════════════════════════════════
Total packages: 24
Up to date: 18 (75%)
Security updates: 2 (PR #241 ready)
Minor updates: 4 (PR #242 ready)
Major updates: 2 (Issue #243 for review)
═══════════════════════════════════════════════════════════════
Time Saved: 5 hours → 10 minutes (30x faster, more thorough)
Agent Instructions
When this skill is activated:
Scan Dependencies :
For .NET: dotnet list package --outdated
For Node.js: npm outdated or yarn outdated
For Python: pip list --outdated
Parse all project files for dependencies
Check Security Advisories :
Query GitHub Advisory Database
Check NVD (National Vulnerability Database)
Identify CVEs affecting current versions
Categorize Updates :
Security : Any package with known CVE
Patch : x.y.Z changes (bug fixes)
Minor : x.Y.z changes (new features, backward compatible)
Major : X.y.z changes (breaking changes)
Research Breaking Changes :
For major updates, fetch release notes
Identify breaking changes and migration steps
Assess impact on codebase
Create Appropriate PRs :
Security updates: Single PR, urgent labels
Minor/Patch: Combined PR, low priority
Major: Create issue with analysis, not PR
Include Context :
Link to changelogs in PR description
Note any code changes needed
Add testing recommendations
Example Prompts
"Check for dependency updates"
"Are there any security vulnerabilities in our packages?"
"Update all minor dependencies"
"Create a dependency update report"
"What packages need updating?"
Supported Package Managers
Platform
Package Manager
Security Check
.NET
NuGet
✅ GitHub Advisory
Node.js
npm/yarn/pnpm
✅ npm audit
Python
pip/poetry
✅ safety check
Java
Maven/Gradle
✅ OWASP check
Benefits
Metric
Before
After
Improvement
Update time
5 hours
10 min
30x faster
Security coverage
Reactive
Proactive
Prevent breaches
Update frequency
Quarterly
Weekly
Always current
Breaking changes
Surprise
Documented
No surprises
1 --- 2 name: dependency-update 3 description: Check for outdated packages and create update PRs 4 --- 5 6 # Dependency Update Manager 7 8 Analyzes project dependencies, identifies outdated or vulnerable packages, and creates organized PRs to update them safely. 9 10 ## 🎯 Use Case Demo 11 12 ### Scenario: Monthly Dependency Maintenance 13 14 **Before (Manual Process):** 15 > Developer spends Friday afternoon on dependency updates: 16 > 1. Run `dotnet list package --outdated` - copy results somewhere 17 > 2. Research each package: breaking changes? security fixes? 18 > 3. Update one by one, hoping nothing breaks 19 > 4. Run tests, find something broke 20 > 5. Debug for 2 hours 21 > 6. Give up on some updates, leave for "later" 22 > 23 > **Time: 4-6 hours, often incomplete** 24 25 **After (With This Skill):** 26 > Developer: "Check for dependency updates and create PRs" 27 > 28 > **Agent Response:** 29 > ``` 30 > 📦 DEPENDENCY UPDATE REPORT 31 > ═══════════════════════════════════════════════════════════════ 32 > 33 > 🔍 Scanned: FlightBookingAPI.csproj 34 > 📅 Report Date: December 20, 2024 35 > 36 > ═══════════════════════════════════════════════════════════════ 37 > 🚨 SECURITY UPDATES (Critical - Update Immediately) 38 > ═══════════════════════════════════════════════════════════════ 39 > 40 > | Package | Current | Latest | Severity | CVE | 41 > |---------|---------|--------|----------|-----| 42 > | System.Text.Json | 7.0.2 | 7.0.4 | HIGH | CVE-2024-1234 | 43 > | Microsoft.Data.SqlClient | 5.1.0 | 5.1.4 | MEDIUM | CVE-2024-5678 | 44 > 45 > ✅ Created PR #241: "🚨 Security: Update packages with known vulnerabilities" 46 > → https://github.com/org/flight-booking/pull/241 47 > → Labels: security, dependencies, critical 48 > 49 > ═══════════════════════════════════════════════════════════════ 50 > ⬆️ MINOR/PATCH UPDATES (Safe to Update) 51 > ═══════════════════════════════════════════════════════════════ 52 > 53 > | Package | Current | Latest | Type | Notes | 54 > |---------|---------|--------|------|-------| 55 > | Swashbuckle.AspNetCore | 6.5.0 | 6.6.2 | Minor | New features | 56 > | FluentValidation | 11.8.0 | 11.9.0 | Minor | Bug fixes | 57 > | Serilog | 3.1.0 | 3.1.1 | Patch | Performance | 58 > | xunit | 2.6.1 | 2.6.4 | Patch | Bug fixes | 59 > 60 > ✅ Created PR #242: "chore(deps): Update minor/patch dependencies" 61 > → https://github.com/org/flight-booking/pull/242 62 > → Labels: dependencies, minor 63 > 64 > ═══════════════════════════════════════════════════════════════ 65 > ⚠️ MAJOR UPDATES (Review Required) 66 > ═══════════════════════════════════════════════════════════════ 67 > 68 > | Package | Current | Latest | Breaking Changes | 69 > |---------|---------|--------|------------------| 70 > | AutoMapper | 12.0.1 | 13.0.0 | Yes - Profile changes | 71 > | MediatR | 11.1.0 | 12.2.0 | Yes - New registration | 72 > 73 > 📝 Created Issue #243: "Evaluate major dependency updates" 74 > → https://github.com/org/flight-booking/issues/243 75 > → Contains migration guides and breaking change analysis 76 > 77 > ═══════════════════════════════════════════════════════════════ 78 > ✅ UP TO DATE (No Action Needed) 79 > ═══════════════════════════════════════════════════════════════ 80 > 81 > Microsoft.AspNetCore.* packages - Latest 82 > Microsoft.EntityFrameworkCore - 8.0.0 (Latest) 83 > 84 > ═══════════════════════════════════════════════════════════════ 85 > 📊 SUMMARY 86 > ═══════════════════════════════════════════════════════════════ 87 > 88 > Total packages: 24 89 > Up to date: 18 (75%) 90 > Security updates: 2 (PR #241 ready) 91 > Minor updates: 4 (PR #242 ready) 92 > Major updates: 2 (Issue #243 for review) 93 > 94 > ═══════════════════════════════════════════════════════════════ 95 > ``` 96 97 **Time Saved: 5 hours → 10 minutes (30x faster, more thorough)** 98 99 --- 100 101 ## Agent Instructions 102 103 When this skill is activated: 104 105 1. **Scan Dependencies**: 106 - For .NET: `dotnet list package --outdated` 107 - For Node.js: `npm outdated` or `yarn outdated` 108 - For Python: `pip list --outdated` 109 - Parse all project files for dependencies 110 111 2. **Check Security Advisories**: 112 - Query GitHub Advisory Database 113 - Check NVD (National Vulnerability Database) 114 - Identify CVEs affecting current versions 115 116 3. **Categorize Updates**: 117 - **Security**: Any package with known CVE 118 - **Patch**: x.y.Z changes (bug fixes) 119 - **Minor**: x.Y.z changes (new features, backward compatible) 120 - **Major**: X.y.z changes (breaking changes) 121 122 4. **Research Breaking Changes**: 123 - For major updates, fetch release notes 124 - Identify breaking changes and migration steps 125 - Assess impact on codebase 126 127 5. **Create Appropriate PRs**: 128 - Security updates: Single PR, urgent labels 129 - Minor/Patch: Combined PR, low priority 130 - Major: Create issue with analysis, not PR 131 132 6. **Include Context**: 133 - Link to changelogs in PR description 134 - Note any code changes needed 135 - Add testing recommendations 136 137 ### Example Prompts 138 139 - "Check for dependency updates" 140 - "Are there any security vulnerabilities in our packages?" 141 - "Update all minor dependencies" 142 - "Create a dependency update report" 143 - "What packages need updating?" 144 145 --- 146 147 ## Supported Package Managers 148 149 | Platform | Package Manager | Security Check | 150 |----------|-----------------|----------------| 151 | .NET | NuGet | ✅ GitHub Advisory | 152 | Node.js | npm/yarn/pnpm | ✅ npm audit | 153 | Python | pip/poetry | ✅ safety check | 154 | Java | Maven/Gradle | ✅ OWASP check | 155 156 --- 157 158 ## Benefits 159 160 | Metric | Before | After | Improvement | 161 |--------|--------|-------|-------------| 162 | Update time | 5 hours | 10 min | 30x faster | 163 | Security coverage | Reactive | Proactive | Prevent breaches | 164 | Update frequency | Quarterly | Weekly | Always current | 165 | Breaking changes | Surprise | Documented | No surprises |
ihkreddy/agent-skills-ts/tree/main/skills/dependency-update commit 924494bb8e
Frequently asked questions How do I install the Dependency Update skill? Run npx skillmds@latest add ihkreddy/dependency-update in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Dependency Update skill do? Check for outdated packages and create update PRs It is listed under Coding & Dev Tools on SkillMD.
Is Dependency Update safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Dependency Update? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Dependency Update free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Dependency Update? ihkreddy (@ihkreddy) published this skill. Their other Agent Skills are listed on their SkillMD profile.