0
0
# Install this skill:
npx skills add halay08/fullstack-agent-skills --skill "pnpm"

Install specific skill from multi-skill repository

# Description

Fast, disk space efficient package manager for Node.js with strict dependency resolution and monorepo support

# SKILL.md


name: pnpm
description: Fast, disk space efficient package manager for Node.js with strict dependency resolution and monorepo support
license: MIT


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

Load Based on Task

Installing packages? โ†’ Load cli.md
Setting up monorepo? โ†’ Load workspaces.md
Fixing dep issues? โ†’ Load features.md
Configuring CI? โ†’ Load ci.md

Cross-Skill References

  • TypeScript libs โ†’ Use ts-library skill for library patterns
  • Build tooling โ†’ Use tsdown or vite skills

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.