/rails-development:generate-postman-collectionfrom rails-development
Analyzes Rails routes, controllers, and RSpec tests to generate or update a Postman collection JSON file with endpoints, examples, and auth handling.
Ships in rails-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automatically generate or update the Postman API collection by analyzing the Rails application routes, controllers, and test specs.
You are tasked with generating or updating the Postman collection file postman_collection.json based on the current state of the Rails API.
Follow these steps:
If there is no existing Postman collection file postman_collection.json,
skip to Step 2.
Check for API-related changes first (to avoid unnecessary work):
git diff to check if there are any changes to API-related files compared to the main branchconfig/routes.rb, app/controllers/api/, spec/requests/api/Read the Rails routes from config/routes.rb to identify all API endpoints
Analyze each API controller in app/controllers/api/ to understand:
Review RSpec test files in spec/requests/api/v1/ to extract:
Generate or update the Postman collection with:
{{base_url}} and {{api_token}}Maintain the existing structure:
base_url and api_tokenEnsure completeness:
config/routes.rb should have a corresponding requestWrite the updated collection to postman_collection.json
After completing the update, provide a summary of:
If changes have been made notify the user to commit them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thoughtbot/skills --plugin rails-development3 skills in this plugin
/rails-patternsUse when writing or modifying code in a Rails application. Guides agents to follow thoughtbot best practices for N+1 prevention, view layer organization, and domain modeling./testing-patternsUse when writing or reviewing tests in a Ruby/Rails application. Guides agents to write well-structured tests using the Arrange/Act/Assert pattern, semantic Capybara selectors, and performance-aware practices.Other plugins' skills for the same job