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

performing-systematic-debugging-for-stubborn-problems对顽固问题进行系统调试

Agent Skill

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

总安装

499

周安装

20

GitHub Stars

18

下载量

162
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:performing-systematic-debugging-for-stubborn-problems(对顽固问题进行系统调试)
来源仓库:https://github.com/arjenschwarz/agentic-coding
仓库路径:skills/performing-systematic-debugging-for-stubborn-problems
安装命令:
npx skills add https://github.com/arjenschwarz/agentic-coding --skill performing-systematic-debugging-for-stubborn-problems
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/arjenschwarz/agentic-coding --skill performing-systematic-debugging-for-stubborn-problems

简介

performing-systematic-debugging-for-stubborn-problems 提供基于 Fagan 检查法的系统调试框架,适用于顽固 bug 或复杂问题的排查。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中处理长期未解决的代码缺陷或架构级故障时使用。
  • 按四阶段顺序执行:问题概述、预期与实际行为对比、结构化审查、修复验证,禁止跳过任一步骤。
  • 使用前应确保有清晰的错误日志和问题描述,避免在未分析前直接修改代码。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Systematic Debugging with Fagan Inspection

This skill applies a modified Fagan Inspection methodology for systematic problem resolution when facing complex problems or stubborn bugs that have resisted multiple fix attempts.

Process Overview

Follow these four phases sequentially. Do not skip phases or attempt fixes before completing the inspection.

Phase 1: Initial Overview

Establish a clear understanding of the problem before analysis:

  • Explain the problem in plain language without technical jargon
  • State expected behaviour - what should happen
  • State actual behaviour - what is happening instead
  • Document symptoms - error messages, logs, observable failures
  • Context - when does it occur, how often, under what conditions

Output: A clear problem statement that anyone could understand.

Phase 2: Systematic Inspection

Perform a line-by-line walkthrough as the "Reader" role in Fagan Inspection. Identify defects without attempting to fix them yet - this is pure inspection.

Check against these defect categories:

  1. Logic Errors

- Incorrect conditional logic (wrong operators, inverted conditions) - Loop conditions (infinite loops, premature termination) - Control flow issues (unreachable code, wrong execution paths)

  1. Boundary Conditions

- Off-by-one errors - Edge cases (empty inputs, null values, maximum values) - Array/collection bounds

  1. Error Handling

- Unhandled exceptions - Missing validations - Silent failures (errors caught but not logged) - Incorrect error recovery

  1. Data Flow Issues

- Variable scope problems - Data transformation errors - Type mismatches or coercion issues - State management (stale data, race conditions)

  1. Integration Points

- API calls (incorrect endpoints, malformed requests, missing headers) - Database interactions (query errors, transaction handling) - External dependencies (version mismatches, configuration issues) - Timing issues (async/await problems, race conditions)

Think aloud during this phase. For each section of code:

  • State what the code is intended to do
  • Identify any discrepancies between intent and implementation
  • Flag assumptions or unclear aspects
  • Use ultrathink to think deeper on complex sections

Output: A categorised list of identified defects with line numbers and specific descriptions.

Phase 3: Root Cause Analysis

After identifying issues, trace back to find the fundamental cause - not just symptoms.

Five Whys Technique:

  • Ask "why" repeatedly (at least 3-5 times) to get to the underlying issue
  • State each "why" explicitly in your analysis
  • Example:

- Why did the API call fail? → Because the request was malformed - Why was it malformed? → Because the data wasn't serialised correctly - Why wasn't it serialised? → Because the serialiser expected a different type - Why did it expect a different type? → Because the schema was updated but code wasn't - Root cause: Schema versioning mismatch between services

Consider:

  • Environmental factors (configuration, dependencies, runtime environment)
  • Timing and concurrency (race conditions, async issues)
  • Hidden assumptions in the code or system design
  • Historical context (recent changes, migrations, updates)

State assumptions explicitly:

  • "I'm assuming X because..."
  • "This presumes that Y is always..."
  • Flag any assumptions that need verification

Output: A clear statement of the root cause, the chain of reasoning that led to it, and any assumptions that need validation.

Phase 4: Solution & Verification

Now propose specific fixes for each identified issue.

For each proposed solution:

  1. Describe the fix - what code/configuration changes are needed
  2. Explain why it resolves the root cause - connect it back to Phase 3 analysis
  3. Consider side effects - what else might this change affect
  4. Define verification steps - how to confirm the fix works

Verification Planning:

  • Specific test cases that would have caught this bug
  • Manual verification steps
  • Monitoring or logging to add
  • Edge cases to validate

Output: A structured list of fixes with verification steps.

Important Guidelines

  • Complete each phase thoroughly before moving to the next
  • Think aloud - verbalise your reasoning throughout
  • State assumptions explicitly rather than making implicit ones
  • Flag unclear aspects rather than guessing - if something is uncertain, say so
  • Use available tools - read files, search code, run tests, check logs
  • Focus on systematic analysis over quick fixes
  • Validate flagged aspects - after completing all phases, revisit any unclear points and use the think tool with "ultra" depth if needed to clarify them

Final Output

After completing all four phases, provide:

  1. Summary of findings - key defects and root cause
  2. Proposed solutions - prioritised list with rationale
  3. Verification plan - how to confirm fixes work
  4. Next steps - unless the user indicates otherwise, proceed to implement the proposed solutions

When This Skill Should NOT Be Used

  • For simple, obvious bugs with clear fixes
  • When the first debugging attempt is still underway
  • For new features (this is for debugging existing code)
  • When the problem is clearly environmental (config, infrastructure) and doesn't require code inspection

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.99%
按下载量换算55

Claude

29.18%
按下载量换算47

Cursor

19.36%
按下载量换算31

Gemini CLI

8.17%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills