Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

shadows-bug-hunter阴影昆虫猎人

Agent Skill

shadows-bug-hunter 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,645

周安装

394

GitHub Stars

公开资料未说明

下载量

3,120
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shadows-bug-hunter(阴影昆虫猎人)
来源仓库:https://github.com/nakedoshadow/shadows-bug-hunter
安装命令:
openclaw skills install shadows-bug-hunter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install shadows-bug-hunter

简介

使用日志注入、屏幕截图分析等技术进行结构化调试的辅助工具。

  • 适合处理错误、UI 损坏或回归问题时的任务执行记录与修正。
  • 通过 clawhub 安装后可用于持续沉淀问题与最佳实践。
  • 需注意其可能触发文件读写或网络请求,应提前确认权限范围。shadows-bug-hunter 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议参考原始 README 了解具体触发条件和调试流程。

SKILL.md

name
bug-hunter
description
Structured debugging with 4 techniques — Log Injection, Screenshot Analysis, Manual Trace, Test-Driven Fix. Use when facing errors, broken UI, regressions, or runtime issues.
metadata
{ "openclaw": { "emoji": "🐛", "homepage": "https://clawhub.ai/NakedoShadow", "requires": { "bins": ["git"] }, "os": ["darwin", "linux", "win32"] } }

Bug Hunter — Structured Debugging Protocol

Version: 1.1.0 | Author: Shadows Company | License: MIT


WHEN TO TRIGGER

  • Runtime errors, exceptions, stack traces
  • UI rendering issues or visual bugs
  • Regression after recent changes
  • User says "debug", "fix this bug", "it's broken", "not working"
  • Test failures with unclear root cause
  • Performance degradation

WHEN NOT TO TRIGGER

  • Feature requests (use brainstorming skill)
  • Code style / formatting issues
  • Simple typos with obvious fix

PREREQUISITES

Required:

  • git — Used in Triage step to inspect recent changes via git log --oneline -10. Detection: which git or git --version.

Optional (auto-detected per project):

  • pytest — Python test runner, used in Technique 4. Detected via python -m pytest --version or presence of pytest.ini / pyproject.toml [tool.pytest].
  • jest — JavaScript test runner, used in Technique 4. Detected via npx jest --version or presence of jest.config.*.
  • vitest — Vite-based test runner, used in Technique 4. Detected via npx vitest --version or presence of vitest.config.*.

If no test runner is detected, Technique 4 (Test-Driven Fix) is limited to writing the test file — execution must be deferred.


PROTOCOL — 4 TECHNIQUES

Before choosing a technique, run Triage first:

Triage (MANDATORY — 60 seconds max)

  1. Read the error message completely — what does it actually say?
  2. When did it start? Check recent git changes: git log --oneline -10
  3. Is it reproducible? Try the failing action once
  4. Classify severity: Crash / Wrong result / Visual / Performance

Based on triage, select the most appropriate technique:


Technique 1 — LOG INJECTION (Best for: backend, data flow, async issues)

  1. Add strategic console.log / print() at key decision points
  2. Log inputs AND outputs of suspected functions
  3. Run the failing scenario
  4. Read logs to identify where expected != actual
  5. Fix the root cause
  6. CLEANUP: Remove ALL debug logs before committing
[LOG] function_name() called with: {params}
[LOG] function_name() returned: {result}
[LOG] condition_check: variable = {value}
WARNING: This technique temporarily modifies source files. All injected debug code MUST be removed before any commit. See CLEANUP GUARANTEE below.

Technique 2 — SCREENSHOT ANALYSIS (Best for: UI bugs, layout issues)

  1. Capture or describe the current (broken) state
  2. Identify what SHOULD be displayed vs what IS displayed
  3. Inspect the component tree top-down
  4. Check: CSS specificity, z-index, overflow, flexbox/grid alignment
  5. Fix the styling or rendering logic
  6. Verify at breakpoints: 375px, 768px, 1024px, 1440px

Technique 3 — MANUAL TRACE (Best for: logic errors, algorithm bugs)

  1. Read the failing function line by line
  2. Manually compute expected values at each step
  3. Identify the exact line where expectation diverges from reality
  4. Check edge cases: null, undefined, empty array, zero, negative
  5. Fix the logic and add a test for the edge case

Technique 4 — TEST-DRIVEN FIX (Best for: regressions, complex interactions)

  1. Write a failing test that reproduces the bug FIRST
  2. Run the test to confirm it fails: python -m pytest {test_file} -x -q or npx jest {test_file} or npx vitest run {test_file}
  3. Fix the code until the test passes (green)
  4. Run the full test suite to check for regressions: python -m pytest -x -q or npx jest or npx vitest run
  5. Refactor if needed (refactor)
NOTE: Technique 4 executes the project's test suite, which runs repository code. Only use on trusted repositories or within a sandboxed environment.

PROCESS

TRIAGE → SELECT TECHNIQUE → INVESTIGATE → HYPOTHESIZE → FIX → VERIFY → CLEANUP

Verification Checklist (after fix)

  • [ ] The original bug is fixed
  • [ ] No new errors introduced
  • [ ] Existing tests still pass
  • [ ] Debug artifacts removed (logs, console.log, print, TODO)
  • [ ] Edge cases covered

CLEANUP GUARANTEE

After every fix, the agent MUST perform a final verification pass:

  1. Search modified files for debug markers: grep -n "\\[LOG\\]\|console\\.log\|print(\|debugger\|# DEBUG\|// DEBUG" {modified_files}
  2. Remove any remaining debug artifacts
  3. Confirm the working tree is clean of injected debug code before reporting completion

This step is non-negotiable and applies to all techniques, not just Technique 1.


RULES

  1. Read before guessing — always read the actual error, never assume
  2. One fix at a time — change ONE thing, test, repeat
  3. Root cause, not symptoms — fix WHY it broke, not just the surface
  4. No shotgun debugging — don't change random things hoping it works
  5. Clean up — remove ALL debug code before committing
  6. Regression test — add a test to prevent the same bug from returning

SECURITY CONSIDERATIONS

  • Commands executed: git log (read-only). Technique 4 runs project test suites (pytest, jest, vitest) which execute repository code.
  • Data read: Source files in the local repository.
  • File modification: Technique 1 (Log Injection) temporarily modifies source files to inject debug statements. All injected code MUST be removed before commit (see CLEANUP GUARANTEE).
  • Network access: None.
  • Persistence: None.
  • Credentials: None required.
  • Sandboxing: Recommended when using Technique 4 on untrusted repositories, as test execution runs arbitrary project code.

OUTPUT FORMAT

## Bug Report
- **Error**: [exact error message]
- **Severity**: [Crash/Wrong Result/Visual/Performance]
- **Reproducible**: [Yes/No + steps]

## Root Cause
[Explanation of why the bug occurs]

## Fix Applied
[Description of the fix with file:line references]

## Verification
- [x] Original bug resolved
- [x] Tests pass
- [x] No debug artifacts remain

Published by Shadows Company — "We work in the shadows to serve the Light."

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.71%
按下载量换算3,017

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills