Agent skill
pnpm
Use when managing Node.js dependencies with pnpm - provides workspace setup, catalogs, CLI commands, overrides, and CI configuration
Install this agent skill to your Project
npx add-skill https://github.com/onmax/claude-config/tree/main/skills/pnpm
SKILL.md
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:
- references/cli.md - if using pnpm commands, scripts, or filtering
- references/workspaces.md - if setting up monorepo, catalogs, or workspace config
- references/features.md - if using overrides, patches, hooks, or managing store
- references/ci.md - if configuring CI/CD, Docker, or migrating from npm/yarn
DO NOT load all files at once. Load only what's relevant to your current task.
Cross-Skill References
- TypeScript libs → Use
ts-libraryskill for library patterns - Build tooling → Use
tsdownorviteskills
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
writer
Iterative writing loop. Gemini 3 Pro writes, Claude Agent SDK reviews autonomously. Use for blog posts, docs, technical content needing quality iteration.
nuxt-seo
Nuxt SEO meta-module with robots, sitemap, og-image, schema-org. Use when configuring SEO, generating sitemaps, creating OG images, or adding structured data.
ts-library
Use when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and publishing to npm. Use when bundling, configuring dual CJS/ESM output, or setting up release workflows.
motion
Use when adding animations with Motion Vue (motion-v) - provides motion component API, gesture animations, scroll-linked effects, layout transitions, and composables for Vue 3/Nuxt
vue
Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance
vite
Use when setting up Vite projects - provides dev server, HMR, build configuration, library mode, and plugin authoring patterns
Didn't find tool you were looking for?