← 返回 Skills 市场
duhuazhu

BugPack Fix Bug

作者 duhuazhu · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
180
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install bugpack-fix-bug
功能描述
Fix a bug from BugPack by reading its context, locating code, applying fixes, and updating status. Use when: user asks to fix, repair, or resolve a bug. NOT...
使用说明 (SKILL.md)

\r \r

BugPack - Fix Bug\r

\r Read bug context from BugPack, locate the relevant code, apply a fix, and mark the bug as fixed.\r \r

Instructions\r

\r

  1. Get bug context: Call GET http://localhost:3456/api/bugs/:id to fetch full bug details including description, screenshots, environment, and related files.\r \r
  2. Analyze the bug: Read the description and examine the screenshots to understand what is broken and what the expected behavior should be.\r \r
  3. Locate code: Use the relatedFiles array from the bug context to find the relevant source files. If relatedFiles is empty, use the pagePath and description to search the codebase.\r \r
  4. Apply fix: Edit the source code to fix the described issue. Follow the project's existing code style and conventions.\r \r
  5. Mark as fixed: After applying the fix, call PATCH http://localhost:3456/api/bugs/:id with:\r
    { "status": "fixed" }\r
    ```\r
    

\r 6. Add fix note (optional): Call PATCH http://localhost:3456/api/bugs/:id with a description update to document what was changed.\r \r

Example\r

\r

# Step 1: Get bug context\r
GET http://localhost:3456/api/bugs/abc-123\r
\r
# Step 5: Mark as fixed\r
PATCH http://localhost:3456/api/bugs/abc-123\r
Content-Type: application/json\r
\r
{ "status": "fixed" }\r
```\r
\r
Response:\r
\r
```json\r
{\r
  "ok": true,\r
  "data": {\r
    "id": "abc-123",\r
    "status": "fixed"\r
  }\r
}\r
```\r
安全使用建议
This skill coherently describes fixing a bug via a local BugPack API, but it leaves important operational and safety details unspecified. Before installing or using it: ensure the BugPack service at localhost:3456 is the intended target and authenticated as appropriate; confirm the agent has explicit, limited filesystem permissions and a working directory scoped to the project repo (to avoid accidental edits elsewhere); require that fixes be validated (run tests, run linters) and committed/pushed through your normal code-review process (or explicitly disable automatic commits); and consider backing up the repository or using a branch/PR workflow. If you need stricter controls, ask for SKILL.md to specify allowed file paths, test/commit steps, and required review/approval gates.
功能分析
Type: OpenClaw Skill Name: bugpack-fix-bug Version: 1.0.2 The skill bundle is designed to interact with a local bug-tracking service (BugPack) at http://localhost:3456. The instructions in SKILL.md provide a standard workflow for retrieving bug context, modifying local source code, and updating the bug status via REST API calls, with no evidence of malicious intent, data exfiltration, or suspicious obfuscation.
能力评估
Purpose & Capability
Name/description align with the instructions: it interacts with a BugPack API on localhost to get bug context, find related files, edit code, and mark status as fixed. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
The SKILL.md explicitly instructs GET/PATCH to http://localhost:3456 and to edit source files referenced by the bug. Editing the codebase is consistent with fixing a bug, but the instructions are open-ended: they do not constrain which files may be modified, do not require running tests, committing, creating a PR, or validating the fix, and grant broad discretion to read/modify the local codebase.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk by an installer and no third-party downloads are required.
Credentials
No environment variables, credentials, or config paths are requested. Access to a local HTTP service (localhost:3456) is required by the skill and is proportionate to its purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent or elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bugpack-fix-bug
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bugpack-fix-bug 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Clarified the skill's purpose in the description, specifying when to use and not use it. - Added detailed step-by-step instructions for fetching bug context, analyzing bugs, locating code, applying fixes, and marking bugs as fixed. - Included example API requests and responses for clarity. - Expanded guidance on finding relevant source files using relatedFiles, pagePath, and description.
元数据
Slug bugpack-fix-bug
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

BugPack Fix Bug 是什么?

Fix a bug from BugPack by reading its context, locating code, applying fixes, and updating status. Use when: user asks to fix, repair, or resolve a bug. NOT... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 180 次。

如何安装 BugPack Fix Bug?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bugpack-fix-bug」即可一键安装,无需额外配置。

BugPack Fix Bug 是免费的吗?

是的,BugPack Fix Bug 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

BugPack Fix Bug 支持哪些平台?

BugPack Fix Bug 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 BugPack Fix Bug?

由 duhuazhu(@duhuazhu)开发并维护,当前版本 v1.0.2。

💬 留言讨论