Agent skill · writing content · sickn33

postman-collection-generator

Generate complete, import-ready Postman Collection v2.1 JSON files from natural language API descriptions or cURL commands.

Why this skill is useful

Adds a complete automation script for generating Postman Collection v2.1 JSON files from natural language descriptions and cURL commands, which the AI cannot generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Postman Collection Generator When to Use Use this skill when you need generate complete, import-ready Postman Collection v2.1 JSON files from natural language API descriptions or cURL commands. Use this skill whenever the user describes an API in plain English ("I have a REST API with these endpoints..."), pastes cURL commands, or asks to "create a... Generates a valid, import-ready Postman Collection v2.1 JSON from: Natural language API descriptions cURL commands (one or many) Mixed input (some endpoints described, some as cURL) --- Step 1 — Extract API Information Parse the user's input and extract for each endpoint: Field Source --- --- Name Described name or inferred from path Method Explicit or inferred (GET for fetches, POST for creates, etc.) URL Full URL or path; use {{baseurl}} variable for the host Headers From cURL -H flags or described headers Auth Bearer token, Basic, API Key, or None Body From cURL -d / --data or described payload (JSON, form-data) Query params From URL ?key=value or described filters If input is ambiguous, make reasonable REST conventions and note assumptions at the end. --- Step 2 — Build the Collection JSON Use this exact v2.1 structure: Request item structure: Body (when present): Grouping: Group related endpoints into folders using the item array nested inside an item with "name" but no "request" key. Use logical grouping: by resource (Users, Orders) or by feature. --- Step 3 — Environment Variables Always extract these into a companion Postman Environment file: baseurl — the API host Any tokens, API keys, or IDs mentioned --- Step 4 — Output 1. Output the Collection JSON in a code block labeled collection.json 2. Output the Environment JSON in a code block labeled environment.json 3. List any assumptions made (inferred methods, placeholder values, etc.) 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/postman-collection-generator--ba9aef

View the source on GitHub

Browse the @skills marketplace