bugbot SKILL.md skillA
bugbot from chainlesschain/chainlesschain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add chainlesschain/chainlesschain/bugbot@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- chainlesschain/chainlesschain
- Path
desktop-app-vue/src/main/ai-engine/cowork/skills/builtin/bugbot/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Aug 28, 2026
- First version recorded
- Jun 3, 2026
- Size
- 5,426 bytes
- Repository stars
- 11
- License
- a license file GitHub does not identify
主动式Bug检测器 - 扫描代码变更和diff,在问题到达生产前发现潜在Bug、竞态条件、空指针问题.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# BugBot - 主动式Bug检测器
## 描述
在代码到达生产环境之前,主动扫描并发现潜在Bug。支持15+种Bug模式检测,包括空指针访问、未处理的Promise、竞态条件、资源泄漏、SQL注入、XSS等。
## 使用方法
```
/bugbot [--scan|--diff|--watch] [目标路径或git引用]
```
## 运行模式
| 模式 | 说明 | 典型场景 |
| ------- | -------------------------- | ------------------ |
| --scan | 扫描指定目录下的所有源文件 | 全量代码审查 |
| --diff | 分析git diff,仅检查变更行 | 提交前检查、CI集成 |
| --watch | 列出近期修改文件并标记风险 | 日常监控 |
## 检测模式(15+种)
### Critical 级别
- **SQL注入**: 字符串拼接构建SQL查询
- **XSS**: 通过innerHTML注入未经转义内容
- **竞态条件**: 异步代码中的共享可变状态
- **死锁**: 嵌套锁获取
### High 级别
- **空指针/未定义访问**: 未加守卫的链式访问
- **Promise未处理**: Promise缺少catch或未await
- **资源泄漏**: 打开文件/连接后未关闭
- **无限循环**: 循环条件永远为真
### Medium 级别
- **数组越界**: 潜在的索引超出范围
- **类型隐式转换**: == 替代 === 造成意外行为
- **正则灾难性回溯**: 嵌套量词导致指数时间
- **缺少break的switch**: fall-through可能非预期
### Low 级别
- **Off-by-one**: 循环边界错误(< vs <=)
- **return后的不可达代码**: return/throw后的死代码
- **回调缺少错误处理**: 回调函数未处理error参数
## 输出格式
```json
{
"bugs": [
{
"file": "src/main/database.js",
"line": 42,
"severity": "critical",
"pattern": "sql-injection",
"message": "String concatenation in SQL query",
…Read the whole file at its exact version.
How to install
mdr add chainlesschain/chainlesschain/bugbot@sha256:7b875859928f1934The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bjpb4mvpc63gf7o3)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 3, 2026 and Aug 28, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-08-28 | 44248c7 | 5,426 B | A | view · diff |
| v1.0.0 | 2026-08-28 | 177ec1b | 5,409 B | A | view · diff |
| v1.0.0 | 2026-08-28 | c29953e | 5,395 B | A | view · diff |
| v1.0.0 | 2026-06-03 | 3b0b2dc | 5,286 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5426 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
chainlesschain/chainlesschain · 11 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bjpb4mvpc63gf7o3 GET https://markdownregistry.com/api/v1/resolve?ref=chainlesschain/chainlesschain/bugbot GET https://markdownregistry.com/api/v1/blob/7b875859928f1934b8018f2da3fed48e22c856bc88e6f06b27db75c611e086b5
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.