agentleFS
propstreetpropstreet/claude-powerpack/skills/analyze-deps/SKILL.md

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".

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
  1. Very specific:

    Preflight mode: Check what packages are outdated using ecosystem-appropriate tools (ncu, npm outdated, dotnet list --outdated)

    line 47
  2. Distinctive:

    Post-update mode: Check git diff for changes to package files.

    line 48
  3. Distinctive:

    Specific package mode: Use the package name and version range from arguments directly

    line 49
  4. Distinctive:

    Parallelization: When >5 packages changed, use Agent tool to dispatch parallel research subagents (batch 3-5 packages per agent).

    line 62

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

InputModeBehavior
preflightPreflightCheck what's outdated, research before updating
preflight frontendPreflight (npm only)Preflight for npm packages
preflight backendPreflight (NuGet only)Preflight for NuGet packages
(empty)Post-updateAnalyze what already changed (git diff)
frontend / backendPost-update (scoped)Limit analysis to one ecosystem
vue 3.5 to 3.6SpecificResearch 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:

  1. Context7 MCP (if available) — resolve-library-id → query-docs with topics like "what's new", "breaking changes", "migration guide"
  2. GitHub Releases API — get repo URL from npm view, then fetch releases
  3. WebSearch — search for release notes and changelogs
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.