Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

generate-api-artifacts

Skill by winhok

Converts reviewed OpenAPI or Swagger contracts into Postman Collection v2.1, Apifox-importable OpenAPI and Apache JMeter JMX files. Aimed at developers and testers who keep one API definition as the source of truth.

  • Score 58
  • 101 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install generate-api-artifacts

Built from the published package, never by AI.

git clone --depth 1 https://github.com/winhok/testkit /tmp/testkit && mkdir -p ~/.claude/skills && cp -r /tmp/testkit/skills/generate-api-artifacts ~/.claude/skills/generate-api-artifacts

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install generate-api-artifacts in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill turns a reviewed OpenAPI 3.0/3.1 or Swagger 2.0 document into importable API tool artifacts: a Postman Collection v2.1, an OpenAPI file for Apifox, and an Apache JMeter JMX skeleton. It treats the API contract as the source and the generated files as derived outputs that can be regenerated. Curl, raw HTTP, natural language or Markdown input is turned into a draft OpenAPI file that is marked for review.

It starts with an inspect step that reports the detected version, operation count, unresolved server variables, missing operationIds and missing success responses. Generation writes files to an output directory with an artifact-manifest.json that records target format losses and review items. The skill does not scan source code, send requests, run collections or load tests, embed credentials, or overwrite existing output unless the user authorizes --force.

Written from the project's SKILL.md and checked against it.

What it can do

  • Inspect contractReports the detected version, operation count, missing operationIds and missing success responses.
  • Postman outputProduces a Postman Collection v2.1 using the official openapi2postmanv2 converter.
  • Apifox outputProduces an OpenAPI file that can be imported into Apifox.
  • JMeter outputProduces a JMX script skeleton with overridable thread, ramp and loop parameters.
  • Multi-target generationCreates several target formats from one contract in a single run with a shared manifest.
  • Artifact manifestRecords target format losses and items that need human review in artifact-manifest.json.

What you need

  • Python
  • The openapi2postmanv2 converter for Postman output

Try asking

  • Convert this OpenAPI file into a Postman collection
  • Generate an Apifox import file from my Swagger spec
  • Make a JMeter JMX skeleton from this API definition

Good to know

  • Does not run API requests, Postman collections, JMX files or tests
  • Does not scan source code or infer contracts from implementation
  • JMeter output is a skeleton, not a production load plan without a load model
  • Does not overwrite existing output unless --force is authorized

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/generate-api-artifacts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to generate-api-artifacts

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

generate-api-artifacts: common questions

Can it turn an OpenAPI file into a Postman collection?

Yes. It uses the official openapi2postmanv2 converter to produce a Postman Collection v2.1 from a reviewed OpenAPI or Swagger file.

Can it read my source code to find routes?

No. It only checks API definition files and stops when given source code without an OpenAPI or Swagger document.

Does it run the generated JMeter test?

No. It writes the JMX skeleton and can suggest a command, but it does not execute JMeter or any API requests.

How do I install generate-api-artifacts?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is generate-api-artifacts free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is generate-api-artifacts safe to use?

It scores 58 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to generate-api-artifacts?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

generate-api-artifacts Install

Add to stack

Loading.