360 Secure SkillHub
360 安全技能中心

BugPack View Bug

该 Skill 根据用户提供的 bug ID 调用本地 BugPack 服务的 HTTP 接口,获取单个 bug 的标题、描述、状态、优先级、页面路径、设备与浏览器信息、相关文件路径和截图列表,并以结构化形式展示,便于在修复前了解 bug 上下文;明确不负责列出全部 bug,也不负责修复 bug。

分类:开发
duhuazhu
duhuazhu
热度 32.98
最近更新 2026-05-11 17:33:20

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add duhuazhu/bugpack-view-bug
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
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":"🔍"}}

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:

{
  "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"
      }
    ]
  }
}