| name | postman-collection-generator |
| description | 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... |
| risk | unknown |
| source | https://github.com/LambdaTest/agent-skills/tree/main/api-skill/postman/postman-collection-generator |
| source_repo | LambdaTest/agent-skills |
| source_type | community |
| date_added | 2026-07-01T00:00:00.000Z |
| license | MIT |
| license_source | https://github.com/LambdaTest/agent-skills/blob/main/LICENSE |
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 {{base_url}} 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:
{
"info": {
"name": "<Collection Name>",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_postman_id": "<generate a UUID v4>",
<collection-level auth if shared across requests else >
<request items or folders>