Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

log-debug-issue记录调试问题

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

196

周安装

8

GitHub Stars

1

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:log-debug-issue(记录调试问题)
来源仓库:https://github.com/dudusoar/vrp-toolkit
仓库路径:skills/log-debug-issue
安装命令:
npx skills add https://github.com/dudusoar/vrp-toolkit --skill log-debug-issue
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dudusoar/vrp-toolkit --skill log-debug-issue

简介

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力,适合查询项目状态与整理变更。

  • 适用于物流路径规划(VRP)类系统的缺陷跟踪与修复协作。
  • 可协助复现问题、标注异常输入或建议调试切入点。
  • 安装命令为 npx skills add https://github.com/dudusoar/vrp-toolkit --skill log-debug-issue。
  • 涉及算法逻辑修改时应同步更新测试用例以防回归。

SKILL.md

Debug Logger

Record problems, bugs, and debugging processes with structured solutions for future reference.

When to Use

Use this skill when:

  • Encountering a bug or error during development
  • Debugging a complex issue that requires investigation
  • Finding a solution to a problem that might recur
  • Documenting workarounds or temporary fixes
  • Tracking issues that need follow-up

Workflow

Step 1: Identify Problem

When an issue occurs, document it immediately:

Key information to capture:

  • Date & Time: When did the issue occur?
  • Context: What were you trying to do?
  • Symptoms: What went wrong? Error messages, unexpected behavior
  • Environment: OS, Python version, package versions, relevant configuration
  • Reproduction Steps: How to reproduce the issue

Step 2: Investigate & Debug

Record the debugging process:

Document:

  • Hypotheses: What you think might be causing the issue
  • Tests/Experiments: What you tried to diagnose the problem
  • Findings: What you discovered during investigation
  • Resources: Documentation consulted, forum posts, etc.

Step 3: Solution & Fix

When a solution is found:

Record:

  • Root Cause: The actual cause of the problem
  • Solution: The fix implemented
  • Workaround: Temporary fixes if permanent solution not yet available
  • Prevention: How to prevent similar issues in future
  • Validation: How you verified the fix works

Step 4: Update DEBUG_LOG.md

Add the problem-solution entry to the debug log file (.claude/DEBUG_LOG.md):

DEBUG_LOG.md Structure

# Debug Log - VRP Toolkit Project

*Structured record of problems, bugs, and solutions encountered during development.*

## Active Issues 🚧
*Issues not yet resolved or needing follow-up.*

### [Issue Title]
**Date Opened:** YYYY-MM-DD
**Last Updated:** YYYY-MM-DD
**Status:** Investigating / Needs Fix / Waiting

**Problem:**
[Brief description of the problem]

**Symptoms:**
- [Error messages]
- [Unexpected behavior]

**Current Investigation:**
- [Hypotheses being tested]
- [Tests performed]

**Next Steps:**
1. [Action item 1]
2. [Action item 2]

---

## Resolved Issues ✅
*Problems that have been solved.*

### [Issue Title]
**Date Opened:** YYYY-MM-DD
**Date Resolved:** YYYY-MM-DD
**Resolution Time:** [e.g., 2 hours]

**Problem:**
[Brief description of the problem]

**Symptoms:**
- [Error messages]
- [Unexpected behavior]

**Root Cause:**
[The underlying cause of the issue]

**Solution:**
[The fix implemented]

**Prevention:**
[How to prevent similar issues]

**Lessons Learned:**
[Key takeaways from this debugging process]

---

## Common Patterns & Solutions 🔧
*Recurring issues and their solutions for quick reference.*

### Pattern 1: [Pattern Name]
**Symptoms:** [Common symptoms]
**Cause:** [Typical cause]
**Solution:** [Standard solution]
**Example:** [Link to specific resolved issue]

### Pattern 2: [Pattern Name]
**Symptoms:** [Common symptoms]
**Cause:** [Typical cause]
**Solution:** [Standard solution]
**Example:** [Link to specific resolved issue]

Entry Templates

New Issue Template

### [Brief descriptive title]
**Date Opened:** YYYY-MM-DD
**Last Updated:** YYYY-MM-DD
**Status:** Investigating

**Problem:**
[What were you trying to do when the issue occurred?]

**Symptoms:**
- [Specific error messages with tracebacks]
- [Unexpected output or behavior]
- [What works vs what doesn't]

**Environment:**
- OS: [Operating system]
- Python: [Python version]
- Packages: [Relevant package versions]
- Context: [What part of the project]

**Reproduction Steps:**
1. [Step 1]
2. [Step 2]
3. [Step 3]

**Current Investigation:**
- **Hypothesis 1:** [What you think might be wrong]
  - Test: [What test you ran]
  - Result: [What happened]

**Next Steps:**
1. [Immediate next action]
2. [Longer-term investigation if needed]

---

Resolved Issue Template

### [Brief descriptive title]
**Date Opened:** YYYY-MM-DD
**Date Resolved:** YYYY-MM-DD
**Resolution Time:** [e.g., 45 minutes]

**Problem:**
[What was the problem?]

**Symptoms:**
- [Error messages]
- [Unexpected behavior]

**Root Cause:**
[The actual underlying cause - be specific]
- [Technical details]
- [Why it wasn't obvious]

**Solution:**
[The fix that worked]
- [Code changes made]
- [Configuration updates]
- [Workarounds implemented]

**Prevention:**
[How to prevent this issue in future]
- [Code patterns to avoid]
- [Tests to add]
- [Documentation to update]

**Lessons Learned:**
[Key insights from debugging]
- [What made debugging difficult/easy]
- [Tools or techniques that helped]
- [What to try first next time]

**Files Modified:**
- [path/to/file.py]
- [path/to/config.yaml]

---

Integration with Other Skills

update-task-board: Active issues in DEBUG_LOG.md become tasks in CLAUDE.md "Blockers" or "In Progress" sections.

git-log: When fixing bugs documented in DEBUG_LOG.md, reference the issue in commit messages.

build-session-context: Check DEBUG_LOG.md for active issues when starting work.

update-migration-log: Document debugging efforts as part of migration or task completion.

Usage Examples

Example 1: Import Error

Trigger: ImportError: cannot import name 'RealMap' from 'vrp_toolkit.data'

Debug process:

  1. Check __init__.py exports
  2. Verify file paths
  3. Check for circular imports
  4. Find missing export and fix

Entry: Document the import error, investigation steps, and solution (adding missing export to __init__.py).

Example 2: Algorithm Bug

Trigger: ALNS algorithm produces invalid routes

Debug process:

  1. Check initial solution generation
  2. Verify operator logic
  3. Add debug prints
  4. Find off-by-one error in indexing

Entry: Document the bug, debugging steps, and fix (correcting index calculation).

Example 3: Dependency Issue

Trigger: Matplotlib fails to import on Windows

Debug process:

  1. Check matplotlib version
  2. Check backend configuration
  3. Find Windows-specific issue
  4. Implement workaround

Entry: Document the platform-specific issue and workaround.

Maintenance Guidelines

File Organization

  • Keep "Active Issues" section at top for visibility
  • Move resolved issues from "Active" to "Resolved"
  • Regularly review "Common Patterns" and update based on new issues
  • Use consistent formatting for easy scanning

Status Tracking

  • Investigating: Issue identified, debugging in progress
  • Needs Fix: Root cause identified, fix needed
  • Waiting: Blocked on external factor (e.g., dependency update)
  • Resolved: Fix implemented and verified

Regular Review

  • Weekly: Review active issues, update status
  • Monthly: Archive old resolved issues if file gets too large
  • Project milestones: Summarize key learnings from debug log

Automation Notes

When AI uses this skill, it should:

  1. Create DEBUG_LOG.md if it doesn't exist
  2. Add new issues to "Active Issues" section
  3. Update issue status as investigation progresses
  4. Move resolved issues to "Resolved" section
  5. Extract patterns for "Common Patterns" section
  6. Reference issues in commit messages when fixes are committed

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

30.05%
按下载量换算19

windsurf

22.05%
按下载量换算14

trae

20.64%
按下载量换算13

OpenCode

11.99%
按下载量换算8

Codex

8%
按下载量换算5

github-copilot

3.96%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills