pnpm

द्वारा sanity-io

सख्त निर्भरता समाधान वाला Node.js पैकेज प्रबंधक। pnpm विशिष्ट कमांड चलाने, वर्कस्पेस कॉन्फ़िगर करने, या निर्भरता प्रबंधित करने के लिए उपयोग करें...

npx skills add https://github.com/sanity-io/next-sanity --skill pnpm

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

TopicDescriptionReference
CLI CommandsInstall, add, remove, update, run, exec, dlx, and workspace commandscore-cli
Configurationpnpm-workspace.yaml, .npmrc settings, and package.json fieldscore-config
WorkspacesMonorepo support with filtering, workspace protocol, and shared lockfilecore-workspaces
StoreContent-addressable storage, hard links, and disk efficiencycore-store

Features

TopicDescriptionReference
CatalogsCentralized dependency version management for workspacesfeatures-catalogs
OverridesForce specific versions of dependencies including transitivefeatures-overrides
PatchesModify third-party packages with custom fixesfeatures-patches
AliasesInstall packages under custom names using npm: protocolfeatures-aliases
HooksCustomize resolution with .pnpmfile.cjs hooksfeatures-hooks
Peer DependenciesAuto-install, strict mode, and dependency rulesfeatures-peer-deps

Best Practices

TopicDescriptionReference
CI/CD SetupGitHub Actions, GitLab CI, Docker, and caching strategiesbest-practices-ci
MigrationMigrating from npm/Yarn, handling phantom deps, monorepo migrationbest-practices-migration
PerformanceInstall optimizations, store caching, workspace parallelizationbest-practices-performance

sanity-io की और Skills

performance-optimization
sanity-io
एप्लिकेशन के प्रदर्शन को अनुकूलित करता है। इसका उपयोग तब करें जब प्रदर्शन आवश्यकताएं हों, जब आपको प्रदर्शन में गिरावट का संदेह हो, या जब कोर वेब वाइटल्स या लोड समय...
official
rxjs-like-a-pro
sanity-io
यह कौशल आपको ऐसा RxJS कोड लिखने में मदद करता है जो स्वाभाविक, संयोजनीय और सामान्य कमियों से मुक्त हो। मुख्य दर्शन: तर्क को ऑब्ज़र्वेबल श्रृंखला में रखें। जब भी आप .subscribe() का उपयोग करने जाएं, तो पूछें कि क्या वह कार्य .pipe() के अंदर एक रूपांतरण के रूप में व्यक्त किया जा सकता है।
official
find-skills
sanity-io
उपयोगकर्ताओं को एजेंट कौशल खोजने और स्थापित करने में मदद करता है जब वे ऐसे प्रश्न पूछते हैं जैसे "मैं X कैसे करूं", "X के लिए कोई कौशल खोजें", "क्या कोई ऐसा कौशल है जो...", या व्यक्त करते हैं...
official
next-cache-components
sanity-io
Next.js 16 कैश घटक - PPR, use cache निर्देश, cacheLife, cacheTag, updateTag
official
vercel-react-best-practices
sanity-io
React और Next.js प्रदर्शन अनुकूलन दिशानिर्देश Vercel Engineering से। इस कौशल का उपयोग React/Next.js को लिखने, समीक्षा करने या रीफैक्टर करते समय किया जाना चाहिए…
official
frontend-design
sanity-io
उच्च डिज़ाइन गुणवत्ता के साथ विशिष्ट, उत्पादन-स्तर के फ्रंटएंड इंटरफ़ेस बनाएं। इस कौशल का उपयोग तब करें जब उपयोगकर्ता वेब घटकों, पृष्ठों या... बनाने के लिए कहे।
official
plugin-transfer
sanity-io
एजेंटों को कॉपी-प्लगइन जनरेटर वर्कफ़्लो के साथ मौजूदा प्लगइन को इस मोनोरिपो में स्थानांतरित करने का मार्गदर्शन देता है।
official
test-studio-script-runner
sanity-io
dev/test-studio स्क्रिप्ट रनर टूल की व्याख्या करता है। इसका उपयोग तब करें जब dev/test-studio/src/script-runner में स्क्रिप्ट जोड़ना, संपादित करना, चलाना या दस्तावेज़ीकरण करना हो, या जब...
official