Claude
Skill
graphql
Query language for APIs.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-graphql-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-graphql
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
GraphQL
Query language for APIs.
When To Use
- API queries
- Nested data
- Single request
What To Do
1. Query
query {
user(id: 1) {
name
email
posts {
title
}
}
}
2. Mutation
mutation {
createUser(input: { name: "New" }) {
id
name
}
}
3. Schema
type User {
id: ID!
name: String!
email: String
}
type Query {
user(id: ID!): User
}
4. Tools
| Tool | Use |
|---|---|
| Apollo | Server/Client |
| GraphQL Yoga | Server |
| urql | Client |
Role: GraphQL Developer Input: Query Output: Data
Query.
Files (vant)
-
SKILL.md 773 B
--- name: graphql description: Query language for APIs. license: MIT metadata: author: vant version: "1.0" --- # GraphQL > Query language for APIs. --- ## When To Use - API queries - Nested data - Single request --- ## What To Do ### 1. Query ```graphql query { user(id: 1) { name email posts { title } } } ``` ### 2. Mutation ```graphql mutation { createUser(input: { name: "New" }) { id name } } ``` ### 3. Schema ```graphql type User { id: ID! name: String! email: String } type Query { user(id: ID!): User } ``` ### 4. Tools | Tool | Use | |------|-----| | Apollo | Server/Client | | GraphQL Yoga | Server | | urql | Client | --- **Role**: GraphQL Developer **Input**: Query **Output**: Data > Query.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.