agentleFS
sanity-iosanity-io/next-sanity/.agents/skills/pnpm/SKILL.md

pnpm

Skill956 starsChanged 3 months agoMITView on GitHub

Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces, or managing dependencies with catalogs, patches, or overrides.

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Important: When working with pnpm projects, agents should check for pnpm-workspace.yaml and .npmrc files to understand workspace structure …

    line 12

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Download now (ZIP)

  • Other versions28 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 21

    1. moeru-ai/airi★ 51k32% same
    2. joe-bell/cva★ 6.9k32% same
    3. antfu/skills★ 6k24% same
    4. TheEdoRan/next-safe-action★ 3.1k100% same
    5. oyjt/uniapp-vue3-template★ 628100% same
    6. JetBrains/skills★ 38694% same
    7. tazo90/next-openapi-gen★ 19332% same
    8. yamcodes/arkenv★ 15198% same
    9. alint-dev/alint★ 123100% same
    10. moeru-ai/alint★ 123100% same

    11 more not listed

    Wrote their own version · 7

    1. Mindrally/skills★ 275same name
    2. louisbrulenaudet/monorepo-template★ 19same name
    3. G1Joshi/Agent-Skills★ 15same name
    4. ldaume/agentic-engineering-harness★ 2same name
    5. quatico-solutions/agent-skills★ 2same name
    6. lntvow/skills★ 1same name
    7. Quad4-Software/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use antfu-design, xsai and 8 more.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • liangmiQwQSkill

      antfu-design

      Use when building or restyling devtools-style Vue 3 UIs with @antfu/design — wiring the composable UnoCSS preset, using the semantic token vocabulary (bg-base, color-base, badge-color-*, color-scale-*), choosing prefixed primitives (DisplayBadge, ActionButton, DisplayFilePath, OverlayModal, …), and keeping light/dark contrast and the "anti-slop" rules. Reach for it whenever generating or reviewing UI in a project that depends on @antfu/design.

      Also in 3 projects that use this

    • alint-devSkill

      xsai

      Use this skill when the user is building with `xsai` or any `@xsai/*` package, or is evaluating xsAI for a small OpenAI-compatible workflow with text generation, streaming, tool calling, structured output, embeddings, image generation, speech synthesis, or transcription.

      Also in 3 projects that use this

    • SentrySkill

      nitro

      Build and deploy universal JavaScript servers with Nitro v3. Use when working with nitro.config.ts, defineNitroConfig, defineHandler, defineConfig, server.ts entry, filesystem routing, route rules, useStorage, defineCachedHandler, useDatabase, definePlugin, runtime hooks, Vercel/Cloudflare deployment, or migrating from Nitro v2/nitropack.

      Also in 3 projects that use this

    • GitHubSkill

      multi-stage-dockerfile

      Create optimized multi-stage Dockerfiles for any language or framework

      Also in 3 projects that use this

    • OzTamirSkill

      simple-english

      Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop. Use for documentation, READMEs, runbooks, procedures, error messages, release notes, incident reports, and API guides. Also use when the user says "STE", "Simplified Technical English", "ASD-STE100", "de-slop", "make this readable", "write for non-native readers", or asks for docs that translate well. Enforces the standard's 53 rules: 20/25-word sentence limits, one word one meaning, simple tenses, active voice, condition before command.

      Also in 3 projects that use this

    • MicrosoftSkill

      typescript

      TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.

      Also in 3 projects that use this

  • In this repository14 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.