test

Installation
SKILL.md

Run Tests

Run unit tests for the codebase or a specific file/pattern.

Package manager detection

Before running, detect which package manager the project uses:

if [ -f "pnpm-lock.yaml" ]; then PM="pnpm"; EXEC="pnpm exec"
elif [ -f "yarn.lock" ]; then PM="yarn"; EXEC="yarn"
else PM="npm run"; EXEC="npx"
fi

Usage

Run all unit tests:

Installs
1
First Seen
Mar 22, 2026