pnpm
This skill enables the agent to work with pnpm, a Node.js package manager that uses content-addressable storage for disk efficiency and enforces strict…
Identity proven by GitHub's verified organisation badge (sanity-io)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- a80a997pinned Oct 9, 2026
- Context cost
- about 870 tokenswhen the skill loads
- GitHub stars
- 20on sanity-io/plugins
- Scripts
- None found
What it does
“Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.”
Generated summary from the skill's own text
This skill enables the agent to work with pnpm, a Node.js package manager that uses content-addressable storage for disk efficiency and enforces strict dependency resolution. The agent can execute pnpm commands, configure workspaces via pnpm-workspace.yaml, and manage dependencies using catalogs, patches, overrides, and peer dependency rules. It includes references for CLI operations, monorepo setup, CI/CD integration, and migration strategies from other package managers.
When to use it
- Managing Node.js dependencies in monorepo or workspace environments
- Running pnpm-specific commands like install, add, remove, or workspace filtering
- Configuring centralized version management with catalogs or dependency overrides
- Setting up pnpm in CI/CD pipelines with frozen lockfiles and caching strategies
When not to
- Working with npm or Yarn projects without pnpm installed
- When phantom dependencies or workspace setup are not concerns
- Projects requiring only basic package installation without advanced features
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add sanity-io/plugins --skill pnpmInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install sanity-io/plugins pnpm@a80a997e3d11d188f9639ac3efab1d8f93a276efInstalls the commit we checked (a80a997).
Copy by hand
Download the folder at a80a997 and put it in .claude/skills/pnpm for Claude Code and in .agents/skills/pnpm for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install sanity@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "pnpm" by Sanity. Source, pinned to commit a80a997e3d11d188f9639ac3efab1d8f93a276ef: https://github.com/sanity-io/plugins/tree/a80a997e3d11d188f9639ac3efab1d8f93a276ef/.agents/skills/pnpm 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/pnpm/ for Claude Code and .agents/skills/pnpm/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/sanity/pnpm
SKILL.md at the pin
--- name: pnpm description: Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides. metadata: author: Anthony Fu version: '2026.1.28' source: Generated from https://github.com/pnpm/pnpm, scripts located at https://github.com/antfu/skills --- pnpm is a fast, disk space efficient package manager. It uses a content-addressable store to deduplicate packages across all projects on a machine, saving significant disk space. pnpm enforces strict dependency resolution by default, preventing phantom dependencies. Configuration should preferably be placed in `pnpm-workspace.yaml` for pnpm-specific settings. **Important:** When working with pnpm projects, agents should check for `pnpm-workspace.yaml` and `.npmrc` files to understand workspace structure and configuration. Always use `--frozen-lockfile` in CI environments. > The skill is based on pnpm 10.x, generated at 2026-01-28. ## Core | Topic | Description | Reference | | ------------- | ------------------------------------------------------------------------ | ------------------------------------------------ | | CLI Commands | Install, add, remove, update, run, exec, dlx, and workspace commands | [core-cli](references/core-cli.md) | | Configuration | pnpm-workspace.yaml, .npmrc settings, and package.json fields | [core-config](references/core-config.md) | | Workspaces | Monorepo support with filtering, workspace protocol, and shared lockfile | [core-workspaces](references/core-workspaces.md) | | Store | Content-addressable storage, hard links, and disk efficiency | [core-store](references/core-store.md) | ## Features | Topic | Description | Reference | | ----------------- | ------------------------------------------------------------ | ------------------------------------------------------ | | Catalogs | Centralized dependency version management for workspaces | [features-catalogs](references/features-catalogs.md) | | Overrides | Force specific versions of dependencies including transitive | [features-overrides](references/features-overrides.md) | | Patches | Modify third-party packages with custom fixes | [features-patches](references/features-patches.md) | | Aliases | Install packages under custom names using npm: protocol | [features-aliases](references/features-aliases.md) | | Hooks | Customize resolution with .pnpmfile.cjs hooks | [features-hooks](references/features-hooks.md) | | Peer Dependencies | Auto-install, strict mode, and dependency rules | [features-peer-deps](references/features-peer-deps.md) | ## Best Practices | Topic | Description | Reference | | ----------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------- | | CI/CD Setup | GitHub Actions, GitLab CI, Docker, and caching strategies | [best-practices-ci](references/best-practices-ci.md) | | Migration | Migrating from npm/Yarn, handling phantom deps, monorepo migration | [best-practices-migration](references/best-practices-migration.md) | | Performance | Install optimizations, store caching, workspace parallelization | [best-practices-performance](references/best-practices-performance.md) |
From sanity-io/plugins at a80a997, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at a80a997Files
- SKILL.md3.9 KB · d58bdfa07358
- GENERATION.md134 B · 9904d933ccf1
- references/
- best-practices-ci.md5.3 KB · 05b079822987
- best-practices-migration.md5.1 KB · d8affe2bdf5a
- best-practices-performance.md4.8 KB · 107f4b5b1cd8
- core-cli.md3.6 KB · e69fdadda69d
- core-config.md3.9 KB · 216ab8a06f65
- core-store.md4.0 KB · 8486ef184a15
- core-workspaces.md4.2 KB · 10963209061b
- features-aliases.md2.9 KB · 31516ff651c2
- features-catalogs.md3.2 KB · fd898a167e58
- features-hooks.md4.5 KB · 5632f5bf5fe2
- features-overrides.md3.5 KB · b7a199754b6f
- features-patches.md3.9 KB · fe4ec0addb0b
- features-peer-deps.md4.3 KB · aa2a846a664f
15 files, 57 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at a80a997More from Sanity
sanity-live-cache-components
Integrates Sanity Live with Next.js Cache Components in next-sanity v13+ apps, setting up shared cached data fetching through sanityFetch, live content…
Claude Code, Codex, Cursor +4 · about 4K tokens · pinned 6 days ago
content-experimentation-best-practices
This skill provides guidance for designing and running content experiments using A/B and multivariate testing.
Claude Code, Codex, Cursor +4 · about 360 tokens · pinned 6 days ago
content-modeling-best-practices
Guides agents through structured content modeling principles for headless CMSes like Sanity, covering schema design, content reuse strategies, and field…
Claude Code, Codex, Cursor +4 · about 340 tokens · pinned 6 days ago
portable-text-conversion
Converts HTML and Markdown content into Portable Text blocks for Sanity using markdownToPortableText, htmlToBlocks, or manual construction.
Claude Code, Codex, Cursor +4 · about 510 tokens · pinned 6 days ago
portable-text-serialization
This skill enables rendering Portable Text content across multiple frameworks and output formats using the @portabletext library family.
Claude Code, Codex, Cursor +4 · about 940 tokens · pinned 6 days ago
sanity-best-practices
This skill provides best practices for Sanity headless CMS development across schema design, GROQ queries, framework integrations (Next.js, Nuxt, Astro…
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
Related in Coding workflow
planning
This skill orchestrates multi-workflow projects with dependencies and shared data tables by creating a task graph in the orchestrator via the create-tasks tool.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago
progressive-building
This skill implements incremental workflow development for agents building or extending workflows.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 1.4K tokens · pinned 6 days ago
workflow-builder
Builds and edits n8n workflows using the TypeScript SDK.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 14.2K tokens · pinned 6 days ago
remotion-upgrade
This skill upgrades Remotion and its related packages to the latest stable version.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago
remotion-upgrade
This skill upgrades Remotion and related packages across a project, automatically detecting the package manager and workspaces.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago
final-release-review
Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.
by OpenAIOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago