/mindrally-skills:pnpmfrom Mindrally Skills Collection
Provides best practices for pnpm package manager, workspace management, and monorepo configuration.
Ships in Mindrally Skills Collection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in pnpm, the fast, disk space efficient package manager for JavaScript and TypeScript projects.
pnpm-lock.yaml)npm install -g pnpmcorepack enable && corepack prepare pnpm@latest --activatepackage.json:
{
"packageManager": "[email protected]"
}
Create pnpm-workspace.yaml for monorepo setup:
packages:
- 'apps/*'
- 'packages/*'
- 'tooling/*'
package.json become workspace packagespnpm installpnpm add lodash --filter @org/my-app
pnpm add -D typescript --filter @org/my-lib
{
"dependencies": {
"@org/shared-utils": "workspace:*",
"@org/ui": "workspace:^"
}
}
workspace:* - Any version, replaced with actual version on publishworkspace:^ - Compatible versionsworkspace:~ - Patch versions onlyRun commands in specific packages:
pnpm --filter @org/my-app dev
pnpm --filter "./apps/*" build
pnpm --filter "...@org/my-lib" test # Include dependents
pnpm --filter "@org/my-lib..." build # Include dependencies
--filter <package-name> - Specific package--filter "./path/*" - By path--filter "...<pkg>" - Package and its dependents--filter "<pkg>..." - Package and its dependenciespnpm -r run build # Run in all packages
pnpm -r --parallel run dev # Run in parallel
pnpm -r --stream run test # Stream output
{
"scripts": {
"build": "pnpm -r run build",
"dev": "pnpm --filter @org/web dev",
"lint": "pnpm -r run lint",
"test": "pnpm -r run test"
}
}
Configure hoisting in .npmrc:
# Strict mode - no hoisting
hoist=false
# Selective hoisting
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
# Shamefully hoist everything (not recommended)
shamefully-hoist=true
Configure peer dependency handling in .npmrc:
auto-install-peers=true
strict-peer-dependencies=false
Override dependencies in root package.json:
{
"pnpm": {
"overrides": {
"lodash": "^4.17.21",
"[email protected]": "npm:bar@^2.0.0"
}
}
}
pnpm publishpnpm fetch in Docker for better caching:
COPY pnpm-lock.yaml ./
RUN pnpm fetch
COPY . ./
RUN pnpm install --offline
--frozen-lockfile in CI environmentspnpm-lock.yaml.npmrc for consistent team configurationworkspace:* for internal dependenciespackage.json minimalpnpm dedupe to optimize lockfilepnpm auditpnpm why <package> to debug dependency issuesengine-strict=true to enforce Node.js version requirementsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mindrally/skills --plugin mindrally-skills265 skills in this plugin
/accessibility-a11yImplement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces./alpine-jsAlpine.js development guidelines for lightweight reactive interactions with Tailwind CSS and various backend frameworks./analytics-data-analysisBest practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks. Use when performing exploratory data analysis, building data pipelines, creating statistical visualizations, writing Jupyter notebooks, cleaning and transforming datasets, or implementing analytics dashboards./android-developmentAndroid development guidelines for Kotlin with clean architecture, MVI pattern, Material Design, and best practices for building robust mobile applications/angularExpert in Angular TypeScript development with scalable, high-performance patterns/angular-developmentExpert guidance for Angular and TypeScript development focused on scalable, high-performance web applicationsOther plugins' skills for the same job