Back to list
pkarpovich

bruq

by pkarpovich

This contains my personal config files and Karabiner settings to streamline and customize development environments

1🍴 0📅 Jan 24, 2026

SKILL.md


name: bruq description: Execute Bruno .bru API requests via curl, or create new .bru files. Use when user asks to run, execute, or test an API request from a Bruno collection, references a .bru file, or wants to create a new Bruno request file. allowed-tools:

  • Read
  • Bash(bruq:*)
  • Bash(ls:*)
  • Bash(find:*)
  • Bash(eval:*)

bruq

Convert and execute Bruno .bru files as curl commands, or create new .bru files.

Execute Requests

CRITICAL: File paths must be on a single line with no line breaks inside quotes.

BRU_FILE='<path-to-file.bru>'
eval "$(bruq "$BRU_FILE" -e <environment>)"

Options

  • -e, --env <NAME> - Load variables from environments/<NAME>.bru at collection root
  • -v, --verbose - Curl verbose output
  • -s, --silent - Curl silent mode

Collection Structure

Bruno collections have this structure - environments are always at the collection root (same level as bruno.json):

collection-root/
├── bruno.json           # Collection marker - find this first!
├── environments/        # Environments are HERE, not in subfolders
│   ├── LOCAL.bru
│   ├── Dev.bru
│   └── Prod.bru
└── requests/            # Requests can be nested anywhere
    └── subfolder/
        └── request.bru

Finding Files Efficiently

  1. Find collection root: Look for bruno.json by traversing up from the .bru file
  2. Environments: Always at <collection-root>/environments/<NAME>.bru
  3. List available environments: ls <collection-root>/environments/

Create .bru Files

For full syntax reference, see references/bru-syntax.md.

Quick Reference

GET request:

meta {
  name: Get Users
  type: http
}

get {
  url: {{BASE_URL}}/users
}

POST with JSON:

meta {
  name: Create User
  type: http
}

post {
  url: {{BASE_URL}}/users
  body: json
}

headers {
  Authorization: Bearer {{TOKEN}}
}

body:json {
  {
    "name": "John",
    "email": "john@example.com"
  }
}

Environment file (environments/Local.bru):

vars {
  BASE_URL: https://api.example.com
  TOKEN: your-token
}

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon