brainfish-ai/reasondb/import-api-spec

Claude Code and agent skill by brainfish-ai/reasondb

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Import and configure API specification (OpenAPI, GraphQL, AsyncAPI) for documentation

Install

npx vskill@latest install brainfish-ai/reasondb/import-api-spec

SKILL.md

Instructions

When importing an API specification:

Step 1: Detect Spec Type
File PatternTypeVersion
openapi.json/yamlOpenAPI3.x
swagger.json/yamlSwagger2.0
schema.graphqlGraphQL-
asyncapi.json/yamlAsyncAPI2.x/3.x
*.protoProtobuf/gRPC-
Step 2: Validate & Process
  1. Validate spec syntax
  2. Check for $ref resolution issues
  3. Identify auth schemes
  4. Extract server URLs
Step 3: Generate Documentation

For OpenAPI/Swagger:

api-reference/
├── openapi.json # Cleaned/validated spec
├── introduction.mdx # API overview from info
├── authentication.mdx # From securitySchemes
├── errors.mdx # From error response schemas
└── rate-limiting.mdx # If x-rateLimit extension exists

For GraphQL:

api-reference/
├── schema.graphql # Schema file
├── introduction.mdx # Overview
├── authentication.mdx # Auth guide
├── queries.mdx # Query documentation
├── mutations.mdx # Mutation documentation
└── subscriptions.mdx # If subscriptions exist
Step 4: Update docs.json

Add appropriate tab configuration:

json
// OpenAPI
{
"tab": "API Reference",
"type": "openapi",
"path": "/api-reference",
"spec": "api-reference/openapi.json",
"groups": [
{
"group": "Overview",
"pages": [
"api-reference/introduction",
"api-reference/authentication"
]
}
]
}
json
// GraphQL
{
"tab": "GraphQL API",
"type": "graphql",
"path": "/graphql-api",
"schema": "api-reference/schema.graphql",
"endpoint": "https://api.example.com/graphql"
}
Step 5: Generate Supporting Pages
introduction.mdx
mdx
---
title: "API Introduction"
description: "Overview of the {API Name}"
---
{Description from spec info}
## Base URL
Production: `{server URL}`
## Authentication
{Summary of auth methods}
See [Authentication](/api-reference/authentication) for details.
authentication.mdx
mdx
---
title: "Authentication"
description: "How to authenticate API requests"
---
{Content based on securitySchemes}

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
51
Repository forks
3
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/brainfish-ai/reasondb/import-api-spec/badge)](https://verified-skill.com/skills/brainfish-ai/reasondb/import-api-spec)

Something wrong with this skill or its page? Tell us.