postman-collection-generator

Generate Postman v2.1 collections from API route definitions.

5|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/patricio0312rev/skillset --skill postman-collection-generator-patricio0312rev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postman-collection-generator
Source: https://github.com/patricio0312rev/skillset/tree/main/templates/testing/postman-collection-generator
Command: npx skills add https://github.com/patricio0312rev/skillset --skill postman-collection-generator-patricio0312rev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically convert API route definitions into importable Postman collections, reducing manual setup and testing time.

Core Features & Use Cases

  • Scans Express, Next.js, Fastify, Hono, and other frameworks to discover routes and methods.
  • Generates Postman Collection v2.1 JSON with environment-ready URLs and path params.
  • Groups endpoints by resource for organized collections and easier collaboration.

Quick Start

Run the generator on your codebase to produce a ready-to-use Postman collection.

Frequently Asked Questions about postman-collection-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Postman collection from Express or Next.js API routes?

To generate a Postman collection from API routes, you scan your codebase to detect routes, HTTP methods, and parameters, producing an importable Postman Collection v2.1 JSON file. This process works by parsing code directly from frameworks like Express, Next.js, and Fastify.

Can I automatically create Postman environment variables from my API route definitions?

Yes, you can automatically create Postman environment variables from API route definitions. The generator produces a v2.1 collection complete with environment-ready URLs and path parameters, organizing endpoints by resource for easier team collaboration.

Does the Postman collection generator work with Fastify, Hono, and NestJS frameworks?

Yes, the Postman collection generator works with Fastify, Hono, and NestJS frameworks. It scans these frameworks to discover routes and methods, detecting query and path parameters alongside request bodies to build a ready-to-share JSON file.

What is the best way to convert API route definitions into a Postman collection for CI workflows?

The best way to convert API route definitions for CI workflows is to parse the codebase and output a ready-to-share Postman Collection v2.1 JSON file. This reduces manual setup time and produces a collection suitable for automated testing workflows.

How does code scanning detect request bodies and path parameters for Postman collections?

Code scanning detects request bodies and path parameters by analyzing API route definitions directly in your source code. It parses the logic of frameworks like Express and Hono, extracting HTTP methods and parameters to generate a structured Postman collection.

Why are my Postman endpoints not grouped by resource after importing my API routes?

Postman endpoints might not be grouped by resource if the collection was built manually instead of using a code scanner. This generator organizes endpoints by resource automatically by parsing API route definitions, ensuring an organized collection structure.