npx claudepluginhub lennetech/claude-code --plugin lt-devWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Analyzes and optimizes npm package dependencies across 5 maintenance modes: FULL (update all), DRY-RUN (analysis only), SECURITY-ONLY (urgent CVE fixes), PRE-RELEASE (conservative patch-only), POST-FEATURE (cleanup after development). Activates when user mentions "update packages", "pnpm audit", "npm audit", "check dependencies", "security fix", "outdated dependencies", "deprecated packages", "devDependencies", "pre-release cleanup", "post-feature housekeeping", "remove unused packages", or package.json optimization. NOT for @lenne.tech/nest-server version updates (use nest-server-updating).
This skill uses the workspace's default tool permissions.
NPM Package Maintenance
When to Use This Skill
- User mentions outdated packages or wants to update dependencies
- Security vulnerabilities found via
pnpm audit - Need to optimize
dependenciesvsdevDependencies - Removing unused packages from
package.json - Pre-release or post-feature dependency cleanup
- General package maintenance or housekeeping tasks
For comprehensive npm package maintenance, use the lt-dev:npm-package-maintainer agent via the maintenance commands.
Skill Boundaries
| User Intent | Correct Skill |
|---|---|
| "Update npm packages" | THIS SKILL |
| "npm audit fix" | THIS SKILL |
| "Remove unused dependencies" | THIS SKILL |
| "Update nest-server to v14" | nest-server-updating |
| "Fix NestJS service" | generating-nest-servers |
Related Skills
generating-nest-servers- For NestJS development when dependencies affect the serverusing-lt-cli- For Git operations after maintenancenest-server-updating- For updating @lenne.tech/nest-server (uses this agent internally)
Available Commands
| Command | Mode | Use Case |
|---|---|---|
/lt-dev:maintenance:maintain | FULL | Complete optimization (remove unused, recategorize, update all) |
/lt-dev:maintenance:maintain-check | DRY-RUN | Analysis only - see what would be done without changes |
/lt-dev:maintenance:maintain-security | SECURITY | Fast security-only updates (audit vulnerabilities) |
/lt-dev:maintenance:maintain-pre-release | PRE-RELEASE | Conservative patch-only updates before a release |
/lt-dev:maintenance:maintain-post-feature | FULL | Clean up after feature development |
When to Recommend Each Command
/lt-dev:maintenance:maintain (FULL MODE)
Recommend when user wants:
- Complete dependency optimization
- General maintenance / housekeeping
- "Clean up my dependencies"
- "Update all packages"
/lt-dev:maintenance:maintain-check (DRY-RUN)
Recommend when user wants:
- To see what would change without making changes
- Analysis or audit of current state
- "What packages are outdated?"
- "Check my dependencies"
- Pre-approval before making changes
/lt-dev:maintenance:maintain-security (SECURITY-ONLY)
Recommend when user mentions:
pnpm auditvulnerabilities- Security issues
- CVEs or security advisories
- "Fix security vulnerabilities"
- Quick/urgent security fixes
/lt-dev:maintenance:maintain-pre-release (PRE-RELEASE)
Recommend when user mentions:
- Preparing for a release
- "Before release"
- Wanting minimal/safe changes only
- Risk-averse updates
/lt-dev:maintenance:maintain-post-feature (POST-FEATURE)
Recommend when user:
- Just finished implementing a feature
- Added new dependencies
- Wants to clean up after development work
What the Agent Does
The lt-dev:npm-package-maintainer agent performs 4 priorities:
- Remove unused packages - Finds and removes packages not used in the codebase
- Optimize categorization - Moves dev-only packages to devDependencies
- Replace deprecated packages - Detects deprecated packages and replaces them with maintained alternatives
- Update packages - Updates to latest versions with risk-based approach
All operations ensure pnpm run build and pnpm test pass before completion.
Quick Guidance
- User unsure? → Recommend
/lt-dev:maintenance:maintain-checkfirst (safe, no changes) - Security urgent? → Recommend
/lt-dev:maintenance:maintain-security(fast, focused) - Before release? → Recommend
/lt-dev:maintenance:maintain-pre-release(conservative) - General cleanup? → Recommend
/lt-dev:maintenance:maintain(comprehensive)
Similar Skills
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.