Use this skill when you are about to use bruno cli to run api test, bruno is postman like tool.
Scanned 2/12/2026
Install via CLI
openskills install towry/dots---
name: bruno
description: Use this skill when you are about to use bruno cli to run api test, bruno is postman like tool.
---
`<base-dir>` refer to `~/.claude/skills/bruno/`
# Bruno, postman like tool
# References
- [Bruno CLI Usage](~/.claude/skills/bruno/references/bruno-cli-usage.md) - Comprehensive guide on using Bruno CLI with various options and examples.
## Bruno collection dir
To locate the `<bruno-collection-dir>`, you can run bash command in project root:
```bash
fd -t f bruno.json
```
The dir of this `bruno.json` is the `<bruno-collection-dir>`
## Bruno basic concepts
- Collection: A collection is a group of related API requests
- Folders: A folder can be created in collection folder to organize requests, for example: `<bruno-collection-dir>/MyFolder/folder.bru`
- Request: Single request corresponds to a bru file.
- Test: You can create a test in bru file to run test on request
- Environments: environments can be store in bru file located in `environments` dir under the collection dir.
## Bruno files
Bruno manage api files in local file system, to locate the files, you can run bash `fd -t f bruno.json` to find where the files are stored. The bruno file has extension `.bru`, it's content structure is like:
When creating new bru files, please make sure they are organize in a reasonable folder structure.
```
meta {
name: Get Demo
type: http
seq: 1
}
get {
url: http://127.0.0.1:4000/models
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
tests {
test("should be able to login", function () {
const data = res.getBody();
expect(res.getStatus()).to.equal(200);
});
test("should return json", function () {
const data = res.getBody();
expect(res.getBody()).to.eql({
hello: "Bruno",
});
});
}
```
## Environments
For a demo environment file under `<bruno-collection-dir>/environments/demo.bru`, the content is like:
```
vars {
api_base: http://127.0.0.1:8000
}
vars:secret [
secret_test
]
```
To use this env file with bruno cli, you can run with option `--env-file <bruno-collection-dir>/environments/demo.bru`
# Online doc
https://docs.usebruno.com/bru-cli/overview
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。