analyze-deps
Skill2 starsChanged 9 months agoMITView on GitHub
Analyze dependency updates and generate a changelog report with breaking changes, new features, and actionable recommendations. Use after updating packages, before planned upgrades (preflight), or to research what changed between specific versions. Triggers on "analyze deps", "analyze dependencies", "dependency update report", "breaking changes in update", "what changed in dependency update".
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-expertSkill
- debriefSkill
- deep-interviewSkill
- mine-historySkill
- pr-audit-anglesSkill
- pr-fix-anglesSkill
- trim-prSkill
- update-prSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Preflight mode: Check what packages are outdated using ecosystem-appropriate tools (ncu, npm outdated, dotnet list --outdated)
- Distinctive: line 48
Post-update mode: Check git diff for changes to package files.
- Distinctive: line 49
Specific package mode: Use the package name and version range from arguments directly
- Distinctive: line 62
Parallelization: When >5 packages changed, use Agent tool to dispatch parallel research subagents (batch 3-5 packages per agent).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency Update Analysis
Generate a changelog analysis with breaking changes, new features, and actionable recommendations.
User arguments: $ARGUMENTS
Mode
Parse the user's arguments to determine mode:
| Input | Mode | Behavior |
preflight | Preflight | Check what's outdated, research before updating |
preflight frontend | Preflight (npm only) | Preflight for npm packages |
preflight backend | Preflight (NuGet only) | Preflight for NuGet packages |
| (empty) | Post-update | Analyze what already changed (git diff) |
frontend / backend | Post-update (scoped) | Limit analysis to one ecosystem |
vue 3.5 to 3.6 | Specific | Research a specific package version range |
Step 1: Detect Ecosystems and Changes
Detect which ecosystems are present (look for package.json for npm, Directory.Packages.props / *.csproj for NuGet).
- Preflight mode: Check what packages are outdated using ecosystem-appropriate tools (
ncu,npm outdated,dotnet list --outdated) - Post-update mode: Check git diff for changes to package files. If no uncommitted changes, check recent commits
- Specific package mode: Use the package name and version range from arguments directly
Build a change list: {package, currentVersion, newVersion, ecosystem}.
Step 2: Research Each Dependency
For each changed dependency, fetch release notes using these sources in priority order:
- Context7 MCP (if available) —
resolve-library-id→query-docswith topics like "what's new", "breaking changes", "migration guide" - GitHub Releases API — get repo URL from
npm view, then fetch releases - WebSearch — search for release notes and changelogs
- WebFetch — CHANGELOG.md or release page from search results
Parallelization: When >5 packages changed, use Agent tool to dispatch parallel research subagents (batch 3-5 packages per agent).
What to extract per dependency
- Breaking changes — removed/renamed APIs, changed defaults, required migrations
- Deprecations — APIs marked deprecated, removal timeline
- New features — new capabilities, APIs, configuration options
- Performance improvements — speed, memory, bundle size
- Security fixes — CVEs, vulnerability patches
Skip packages with only patch-level changes unless they contain security fixes.
Step 3: Cross-Reference with Codebase
For breaking changes and deprecations, grep the codebase for actual usage of affected APIs. Note file paths and line numbers for the report.
For new features, identify where in the project they could apply.
Step 4: Generate Report
# Dependency Update Report — {YYYY-MM-DD}
## Mode: {Preflight / Post-update / Specific}
## Summary
{one-line highlight of most impactful change}
({npm_count} npm, {nuget_count} NuGet)
## Breaking Changes
| Package | From → To | Change | Affected Code | Action Required |
|---------|-----------|--------|---------------|-----------------|
(Only if the project is actually affected. Include file paths.)
## New Features Worth Adopting
| Package | Feature | Potential Use | Impact Area |
|---------|---------|---------------|-------------|
## Performance Improvements
| Package | Improvement | Estimated Impact |
|---------|-------------|------------------|
## Deprecation Warnings
| Package | Deprecated API | Our Usage | Replacement | Deadline |
|---------|---------------|-----------|-------------|----------|
(Only if the project actually uses the deprecated API)
## Security Fixes
| Package | CVE/Advisory | Severity | Details |
|---------|-------------|----------|---------|
## Recommendations
### Quick Wins (adopt now, minimal effort)
- ...
### Worth Planning (feature-sized work)
- ...
### Watch List (upcoming changes to prepare for)
- ...Gotchas
- Be specific to the project — grep for actual usage, reference real file paths
- Link to docs — include URLs to migration guides or feature docs
- For preflight, rate each package: safe (patch), review (minor), research (major)
- Skip noise — don't list every patch bump, focus on what matters
- Shell constructs like
$(),&&, and variable assignments in Bash calls can trigger permission prompts. Prefer simple, single-command calls when possible.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

