Generate Postman Collection

Official

Auto-generate Rails Postman collections

Authorthoughtbot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeping a Postman collection up to date for a changing Rails API is time-consuming and error-prone, especially when endpoints, params, and auth requirements evolve.

Core Features & Use Cases

  • Route-to-collection generation: Builds Postman requests for every Rails endpoint found in config/routes.rb.
  • Controller-aware request/response modeling: Extracts parameters, request/response shapes, status codes, and authentication requirements from app/controllers/api/.
  • Spec-driven examples: Uses RSpec request specs from spec/requests/api/v1/ to populate example request bodies and responses.
  • Auth-ready workflows: Includes {{base_url}} and {{api_token}} variables and generates login-related test scripts that auto-save tokens.

Quick Start

Run the slash command /generate-api-postman-collection after installing the skill and restarting Claude Code so it can generate or update postman_collection.json from your Rails API and specs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Generate Postman Collection
Download link: https://github.com/thoughtbot/generate-postman-collection/archive/main.zip#generate-postman-collection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.