This commit is contained in:
2026-02-24 18:07:46 +08:00
parent 1af5f0c1d8
commit 4483414e59

View File

@@ -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