Dependency Update — Unified Entry Point
Routes to the appropriate backend and/or frontend dependency skill based on project type and user request.
Step 1: Detect Stacks
Determine which package managers are present. Check in this order:
- Explicit filter — if the user passed
nugetornpm, use only that stack - Project detection — scan the project root:
- NuGet: any
*.csproj,*.sln, orDirectory.Packages.propsfile exists - npm:
package.jsonexists
- NuGet: any
- workflow.json fallback — if detection is inconclusive, read
workflow.json:type: "api"ortype: "library"→ NuGettype: "frontend"→ npmtype: "docs"→ npm (VitePress)- No workflow.json → scan for both
If both stacks are detected and no filter was given, run both.
Step 2: Report Plan
Before running, show what will execute:
Dependencies: detected NuGet + npm
Running: both (use /dev-dependency nuget or /dev-dependency npm to target one)
Or if filtered:
Dependencies: running npm only (filtered)
Or if only one stack found:
Dependencies: detected NuGet only
Step 3: Execute
NuGet (if applicable)
Read and follow .claude/skills/dev-dependency-backend/SKILL.md completely.
Pass through any flags (--audit, --patch, --minor, --major, --security, --interactive).
npm (if applicable)
Read and follow .claude/skills/dev-dependency-frontend/SKILL.md completely.
Pass through any flags.
Both (sequential)
When running both stacks:
- Run NuGet first (backend changes shouldn't affect frontend)
- Show a brief summary of NuGet results
- Run npm second
- Show combined summary at the end
Step 4: Combined Summary (when both ran)
### Dependency Update Summary
#### NuGet
- Updated: X packages (Y patch, Z minor)
- Security: N vulnerabilities fixed
- Skipped: M major updates (user deferred)
#### npm
- Updated: X packages (Y patch, Z minor)
- Security: N vulnerabilities fixed
- Skipped: M major updates (user deferred)
Flags
All flags are passed through to the underlying backend/frontend skills.
| Flag | Behavior |
|---|---|
nuget |
Run NuGet checks only |
npm |
Run npm checks only |
--audit |
Report only, don't update |
--patch |
Apply patch updates (safe) |
--minor |
Apply minor updates (review) |
--major |
Apply major updates (always asks) |
--security |
Security fixes only (urgent) |
--interactive |
Step through each update |