Vant skill help
How do I do X?From its SKILL.md
npx -y skills add dhaupin/vant --skill vant-skill-helpAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.3 KB, 632 tokens by cl100k_base, as published. Nobody here has run it
Help
How do I do X?
Quick - What Do You Need?
| Need | Go To |
|---|---|
| Run something | # Run |
| Understand code | # Read |
| Fix something | # Debug |
| Check something | # Verify |
| Build something | # Build |
| Find something | # Search |
Run
I want to run this project
# Check package.json for scripts
cat package.json | grep -A20 '"scripts"'
# Common commands
npm install
npm run dev
npm test
npm run build
npm start
I want to add a script
# Edit scripts in package.json
nano package.json
Read
I want to understand this code
- Find entry point:
# CLI: main file
head -20 bin/*
# Library: main export
grep "^module.exports" lib/*.js | head -10
- Trace what happens:
- Read top to bottom
- Functions call functions
- Find where data comes from/goes to
- Check dependencies:
# What does it use?
grep -h "^const\|^import" *.js | sort -u
Debug
It's not working
- Check error message - Read what it says
- Find the error - grep for it
- Check recent changes - git diff
- Check env - variables set?
- Run with debug - NODE_DEBUG=* node app.js
Common fixes:
| Error | Fix |
|---|---|
| Cannot find module | npm install |
| Syntax error | Check line number |
| Auth error | Check API keys |
| Port in use | Kill process: lsof -i :port |
Verify
Check if something works
# Test the thing
npm test
# Check output
node file.js
# Verify version
node -v
npm -v
Build
I want to build/deploy
- Check build command:
grep build package.json
- Common builds:
npm run build # Frontend
npm run package # Backend
- Deploy:
npm publish # npm
git push # deploy
Search
Find something in code
# Find string
grep -r "string" .
# Find function
grep -r "function name" .
# Find file
find . -name "*.js"
Output
When asking for help, include:
- What you're trying to do
- What you tried
- What happened
- Environment (node -v, npm -v)
Role: Helper
Input: What you need
Output: How to do it
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.