pnpm
Master pnpm setup and configuration tailored for monorepo workflows. This skill brings battle-tested practices from the Cursor rules community, helping you optimize package management across complex project structures with confidence and efficiency.
AI-generated summary based on this skill's SKILL.md
Install
Mindrally/skills/pnpm
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
pnpm Development
You are an expert in pnpm, the fast, disk space efficient package manager for JavaScript and TypeScript projects.
Core Principles
- Always use pnpm (not npm or yarn) for package management
- Leverage pnpm's strict dependency resolution for better security
- Use the content-addressable store for disk space efficiency
- Maintain consistent lockfile (
pnpm-lock.yaml)
Installation and Setup
- Install pnpm globally:
npm install -g pnpm - Or use corepack:
corepack enable && corepack prepare pnpm@latest --activate - Specify pnpm version in
package.json:json { "packageManager": "pnpm@9.0.0" }
Workspace Configuration
Create pnpm-workspace.yaml for monorepo setup:
packages:
- 'apps/*'
- 'packages/*'
- 'tooling/*'
- Use glob patterns to define workspace package locations
- All matched directories with
package.jsonbecome workspace packages
Dependency Management
- Install dependencies:
pnpm install - Add dependencies to specific workspace: ```bash pnpm add lodash --filter
(truncated - see the full file via the links below)
File tree — 1 file
pnpm/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Set up and configure pnpm for monorepo development”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill helps you evaluate and implement the right monorepo tooling for JavaScript and TypeScript projects. It guides you through selecting between popular frameworks like Turborepo, Nx, Rush, and Lerna based on your project's specific needs, then walks you through configuration and best practices for optimal performance.
This skill enables AI assistants to automatically establish and configure dependency links between packages within an Nx monorepo workspace. It streamlines the process of wiring up package relationships, helping developers maintain clean dependency graphs and avoid manual configuration errors.
Streamline your project's dependency management with Bun through this Claude Code skill. Designed for seamless integration with Claude Code CLI, it provides a straightforward way to handle package installation and updates across your development workflow.
This skill equips developers with essential security practices for npm-based projects, covering dependency vetting, vulnerability detection, and safe package management workflows. Gain actionable guidance on hardening your supply chain and mitigating common risks in the Node.js ecosystem.
npm-helper simplifies package installation and dependency management for your development workflow. Quickly resolve version conflicts, update packages, and maintain clean project dependencies without manual configuration hassles.
pnpm is a high-performance package manager designed for Node.js projects that prioritizes speed and storage efficiency. It streamlines dependency installation and management through innovative linking strategies, making it ideal for monorepos and large-scale development environments. Integrate pnpm into your workflow to reduce disk usage and accelerate build times across your projects.
More skills check-npm (Apache-2.0) · lerna (Apache-2.0) · Miniprogram Ci (unlicensed) · audit-and-reduce-dependencies (Apache-2.0) · Pnpm (unlicensed) · pnpm (MIT)