360 Secure SkillHub
360 安全技能中心

BugPack

BugPack 是面向 Bug 跟踪与修复的工具包,提供列出 Bug、查看 Bug 详情(含截图、环境信息、相关文件)以及修复 Bug 三个流程。运行前需先启动本地 BugPack 服务,之后通过本地 HTTP API 读取和更新 Bug 数据。

duhuazhu
duhuazhu
热度 50.00
最近更新 2026-05-11 17:33:20
分类:开发依赖:代码执行 / 第三方 API / 读写文件应用场景:调试排错 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add bugpack
Metadata
name
bugpack
description
BugPack - AI-powered bug tracking and fixing toolkit. List bugs, view bug details with screenshots, and fix bugs automatically. Includes three workflows: list-bugs, view-bug, fix-bug. Requires BugPack server running locally.
metadata
{"openclaw":{"emoji":"📦"}}

BugPack

AI-powered bug tracking and fixing toolkit. List, view, and fix bugs from BugPack.

Prerequisites

Start BugPack server first:

npx bugpack-mcp

Skill 1: List Bugs

Query all tracked bugs with optional filtering.

Instructions

  1. Call GET http://localhost:3456/api/bugs to fetch all bugs.
    • Optional: ?project_id=<id> to filter by project.
  2. Each bug has: id, title, description, status, priority, project_id, created_at.
  3. Present results grouped by status (pending / fixed / closed).

Example

GET http://localhost:3456/api/bugs

Skill 2: View Bug Details

Fetch full bug context including screenshots, environment, and related files.

Instructions

  1. Call GET http://localhost:3456/api/bugs/:id for full details.
  2. Response includes: title, description, status, priority, pagePath, device, browser, relatedFiles, screenshots.
  3. Use relatedFiles to locate relevant source code.
  4. Screenshots have original_path and annotated_path.

Example

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

Skill 3: Fix Bug

Read bug context, locate code, apply fix, and update status.

Instructions

  1. Get context: GET http://localhost:3456/api/bugs/:id
  2. Analyze: Read description and examine screenshots.
  3. Locate code: Use relatedFiles or search by pagePath and description.
  4. Apply fix: Edit source code following project conventions.
  5. Mark fixed: PATCH http://localhost:3456/api/bugs/:id with { "status": "fixed" }
  6. Add note (optional): Update description to document what was changed.

Example

# Get bug context
GET http://localhost:3456/api/bugs/abc-123

# Mark as fixed
PATCH http://localhost:3456/api/bugs/abc-123
Content-Type: application/json

{ "status": "fixed" }