Loading...
Loading...
generate bruno api collections, request files, environments, and request documentation from backend source code, route definitions, openapi snippets, pasted api docs, curl commands, or endpoint lists. use when a user asks to create, scaffold, convert, organize, or improve bruno collections, opencollection yaml files, .bru files, folders, request docs, request metadata, environments, or api-client collections for bruno.
npx skill4agent add bruno-collections/bruno-agent-skills bruno-collection-generator.bru{{baseUrl}}localstagingprod.bru.bruauthusersbillingadminGet User by IDCreate Checkout Session{{token}}{{apiKey}}{{baseUrl}}infohttpsettingsdocsruntime.scriptsruntime.assertionsbaseUrlseqreferences/opencollection-yaml-quick-reference.mdinfo:
name: Get User
type: http
seq: 1
http:
method: GET
url: "{{baseUrl}}/users/:id"
params:
- name: id
value: "{{userId}}"
type: path
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
docs: |-
Retrieves a user by ID.scripts/scaffold_opencollection.py[
{
"name": "Get User by ID",
"method": "GET",
"path": "/users/:id",
"folder": "users",
"tags": ["smoke"],
"path_params": [{"name": "id", "value": "{{userId}}"}],
"query": [{"name": "include", "value": "profile"}],
"headers": [{"name": "Accept", "value": "application/json"}],
"docs": "Retrieves a single user."
}
]python scripts/scaffold_opencollection.py --endpoints endpoints.json --out bruno-collection --base-url "{{baseUrl}}"--out--force{{token}}{{apiKey}}{{baseUrl}}