insomnia-collection-generator

Generate Insomnia v4 workspaces from Express, Next.js, and Fastify route definitions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, uuid.

What problem does it solve?

Automates the creation of organized Insomnia workspaces from API route definitions, saving time and reducing manual setup when testing and documenting APIs.

Core Features & Use Cases

  • Scan routes and extract metadata (methods, paths, parameters, bodies)
  • Create a structured Insomnia workspace with grouped requests and environments
  • Export to Insomnia v4 JSON for easy import into the tool
  • Use case: generate a ready-to-use API testing collection from an existing Express/Next.js/Fastify project

Quick Start

Run the insomnia-gen script against your API project to generate an Insomnia collection.

Frequently Asked Questions about insomnia-collection-generator

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

FAQPage Schema
How do I generate an Insomnia collection from existing API routes?

You can generate an Insomnia collection by running the insomnia-gen script to parse route metadata and export a structured Insomnia v4 JSON workspace with grouped requests and environments.

Can I auto-create Insomnia workspaces from Next.js or Fastify projects?

Yes, you can auto-create Insomnia workspaces from Express, Next.js, and Fastify projects by scanning route definitions to extract methods, paths, parameters, and bodies into a structured format.

Does the generated Insomnia collection support authentication and environment variables?

The generated Insomnia collection supports Bearer, Basic, and API Key authentication, and includes environment variables for base_url and tokens within the exported workspace.

What's the best way to automate API testing setup for Express route definitions?

Automating API testing setup is best done by extracting Express route metadata to generate an importable Insomnia v4 JSON workspace, organizing routes into request groups with predefined environments.

Do I need to manually configure request groups when exporting an Insomnia v4 JSON workspace?

No, manual configuration is unnecessary; the generation process automatically organizes parsed API routes into structured groups and environments within the Insomnia v4 JSON file.