Vant skill api
Application programming interface.From its SKILL.md
npx -y skills add dhaupin/vant --skill vant-skill-apiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 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
0.9 KB, 233 tokens by cl100k_base, as published. Nobody here has run it
API
Application programming interface.
When To Use
- HTTP services
- REST/GraphQL
- External data
What To Do
1. REST
| Method | What |
|---|---|
| GET | Read |
| POST | Create |
| PUT | Replace |
| PATCH | Update |
| DELETE | Remove |
2. Request
// Fetch
const res = await fetch('https://api.example.com/users')
const data = await res.json()
// Node
const axios = require('axios')
const res = await axios.get('https://api.example.com/users')
3. GraphQL
query {
user(id: 1) {
name
email
}
}
4. Auth
| Type | Header |
|---|---|
| Bearer | Authorization: Bearer token |
| Basic | Authorization: Basic base64(user:pass) |
| API Key | X-API-Key: key |
Role: API Developer
Input: Endpoint
Output: Data
Programmable.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.