smithery.ai

package-filter

Run commands in specific workspace packages using pnpm filters. Use to execute commands in specific packages within the monorepo.

First seen Mar 24, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,184 B
  • docs SUMMARY.md 151 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Package Filter Skill

Run commands in specific workspace packages using pnpm filters.

Usage

Execute commands in specific packages within the monorepo.

Common Filters

  • @cartridge/controller - Main SDK package
  • @cartridge/keychain - Keychain UI application
  • @cartridge/connector - Connector package
  • @cartridge/profile - Profile application

Examples

# Run tests in specific package
pnpm --filter @cartridge/keychain test

# Build specific package
pnpm --filter @cartridge/controller build:deps

# Run dev server for keychain only
pnpm --filter @cartridge/keychain dev

# Install dependency to specific package
pnpm --filter @cartridge/controller add <package-name>

Steps

  1. Identify target package
  2. Use pnpm --filter <package-name> <command>
  3. Verify command execution in correct package

Notes

  • Workspace dependencies automatically linked
  • Filter by package name (with @scope) not directory path
  • Use pnpm -r for recursive commands across all packages