postman-collection-generator

Generate Postman collection v2.1 JSON files from API route definitions.

1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/zinohome/CozyChat --skill postman-collection-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postman-collection-generator
Source: https://github.com/zinohome/CozyChat/tree/main/.claude/skills/postman-collection-generator
Command: npx skills add https://github.com/zinohome/CozyChat --skill postman-collection-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @babel/parser, glob, commander, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of Postman collections, saving developers significant time and effort in documenting and testing their APIs.

Core Features & Use Cases

  • Automated Scanning: Scans various API frameworks (Express, Next.js, Fastify, etc.) to detect route definitions.
  • Collection Generation: Creates importable Postman Collection v2.1 JSON files.
  • Use Case: When you need to share your API endpoints with a colleague or set up automated testing, use this Skill to generate a Postman collection file that accurately reflects your current API structure.

Quick Start

Use the postman-collection-generator skill to generate a Postman collection for your Express API located in the 'src' directory.

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 API routes automatically?

You can generate a Postman collection automatically by scanning API route definitions in frameworks like Express, Next.js, or Fastify. The tool extracts paths, methods, and parameters to create a structured, importable Postman Collection v2.1 JSON file.

Can I create Postman documentation for an Express API without manual entry?

Yes, you can create Postman documentation without manual entry by scanning your Express API directory. It detects route patterns, request bodies, and methods to output a structured JSON file that accurately reflects your current API structure for sharing or testing.

Does this Postman collection generator support Fastify and Next.js frameworks?

Yes, the Postman collection generator supports Fastify and Next.js frameworks. It scans route definitions across various frameworks to detect paths, parameters, and methods, converting them into importable Postman schema v2.1 collections.

What is the best way to convert API route definitions into a Postman JSON file?

The best way to convert API route definitions into a Postman JSON file is using an automated scanner. It parses route paths, methods, parameters, and request bodies to build a structured Postman Collection v2.1 file, saving significant manual effort.

How do I set up automated API testing with a generated Postman collection?

To set up automated API testing, generate a Postman collection JSON from your API routes. This file captures your endpoints, methods, and request bodies, which you can then import directly into Postman to execute and automate your API tests.