dependency-health

Analyzes package.json and lockfiles to detect unused packages and risky version ranges.

121|11|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/glaucia86/repocheckai --skill dependency-health-glaucia86
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-health
Source: https://github.com/glaucia86/repocheckai/tree/main/.github/skills/dependency-health
Command: npx skills add https://github.com/glaucia86/repocheckai --skill dependency-health-glaucia86

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies potential issues with project dependencies, such as unused packages, overly permissive versioning, or potential risks, helping to maintain a healthier and more secure codebase.

Core Features & Use Cases

  • Dependency Health Check: Analyzes package.json and lockfiles to assess the state of dependencies.
  • Permissive Versioning Detection: Flags dependencies with broad version ranges that could lead to unexpected updates.
  • Unused Dependency Identification: Helps in identifying and removing packages that are no longer in use.
  • Use Case: Before merging a new feature, run this Skill to ensure that newly added dependencies don't introduce security vulnerabilities or bloat the project with unused packages.

Quick Start

Analyze the dependencies in the current project to identify any health issues.

Frequently Asked Questions about dependency-health

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check package.json for unused dependencies and risky versioning?

To check dependencies for risks, analyze your package.json and lockfiles to identify unused packages and overly permissive version ranges. This scoping ensures deterministic results by evaluating version ranges to flag potential dependency management issues.

What is permissive versioning in npm dependencies and how does it affect code health?

Permissive versioning in npm dependencies uses broad version ranges that could lead to unexpected updates and potential risks. Detecting these broad ranges in your package.json helps maintain code health by preventing uncontrolled version changes.

How do I detect unused npm packages in my project before merging new features?

Detect unused npm packages by analyzing your project dependencies scoped to package.json and lockfiles. Running this check before merging new features ensures newly added dependencies don't introduce bloat or unused packages into the codebase.

Does dependency risk analysis work with lockfiles for deterministic results?

Yes, dependency risk analysis scopes its evaluation specifically to package.json and lockfiles to achieve deterministic results. This ensures the assessment of version ranges and unused packages is based on the exact locked dependency tree.

What are the limitations of analyzing project dependencies for version ranges?

Analyzing project dependencies is limited to evaluating version ranges and identifying unused packages within the package.json and lockfiles. It does not execute code or resolve external security vulnerabilities beyond detecting permissive versioning risks.

What's the best way to perform a dependency health check on a npm project?

The best way to perform a dependency health check is to analyze project dependencies by evaluating package.json and lockfiles together. This identifies unused packages and flags permissive versioning to maintain a healthier and more secure codebase.