commit-clean
Installation
SKILL.md
Commit Clean
Run linting and TypeScript checks before committing. Only commit if both pass.
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