OpenParable
Skip to content
← Back to skills

Pnpm Workspaces

Development
pnpm-workspaces

Pnpm Workspaces is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

pnpm workspace patterns and dependency management.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/web-development/skills/pnpm-workspaces/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pnpm-workspaces, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

pnpm Workspaces Skill

Expert assistance for pnpm workspace management.

Capabilities

  • Configure workspaces
  • Manage dependencies
  • Handle peer dependencies
  • Publish packages
  • Optimize node_modules

Configuration

# pnpm-workspace.yaml
packages:
  - 'apps/*'
  - 'packages/*'
// package.json
{
  "name": "root",
  "private": true,
  "scripts": {
    "build": "pnpm -r build",
    "dev": "pnpm -r --parallel dev"
  }
}

Commands

# Install in workspace
pnpm add lodash --filter @repo/web

# Run in all packages
pnpm -r build

# Run in specific package
pnpm --filter @repo/ui build

Target Processes

  • monorepo-setup
  • dependency-management
  • package-publishing