trace

GitHub

用于根因分析和故障排查的技能,通过并行生成竞争性假设并收集证据来解释系统行为或错误原因。适用于运行时Bug、性能问题及架构分析等场景。

.github/skills/trace/SKILL.md zereight/gitlab-mcp

Trigger Scenarios

trace this trace why did this happen root cause analysis investigate why

Install

npx skills add zereight/gitlab-mcp --skill trace -g -y
More Options

Non-standard path

npx skills add https://github.com/zereight/gitlab-mcp/tree/main/.github/skills/trace -g -y

Use without installing

npx skills use zereight/gitlab-mcp@trace

指定 Agent (Claude Code)

npx skills add zereight/gitlab-mcp --skill trace -a claude-code -g -y

安装 repo 全部 skill

npx skills add zereight/gitlab-mcp --all -g -y

预览 repo 内 skill

npx skills add zereight/gitlab-mcp --list

SKILL.md

Frontmatter
{
    "name": "trace",
    "description": "Evidence-driven tracing with competing hypotheses in parallel. Activate when user says: trace this, trace, why did this happen, root cause analysis, investigate why.\n",
    "argument-hint": "<observation to trace>"
}

Trace

Evidence-driven causal tracing using competing hypotheses. Use for ambiguous, causal, evidence-heavy questions where the goal is to explain WHY something happened.

Good Entry Cases

  • Runtime bugs and regressions
  • Performance / latency behavior
  • Architecture / premortem / postmortem analysis
  • Config / routing / orchestration behavior
  • "Given this output, trace back the likely causes"

Core Contract

Always preserve: Observation → Hypotheses → Evidence For → Evidence Against → Best Explanation → Critical Unknown → Discriminating Probe

Workflow

  1. Restate the observed result precisely
  2. Generate 3 deliberately different hypotheses:
    • Code-path / implementation cause
    • Config / environment / orchestration cause
    • Measurement / artifact / assumption mismatch
  3. Assign @tracer to each hypothesis lane
  4. Each lane: evidence for, evidence against, critical unknown, discriminating probe
  5. Apply lenses: Systems, Premortem, Science
  6. Rebuttal round between top two hypotheses
  7. Rank, detect convergence, synthesize

Output

### Observed Result
[What happened]

### Ranked Hypotheses
| Rank | Hypothesis | Confidence | Evidence Strength |
|------|------------|------------|-------------------|

### Most Likely Explanation
[Current best explanation]

### Critical Unknown
[Single missing fact]

### Recommended Discriminating Probe
[Single next probe]

Version History

  • a8f5d4f Current 2026-07-25 10:04

Same Skill Collection

.github/skills/ai-slop-cleaner/SKILL.md
.github/skills/cancel/SKILL.md
.github/skills/ccg/SKILL.md
.github/skills/coding-standards/SKILL.md
.github/skills/deep-dive/SKILL.md
.github/skills/deep-interview/SKILL.md
.github/skills/omg-autopilot/SKILL.md
.github/skills/plan/SKILL.md
.github/skills/ralph/SKILL.md
.github/skills/ralplan/SKILL.md
.github/skills/remember/SKILL.md
.github/skills/review/SKILL.md
.github/skills/security-scan/SKILL.md
.github/skills/self-improve/SKILL.md
.github/skills/skill-stocktake/SKILL.md
.github/skills/status/SKILL.md
.github/skills/tdd/SKILL.md
.github/skills/team/SKILL.md
.github/skills/ultraqa/SKILL.md
.github/skills/ultrawork/SKILL.md
.github/skills/verify/SKILL.md
skills/gitlab-mcp/SKILL.md

Metadata

Files
0
Version
dc58dc0
Hash
fb21957a
Indexed
2026-07-25 10:04

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 04:45
浙ICP备14020137号-1 $mapa de visitantes$