postman-collection-generator

Generate Postman collection JSON files from web framework API routes.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill postman-collection-generator-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postman-collection-generator
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/postman-collection-generator
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill postman-collection-generator-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of Postman collections, saving developers significant time and effort in manually defining API endpoints for testing and documentation.

Core Features & Use Cases

  • Automated Collection Generation: Creates importable Postman Collection v2.1 JSON files from API route definitions.
  • Framework Support: Scans routes from Express, Next.js, Fastify, Hono, and NestJS projects.
  • Endpoint Details: Extracts methods, paths, parameters, and can include request bodies and headers.
  • Use Case: When you need to share your API's endpoints with a QA team or integrate with CI/CD pipelines, use this Skill to generate a Postman collection that accurately reflects your live API.

Quick Start

Use the postman-collection-generator skill to generate a Postman collection for your Express project located in the './src' directory, naming it 'My API Collection' and setting the base URL to 'http://localhost:3000'.

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 route definitions?

You can generate a Postman collection by scanning your API route definitions to extract endpoints, methods, and parameters, which are then compiled into an importable Postman Collection v2.1 JSON file.

Can I automatically create Postman collections for my Express or Next.js project?

Yes, automated Postman collection generation supports Express, Next.js, Fastify, Hono, and NestJS projects by parsing their respective route handlers and file structures.

What details are included when generating Postman collections from source code?

Generating Postman collections from source code extracts HTTP methods, paths, parameters, and can also include request bodies and headers to accurately reflect your live API.

Why should I automate Postman collection creation instead of manually defining endpoints?

Automating Postman collection creation saves significant time and effort by eliminating manual endpoint definition, making it easier to share API routes with QA teams or integrate with CI/CD pipelines.

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

Yes, the Postman collection generator works with Hono and Fastify frameworks, alongside Express, Next.js, and NestJS, by parsing their specific route handler definitions.

How do I set the base URL when creating a Postman collection from API routes?

You can set the base URL, such as 'http://localhost:3000', and name your collection during generation to ensure the output Postman JSON accurately targets your development or production environment.