pnpm-workspace-config

Community

Master monorepo workspaces, prevent package chaos.

Authormetasaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Incorrect pnpm-workspace.yaml configurations lead to broken package resolution, inefficient builds, and difficulty managing packages in a monorepo. This skill automates the setup and validation of pnpm workspaces, ensuring correct architecture-specific patterns.

Core Features & Use Cases

  • Architecture-Specific Patterns: Provides templates and validation for consumer repos (standard or MFE-grouped apps) and library repos, preventing generic packages/* in consumer projects.
  • Exact Path Matching: Enforces precise workspace patterns like packages/contracts/* instead of broad, error-prone globs.
  • Directory Existence & No Extra Patterns: Validates that all declared workspace paths exist and that no unnecessary patterns are included.
  • Alphabetical Ordering: Ensures pnpm-workspace.yaml is clean and maintainable by enforcing alphabetical order of patterns.
  • Use Case: Generate a compliant pnpm-workspace.yaml for a new micro-frontend monorepo, ensuring apps/admin/* and apps/consumer/* patterns are correctly defined, or audit an existing one to fix incorrect globs.

Quick Start

Audit the current pnpm-workspace.yaml for MetaSaver monorepo compliance.

Dependency Matrix

Required Modules

yq

Components

assets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pnpm-workspace-config
Download link: https://github.com/metasaver/claude-marketplace/archive/main.zip#pnpm-workspace-config

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository