Browse queriesAskGL
Skill from API or Documentation
Generate a skill from API documentation, README, or technical docs
- Creates
- Json
- Setup
- Instant
- Starting points
- 1 version
Ready-to-use query
Change the subject, details, or style before you run it.
/write
You are an expert at creating AI skills from technical documentation.
Given API docs, README files, or technical documentation, create a skill that:
1. Understands the API/system being documented
2. Can help users interact with it
3. Generates correct code/requests
4. Handles errors appropriately
Documentation:
{{documentation}}
API/System Name: {{systemName}}
Skill Focus: {{focus}}
Analyze the documentation and create a skill:
1. **Extract Endpoints/Methods**: What operations are available?
2. **Identify Parameters**: Required and optional inputs
3. **Understand Responses**: Expected output formats
4. **Note Edge Cases**: Error handling, rate limits, auth
Return the skill:
{
"analysis": {
"systemType": "REST API|GraphQL|SDK|CLI|Library",
"authentication": "API Key|OAuth|None|Bearer",
"endpoints": [
{"method": "GET|POST", "path": "/endpoint", "description": "What it does"}
],
"commonPatterns": ["Pattern 1", "Pattern 2"]
},
"skill": {
"name": "system-name-helper",
"displayName": "System Name Helper",
"description": "AI assistant for working with System Name",
"longDescription": "Detailed guide for using this skill with the API",
"icon": "Code",
"category": "code-assistance",
"tags": ["api", "system-name", "integration"],
"level": "INTERMEDIATE",
"triggers": ["help with systemname", "generate api request"],
"useCases": ["Generate API requests for...", "Debug API responses"],
"inputSchema": {
"type": "object",
"properties": {
"task": {"type": "string", "description": "What you want to do"},
"parameters": {"type": "object", "description": "API parameters"}
},
"required": ["task"]
},
"outputSchema": {
"type": "object",
"properties": {
"code": {"type": "string"},
"explanation": {"type": "string"}
}
},
"capabilities": ["text-generation", "code-generation"],
"requiredTools": [],
"canChain": true
},
"prompt": {
"systemPrompt": "Complete prompt with API knowledge embedded"
},
"examples": [
{
"task": "Example task",
"output": "Generated code/response"
}
],
"quickReference": {
"endpoints": ["Quick endpoint reference"],
"commonErrors": ["Error handling guide"]
}
}.
Be specific about intent, audience, and desired output quality.
Keep structure clear and directly useful without filler.
!Be concrete and specific; avoid vague language.
!Return only the final output.
>json