Back to list
lenneTech

maintaining-npm-packages

by lenneTech

Claude Code Plugin for lenne.tech development - Skills, Commands & Hooks for Nuxt 4, NestJS, TDD and CLI tools

0🍴 0📅 Jan 19, 2026

SKILL.md


name: maintaining-npm-packages description: Guides npm package maintenance tasks. Use when user mentions outdated packages, npm audit, security vulnerabilities, dependency updates, package optimization, unused dependencies, or devDependencies categorization. Recommends the lt-dev:npm-package-maintainer agent via /maintain commands.

NPM Package Maintenance

When to Use This Skill

  • User mentions outdated packages or wants to update dependencies
  • Security vulnerabilities found via npm audit
  • Need to optimize dependencies vs devDependencies
  • 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.

  • generating-nest-servers - For NestJS development when dependencies affect the server
  • using-lt-cli - For Git operations after maintenance
  • nest-server-updating - For updating @lenne.tech/nest-server (uses this agent internally)

Available Commands

CommandModeUse Case
/lt-dev:maintainFULLComplete optimization (remove unused, recategorize, update all)
/lt-dev:maintain-checkDRY-RUNAnalysis only - see what would be done without changes
/lt-dev:maintain-securitySECURITYFast security-only updates (npm audit vulnerabilities)
/lt-dev:maintain-pre-releasePRE-RELEASEConservative patch-only updates before a release
/lt-dev:maintain-post-featureFULLClean up after feature development

When to Recommend Each Command

/lt-dev:maintain (FULL MODE)

Recommend when user wants:

  • Complete dependency optimization
  • General maintenance / housekeeping
  • "Clean up my dependencies"
  • "Update all packages"

/lt-dev: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:maintain-security (SECURITY-ONLY)

Recommend when user mentions:

  • npm audit vulnerabilities
  • Security issues
  • CVEs or security advisories
  • "Fix security vulnerabilities"
  • Quick/urgent security fixes

/lt-dev: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: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 3 priorities:

  1. Remove unused packages - Finds and removes packages not used in the codebase
  2. Optimize categorization - Moves dev-only packages to devDependencies
  3. Update packages - Updates to latest versions with risk-based approach

All operations ensure npm run build and npm test pass before completion.

Quick Guidance

  • User unsure? → Recommend /lt-dev:maintain-check first (safe, no changes)
  • Security urgent? → Recommend /lt-dev:maintain-security (fast, focused)
  • Before release? → Recommend /lt-dev:maintain-pre-release (conservative)
  • General cleanup? → Recommend /lt-dev:maintain (comprehensive)

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon