skills/tapforce-pnpm/SKILL.md
Best practices for using pnpm ^10.0.0 in Node.js projects. Use when working with Node.js-based projects.
npx skillsauth add tapforce/agents-skills tapforce-pnpmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides best practices for using pnpm ^10.0.0 in Node.js projects.
Use this skill when:
Before starting to use pnpm, validate the current environment:
To use pnpm effectively, you must use pnpm commands consistently.
pnpm-workspace.yaml file at the rootpackages property with an array of relative paths to package directoriespnpm instead of npm or any other package manager for all commandspnpmIf you need to create pnpm-workspace.yaml, add a packages property with . as the default value. Avoid creating a packages property in package.json as it's not stable.
Default workspace.yaml:
packages:
- .
For strict version management with pnpm ^10.0.0:
# Install specific pnpm version
npm install -g [email protected]
# Use pnpm to manage itself
pnpm install -g [email protected]
# Lock to major version 10
pnpm install -g pnpm@^10.0.0
// package.json
{
"packageManager": "[email protected]",
"engines": {
"pnpm": ">=10.0.0"
}
}
# .npmrc
package-manager-strict=true
save-exact=true
# Verify team version consistency
pnpm --version
# Force specific version in CI
npm install -g [email protected]
pnpm install - Install dependenciespnpm add <package> - Add a dependencypnpm add <package> --save-dev - Add a dev dependencypnpm add <package>@exact - Add exact versionpnpm update - Update dependenciespnpm run <script> - Run a script from package.jsonpnpm workspace <command> - Run commands across the workspaceThis skill includes the following rules:
pnpm-lock.yaml for dependency lockingpnpm over npm/yarn for better performance and disk space efficiency"packageManager": "[email protected]"--save-exactdevelopment
Debate and reach a decision with another AI agent (e.g. Claude Code <-> Codex) over one shared markdown file. Use when the user asks two agents to discuss, debate, cross-check, or jointly decide a topic, when the user says "talk to the other agent / Codex / Claude about X", or hands you a name and a topic to debate. Agents take turns, poll every ~3 minutes, and pause to ask the user when stuck.
development
Best practices for setting up and developing UX/UI for projects using Tailwind CSS ^4. Use when setting up new projects with Tailwind CSS support or when projects have Tailwind CSS installed.
development
Best practices for setting up and developing Svelte projects using SvelteKit ^2.0.0. Use when considering setup or development based on SvelteKit framework.
development
Best practices for setup and use of shadcn-svelte library to develop UX/UI in Svelte projects. Use this skill when project is using Svelte/SvelteKit framework as main app framework, when user attempts to setup new project or when user is developing on existing project using shadcn-svelte components.