package-managers
CommunityEnsure consistent, reproducible package management.
Authorhjemmesidekongen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the common challenges of inconsistent development environments, dependency conflicts, and reproducibility issues in Node.js projects, especially within monorepos.
Core Features & Use Cases
- Package Manager Selection: Guides the choice between pnpm, npm, and yarn based on project needs.
- Monorepo Setup: Provides best practices for configuring pnpm or npm workspaces.
- Lockfile Discipline: Enforces the critical practice of committing lockfiles for reproducible installs.
- Peer Dependency Management: Details how to correctly declare and resolve peer dependencies to avoid conflicts.
- Node Version Pinning: Ensures consistent Node.js versions across development and CI environments.
- Use Case: A team is experiencing "works on my machine" issues due to differing Node versions and dependency installations. This Skill provides clear steps to standardize their environment using
.nvmrc, lockfiles, and pnpm workspaces.
Quick Start
Configure your project to use pnpm workspaces and commit your lockfile.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: package-managers Download link: https://github.com/hjemmesidekongen/ai/archive/main.zip#package-managers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.