Pnpm

From mattycraig/nuxt-theme-builder · View interactive version

Pnpm is an AI agent skill from the GitHub repository mattycraig/nuxt-theme-builder. Use when managing Node.js dependencies with pnpm - provides workspace setup, catalogs, CLI commands, overrides, and CI configuration

How to use this skill

Skill file

pnpm

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

When to Use

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/*'

# Catalogs for centralized version management
catalog:
  react: ^18.2.0
  typescript: ~5.3.0
// package.json - Use workspace protocol and catalogs
{
  "packageManager": "pnpm@10.28.2",
  "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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.