From nuxt-skills
Manages Node.js dependencies with pnpm: install packages, configure monorepo workspaces with catalogs, override transitive deps, patch third-party packages, and set up CI/CD for pnpm projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nuxt-skills:pnpmThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Content-addressable store, strict deps, workspace protocol, catalogs.
Content-addressable store, strict deps, workspace protocol, catalogs.
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
# 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": "[email protected]",
"dependencies": {
"@myorg/utils": "workspace:^",
"react": "catalog:"
}
}
| Task | File |
|---|---|
| Commands, scripts, filtering | cli.md |
| Workspaces, catalogs, config | workspaces.md |
| Overrides, patches, hooks, store | features.md |
| CI/CD, Docker, migration | ci.md |
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.
After configuring a workspace, verify it works:
pnpm install # Install all deps
pnpm ls --depth 0 # Verify workspace links
pnpm -r run build # Build all packages
ts-library skill for library patternstsdown or vite skillsnpx claudepluginhub onmax/nuxt-skills --plugin nuxt-skillsManages NPM packages, configures Node.js projects, handles dependencies, and troubleshoots issues using npm, yarn, or pnpm.
Set up and optimize monorepos with Turborepo, Nx, pnpm workspaces for shared code, efficient builds, dependency management, and CI/CD.
Guides monorepo setup and optimization with Turborepo, Nx, and pnpm workspaces. Use when structuring multi-package repos, managing shared dependencies, or improving build performance.