← 返回
未分类 中文

Ucts Investigate

Root cause debugging methodology. Systematic hypothesis-driven investigation with strict rules: no fixes without investigation, stop after 3 failed attempts....
根本原因调试方法论。系统性的假设驱动调查,规则严格:未调查不修复,失败三次后停止。
muthukumaran-k-1 muthukumaran-k-1 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 316
下载
💾 0
安装
1
版本
#latest

概述

UCTS Investigate

Systematic root-cause debugging. This is a methodology skill — guide the user through the process.

Iron Law

No fixes without investigation. Never guess-and-check. Never "try this and see." Understand the cause FIRST, then fix.

Process

1. Reproduce

Get the exact:

  • Steps to trigger the bug
  • Input that causes the failure
  • Environment (OS, Node version, browser, etc.)
  • Error message (exact text, not paraphrased)
  • Frequency: always, sometimes, only on Tuesdays?

If you can't reproduce it, you can't fix it. Stop here until you can.

2. Hypothesize

Form 3 hypotheses about the root cause, ranked by probability:

  1. Most likely: [specific mechanism]
  2. Second most likely: [specific mechanism]
  3. Dark horse: [unlikely but would explain everything]

Each hypothesis must be falsifiable — you must be able to design a test that proves it wrong.

3. Trace

For the top hypothesis, trace the data flow:

  • What enters the system?
  • What transformations happen?
  • Where does the expected path diverge from the actual path?
  • What state is wrong and when did it become wrong?

4. Test

Design a minimal test that confirms or refutes the top hypothesis:

  • If confirmed → you found the root cause. Proceed to fix.
  • If refuted → move to hypothesis #2. Repeat trace + test.

5. The 3-Strike Rule

After 3 failed fix attempts, STOP. Reassess from scratch:

  • Are your hypotheses wrong?
  • Is the bug actually in a different layer?
  • Is there a simpler explanation you missed?
  • "The bug is in the code you trust most."

When to Spawn Claude Code

If the investigation requires reading code, running tests, or making changes:

Load UCTS. Run /investigate <bug description>

If the user just needs to think through the problem, stay in chat.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 01:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,625
ai-agent

Ucts Guide

muthukumaran-k-1
Smart task analysis with optimal tool prescription. Analyze any coding task by complexity, domain, scope, and risk — the
★ 0 📥 367
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,610