Agent Skillsldayton/Dippy › debug

debug

GitHub

根据用户提供的上下文(命令、预期与实际行为、日志)定位并修复 Dippy 审批或拦截逻辑中的 Bug。遵循先写失败测试再修复的流程,确保代码质量与最小化改动。

.claude/skills/debug/SKILL.md ldayton/Dippy

触发场景

用户报告命令被错误批准或阻止 提供预期与实际行为差异的调试请求

安装

npx skills add ldayton/Dippy --skill debug -g -y
更多选项

非标准路径

npx skills add https://github.com/ldayton/Dippy/tree/main/.claude/skills/debug -g -y

不安装直接使用

npx skills use ldayton/Dippy@debug

指定 Agent (Claude Code)

npx skills add ldayton/Dippy --skill debug -a claude-code -g -y

安装 repo 全部 skill

npx skills add ldayton/Dippy --all -g -y

预览 repo 内 skill

npx skills add ldayton/Dippy --list

SKILL.md

Frontmatter
{
    "name": "debug",
    "description": "Debug incorrect Dippy approval or block behavior",
    "disable-model-invocation": true
}

Debug a Dippy issue based on user-provided context.

The user will provide:

  • The command that was incorrectly approved or blocked
  • Expected vs actual behavior
  • Any relevant error messages or logs

Process

  1. Understand the bug from the provided context
  2. Search the codebase to find the relevant handler or pattern
  3. Write a failing test FIRST in the appropriate test file
  4. Run just test and verify the test fails as expected
  5. Fix the bug in the handler or pattern
  6. Run just test until the test passes

Finish

When tests pass:

uv run ruff check --fix && uv run ruff format

just check MUST pass before you're done.

Restrictions

  • ONLY modify files directly related to the bug
  • Make minimal, targeted fixes
  • Do NOT refactor or "improve" unrelated code
  • Do NOT create a git commit or PR

版本历史

  • 2edad4a 当前 2026-07-24 21:07

同 Skill 集合

.claude/skills/add-command/SKILL.md
.claude/skills/check-coverage/SKILL.md
.claude/skills/release/SKILL.md
.claude/skills/verify-counts/SKILL.md

元信息

文件数
0
版本
2edad4a
Hash
48f07c24
收录时间
2026-07-24 21:07

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 19:40
浙ICP备14020137号-1