bruno-collection-generator

Generate Bruno collection files with .bru files and environment configurations from API routes.

Updated May 9, 2026
One-click install
npx skills add https://github.com/NormVg/svflix --skill bruno-collection-generator-normvg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bruno-collection-generator
Source: https://github.com/NormVg/svflix/tree/main/.agents/skills/bruno-collection-generator
Command: npx skills add https://github.com/NormVg/svflix --skill bruno-collection-generator-normvg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fs, path, commander.

What problem does it solve?

Bruno collection generator automates the creation of Bruno API test collections from existing API routes, turning scattered route definitions into a structured, Git-friendly set of files that can be shared and reused.

Core Features & Use Cases

  • Scan API routes from frameworks like Express, Next.js, and Fastify to discover endpoints and metadata.
  • Generate a bruno.json manifest, per-resource .bru files, and environment configuration files for Development, Staging, and Production.
  • Organize resources into folders with optional authentication workflows and reusable environment tokens to simplify testing and collaboration.
  • Use case: If you maintain multiple microservices, run the generator to produce a complete Bruno collection that you can run with a single command.

Quick Start

Run the Bruno collection generator against your API source to produce a ready-to-use Bruno project in the output directory.

Frequently Asked Questions about bruno-collection-generator

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

FAQPage Schema
How do I auto-generate Bruno collections from existing API routes?

Auto-generate Bruno collections by scanning API route definitions from frameworks like Express, Next.js, and Fastify to extract methods, paths, and metadata into structured .bru files. The generator scans source directories and outputs a complete, ready-to-use Bruno collection for API testing.

Does the Bruno collection generator support environment configurations for Development, Staging, and Production?

Yes, the Bruno collection generator supports environment configurations by creating an environments folder with Development, Staging, and Production files. It handles environment token management and allows configurable base URLs and authentication types for each distinct environment.

What is the best way to organize Bruno API test files for Git-friendly workflows?

Organize Bruno API test files for Git-friendly workflows by grouping endpoints into per-resource .bru files and a bruno.json manifest. This structure turns scattered route definitions into a structured, shareable set of files that can be version-controlled and reused across teams.

Can I use the Bruno collection generator CLI with multiple microservices?

Yes, you can use the Bruno collection generator CLI with multiple microservices to produce a complete Bruno collection. Run the generator against your API source directories to output a ready-to-use Bruno project that can be run with a single command.

How does the Bruno collection generator handle authentication workflows?

The Bruno collection generator handles authentication workflows by supporting configurable authentication types during generation and managing environment tokens for automatic token management. This simplifies testing secured endpoints across different environments.