extract-api

Solid

This skill should be used when the user asks to "extract API from", "import API from", "add commands from this repo", "register API from docs", "convert docs to CLI commands", "import Postman collection", or provides a GitHub repository URL, a documentation site URL, a Postman collection file/URL, or a local API documentation file and wants it imported as sdkck CLI commands.

Data & Documents 8 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 79/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Extract API endpoints from any source and import them into sdkck as executable CLI commands. ## Overview This skill reads API documentation from three source types: - **GitHub repositories** (public): scans for OpenAPI specs, Postman collections, GraphQL schemas, README, and docs files - **HTTP/HTTPS documentation URLs**: fetches single or multi-page doc sites; probes for spec/collection/schema files; POSTs introspection query to live GraphQL endpoints - **Local files**: reads OpenAPI JSON/YAML, Postman collections, GraphQL SDL/introspection JSON, markdown, HTML, or plain text When an existing OpenAPI spec, Postman collection, or GraphQL schema is found it is used directly — no extraction needed. Otherwise, API endpoints are extracted from the documentation and an OpenAPI 3.0 JSON document is generated. Either way, the result is imported via `sdkck api import`. ## Usage ``` /extract <source> [--name <name>] ``` <!-- prettier-ignore --> | Argument | Description | |----------|-------------| | `<source>` | GitHub URL, HTTP/HTTPS URL, or local file path | | `--name` | Override the API name (default: derived from source) | **Examples:** ```bash /extract https://petstore3.swagger.io/api/v3/openapi.json --name petstore /extract https://github.com/stripe/openapi --name stripe /extract https://developers.notion.com/reference/intro /extract https://docs.github.com/en/rest --name github /extract https://api.example.com/graphql --name myapi /extract ./my-workspace.postman_collec...

Details

Author
hesedcasa
Repository
hesedcasa/sdkck
Created
5 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category