Claude
Skill
help
How do I do X?
Download
dhaupin-vant-models_public_vant_skills_vant-skill-help-e1e348e.zip · 1 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-help
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
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
Files (vant)
-
SKILL.md 2.3 KB
--- name: help description: How do I do X? license: MIT metadata: author: vant version: "1.0" --- # 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 ```bash # 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 ```bash # Edit scripts in package.json nano package.json ``` --- ## Read ### I want to understand this code 1. Find entry point: ```bash # CLI: main file head -20 bin/* # Library: main export grep "^module.exports" lib/*.js | head -10 ``` 2. Trace what happens: - Read top to bottom - Functions call functions - Find where data comes from/goes to 3. Check dependencies: ```bash # What does it use? grep -h "^const\|^import" *.js | sort -u ``` --- ## Debug ### It's not working 1. **Check error message** - Read what it says 2. **Find the error** - grep for it 3. **Check recent changes** - git diff 4. **Check env** - variables set? 5. **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 ```bash # Test the thing npm test # Check output node file.js # Verify version node -v npm -v ``` --- ## Build ### I want to build/deploy 1. **Check build command:** ```bash grep build package.json ``` 2. **Common builds:** ```bash npm run build # Frontend npm run package # Backend ``` 3. **Deploy:** ```bash npm publish # npm git push # deploy ``` --- ## Search ### Find something in code ```bash # Find string grep -r "string" . # Find function grep -r "function name" . # Find file find . -name "*.js" ``` --- ## Output When asking for help, include: 1. **What you're trying to do** 2. **What you tried** 3. **What happened** 4. **Environment** (node -v, npm -v) --- **Role**: Helper **Input**: What you need **Output**: How to do it
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.