AI & Integration v1.0.2

bugpack-view-bug

View detailed bug context from BugPack including screenshots, environment info, and related files. Use when: user wants...

duhuazhu 更新于 2026-03-18 1 浏览
下载 SKILL

技能说明

View detailed bug context from BugPack including screenshots, environment info, and related files. Use when: user wants to see bug details, screenshots, or understand a specific bug before fixing. NOT for: listing all bugs (use bugpack-list-bugs) or directly fixing bugs (use bugpack-fix-bug).

使用场景

Fetch full bug context from BugPack, including description, screenshots, environment info, and related files.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/bugpack-view-bug
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 13 kB
SKILL.md text/markdown
---
name: bugpack-view-bug
description: "View detailed bug context from BugPack including screenshots, environment info, and related files. Use when: user wants to see bug details, screenshots, or understand a specific bug before fixing. NOT for: listing all bugs (use bugpack-list-bugs) or directly fixing bugs (use bugpack-fix-bug)."
metadata:
  openclaw:
    emoji: "\U0001F50D"
---

# BugPack - View Bug Details

Fetch full bug context from BugPack, including description, screenshots, environment info, and related files.

## Instructions

1. Call `GET http://localhost:3456/api/bugs/:id` to get the full bug details.
2. The response includes:
   - `title`, `description`, `status`, `priority`
   - `pagePath` — the page/route where the bug occurs
   - `device`, `browser` — environment info
   - `relatedFiles` — array of file paths related to the bug
   - `screenshots` — array of screenshot objects with `id`, `name`, `original_path`, `annotated_path`
3. Display the bug info in a structured format.
4. If the bug has screenshots, mention them and offer to show annotated versions.
5. If `relatedFiles` are listed, use them to locate relevant source code.

## Example

```
GET http://localhost:3456/api/bugs/abc-123
```

Response:

```json
{
  "ok": true,
  "data": {
    "id": "abc-123",
    "title": "Button click not working",
    "description": "The submit button on the login page does not respond to clicks",
    "status": "open",
    "priority": "high",
    "pagePath": "/login",
    "device": "Desktop",
    "browser": "Chrome 120",
    "relatedFiles": ["src/pages/Login.tsx", "src/components/SubmitButton.tsx"],
    "screenshots": [
      {
        "id": "ss-001",
        "name": "login-bug.png",
        "original_path": "/uploads/MyProject/original.png",
        "annotated_path": "/uploads/MyProject/annotated.png"
      }
    ]
  }
}
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。