Agent Skills: pnpm

Use when managing Node.js dependencies with pnpm - provides workspace setup, catalogs, CLI commands, overrides, and CI configuration

UncategorizedID: onmax/claude-config/pnpm

Install this agent skill to your local

pnpm dlx add-skill https://github.com/onmax/claude-config/tree/HEAD/skills/pnpm

Skill Files

Browse the full folder contents for pnpm.

Download Skill

Loading file tree…

skills/pnpm/SKILL.md

Skill Metadata

Name
pnpm
Description
Use when managing Node.js dependencies with pnpm - provides workspace setup, catalogs, CLI commands, overrides, and CI configuration

pnpm

Content-addressable store, strict deps, workspace protocol, catalogs.

When to Use

  • Installing/managing npm packages
  • Monorepo workspace setup
  • Overriding transitive dependencies
  • Patching third-party packages
  • CI/CD configuration for pnpm projects

Quick Start

pnpm install                      # Install deps
pnpm add <pkg>                    # Add dep
pnpm add -D <pkg>                 # Dev dep
pnpm -r run build                 # Run in all packages
pnpm --filter @myorg/app build    # Run in specific package

Workspace Setup

# pnpm-workspace.yaml
packages:
  - 'packages/*'
  - 'apps/*'

catalog:
  react: ^18.2.0
  typescript: ~5.3.0
// package.json
{
  "dependencies": {
    "@myorg/utils": "workspace:^",
    "react": "catalog:"
  }
}

Reference Files

| Task | File | | -------------------------------- | ----------------------------------------- | | Commands, scripts, filtering | cli.md | | Workspaces, catalogs, config | workspaces.md | | Overrides, patches, hooks, store | features.md | | CI/CD, Docker, migration | ci.md |

Loading Files

Consider loading these reference files based on your task:

DO NOT load all files at once. Load only what's relevant to your current task.

Cross-Skill References

  • TypeScript libs → Use ts-library skill for library patterns
  • Build tooling → Use tsdown or vite skills