diff --git a/.claude/skills/snow-setup/SKILL.md b/.claude/skills/snow-setup/SKILL.md new file mode 100644 index 00000000..9f81e352 --- /dev/null +++ b/.claude/skills/snow-setup/SKILL.md @@ -0,0 +1,43 @@ +--- +name: snow-setup +description: Setup snow-ai CLI tool - checks Node/npm, cleans cache, and installs snow-ai globally +license: MIT +compatibility: opencode +--- + +# Snow Setup Skill + +When the user invokes `/snow-setup`, execute the following commands to set up snow-ai: + +## Commands to Run (in order) + +```bash +npm config get prefix +``` + +```bash +node -v +``` + +```bash +npm -v +``` + +```bash +npm cache clean --force +``` + +```bash +npm install -g snow-ai@latest --force +``` + +```bash +snow --version +``` + +## Instructions + +1. Run all commands sequentially +2. Show the output of each command to the user +3. If any command fails, stop and report the error +4. On success, confirm that snow-ai is ready to use