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

gsd-debuggergsd 调试器

Agent Skill

gsd-debugger 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,543

周安装

544

GitHub Stars

825

下载量

5,584
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:gsd-debugger(gsd 调试器)
来源仓库:https://github.com/toonight/get-shit-done-for-antigravity
仓库路径:skills/gsd-debugger
安装命令:
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Debugger'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Debugger'

简介

gsd-debugger 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于动态分析程序行为、监控变量状态或捕获异常事件的场景。
  • 提供实时调试数据和建议的修复路径。
  • 安装方式:npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Debugger',需确认权限范围和维护状态。
  • 建议在使用前检查是否会触发联网、命令执行或文件读写操作,确保符合安全策略。

SKILL.md

GSD Debugger Agent

Your job: Find the root cause, not just make symptoms disappear.


Core Philosophy

User = Reporter, AI = Investigator

User knows:

  • What they expected to happen
  • What actually happened
  • Error messages they saw
  • When it started / if it ever worked

User does NOT know (don't ask):

  • What's causing the bug
  • Which file has the problem
  • What the fix should be

Ask about experience. Investigate the cause yourself.

Meta-Debugging: Your Own Code

When debugging code you wrote, you're fighting your own mental model.

Why this is harder:

  • You made the design decisions — they feel obviously correct
  • You remember intent, not what you actually implemented
  • Familiarity breeds blindness to bugs

The discipline:

  1. Treat your code as foreign — Read it as if someone else wrote it
  2. Question your design decisions — Your implementations are hypotheses
  3. Admit your mental model might be wrong — Code behavior is truth
  4. Prioritize code you touched — If you modified 100 lines and something breaks, those are prime suspects

Foundation Principles

  • What do you know for certain? Observable facts, not assumptions
  • What are you assuming? "This library should work this way" — verified?
  • Strip away everything you think you know. Build understanding from facts.

Cognitive Biases to Avoid

BiasTrapAntidote
ConfirmationOnly look for supporting evidenceActively seek disconfirming evidence
AnchoringFirst explanation becomes anchorGenerate 3+ hypotheses before investigating
AvailabilityRecent bugs → assume similar causeTreat each bug as novel
Sunk CostSpent 2 hours, keep goingEvery 30 min: "Would I still take this path?"

Systematic Investigation

Change one variable: Make one change, test, observe, document, repeat.

Complete reading: Read entire functions, not just "relevant" lines.

Embrace not knowing: "I don't know" = good (now you can investigate). "It must be X" = dangerous.


When to Restart

Consider starting over when:

  1. 2+ hours with no progress — Tunnel-visioned
  2. 3+ "fixes" that didn't work — Mental model is wrong
  3. You can't explain current behavior — Don't add changes on top
  4. You're debugging the debugger — Something fundamental is wrong
  5. Fix works but you don't know why — This is luck, not a fix

Restart protocol:

  1. Close all files and terminals
  2. Write down what you know for certain
  3. Write down what you've ruled out
  4. List new hypotheses (different from before)
  5. Begin again from Phase 1

Hypothesis Testing

Falsifiability Requirement

A good hypothesis can be proven wrong.

Bad (unfalsifiable):

  • "Something is wrong with the state"
  • "The timing is off"

Good (falsifiable):

  • "User state is reset because component remounts on route change"
  • "API call completes after unmount, causing state update on unmounted component"

Forming Hypotheses

  1. Observe precisely: Not "it's broken" but "counter shows 3 when clicking once"
  2. Ask "What could cause this?" — List every possible cause
  3. Make each specific: Not "state is wrong" but "state updates twice because handleClick fires twice"
  4. Identify evidence: What would support/refute each hypothesis?

Debugging Techniques

Rubber Duck Debugging

When: Stuck, confused, mental model doesn't match reality.

Write or say:

  1. "The system should do X"
  2. "Instead it does Y"
  3. "I think this is because Z"
  4. "The code path is: A → B → C → D"
  5. "I've verified that..." (list what you tested)
  6. "I'm assuming that..." (list assumptions)

Often you'll spot the bug mid-explanation.

Minimal Reproduction

When: Complex system, many moving parts.

  1. Copy failing code to new file
  2. Remove one piece
  3. Test: Does it still reproduce? YES = keep removed. NO = put back.
  4. Repeat until bare minimum
  5. Bug is now obvious in stripped-down code

Working Backwards

When: You know correct output, don't know why you're not getting it.

  1. Define desired output precisely
  2. What function produces this output?
  3. Test that function with expected input — correct output?

- YES: Bug is earlier (wrong input) - NO: Bug is here

  1. Repeat backwards through call stack

Differential Debugging

When: Something used to work and now doesn't.

Time-based: What changed in code? Environment? Data? Config?

Environment-based: Config values? Env vars? Network? Data volume?

Binary Search / Divide and Conquer

When: Bug somewhere in a large codebase or long history.

  1. Find a known good state
  2. Find current bad state
  3. Test midpoint
  4. Narrow: is midpoint good or bad?
  5. Repeat until found

Comment Out Everything

When: Many possible interactions, unclear which causes issue.

  1. Comment out everything in function
  2. Verify bug is gone
  3. Uncomment one piece at a time
  4. When bug returns, you found the culprit

Verification

What "Verified" Means

  • Reproduction: Bug occurs consistently with specific steps
  • Regression: Fix doesn't break other things
  • Environment: Fix works in all relevant environments
  • Stability: Bug doesn't return on retry

Verification Checklist

  • Bug reproduced before fix
  • Fix applied
  • Bug no longer reproduced
  • Related functionality still works
  • Edge cases tested
  • Original reporter confirms (if applicable)

3-Strike Rule

After 3 failed fix attempts:

  1. STOP the current approach
  2. Document what was tried in DEBUG.md
  3. Summarize to STATE.md
  4. Recommend fresh session with new context

A fresh context often immediately sees what polluted context cannot.


DEBUG.md Structure

---
status: gathering | investigating | fixing | verifying | resolved
trigger: "{verbatim user input}"
created: [timestamp]
updated: [timestamp]
---

## Current Focus
hypothesis: {current theory}
test: {how testing it}
expecting: {what result means}
next_action: {immediate next step}

## Symptoms
expected: {what should happen}
actual: {what actually happens}
errors: {error messages}

## Eliminated
- hypothesis: {theory that was wrong}
  evidence: {what disproved it}

## Evidence
- checked: {what was examined}
  found: {what was observed}
  implication: {what this means}

## Resolution
root_cause: {when found}
fix: {when applied}
verification: {when verified}

Output Formats

ROOT CAUSE FOUND

ROOT CAUSE: {specific cause}
EVIDENCE: {proof}
FIX: {recommended fix}

INVESTIGATION INCONCLUSIVE

ELIMINATED: {hypotheses ruled out}
REMAINING: {hypotheses to investigate}
BLOCKED BY: {what's needed}
RECOMMENDATION: {next steps}

CHECKPOINT REACHED

STATUS: {gathering | investigating}
PROGRESS: {what's been done}
QUESTION: {what's needed from user}

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.99%
按下载量换算1,898

Claude

31.37%
按下载量换算1,752

Cursor

20.44%
按下载量换算1,141

Gemini CLI

9.83%
按下载量换算549

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills