fix
Installation
SKILL.md
Fix Code Style
Run Prettier and ESLint to automatically format and fix code issues.
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
Steps
- Run ESLint with auto-fix: