Agent skill
dev-dependency
Audit and update project dependencies. Auto-detects package managers (NuGet, npm) from the project or uses workflow.json project type. Runs both backend and frontend checks in mixed projects. Filter with "nuget" or "npm" to target one stack. Use when the user says "update dependencies", "check packages", "audit deps", "upgrade packages", or invokes /dev-dependency.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/dev-dependency
SKILL.md
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 |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?