Skip to main content

inspect-a-stack-trace

Inspect a stack trace to identify the failing path, first relevant application frame, runtime context, and next discriminating check. Use when an error includes a call sequence but the cause is unclear.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
inspect-a-stack-trace
category
code
description
Inspect a stack trace to identify the failing path, first relevant application frame, runtime context, and next discriminating check. Use when an error includes a call sequence but the cause is unclear.
# inspect-a-stack-trace Use the trace as a path to investigate, not a complete diagnosis. ## When to use - Use for local, test, build, job, or production errors with a preserved trace. - Never expose secrets or personal data from arguments, paths, or logs. ## Preconditions - Capture the full error, trace, timestamp, version, environment, request or job identifier, and triggering action. ## Procedure 1. Preserve the original trace and separate exception type, message, cause chain, and frames. 2. Mark runtime, framework, dependency, generated, and application frames. 3. Read from the throw site outward and identify the first relevant owned frame. 4. Resolve symbols, source maps, versions, and line numbers against the exact artifact. 5. Compare successful and failed context without assuming the deepest frame caused the fault. 6. Form two or more hypotheses and name the next check that would distinguish them. 7. Record the bounded finding and link it to a reproducible case or incident. ## Failure plan - If symbols or source versions mismatch, stop attribution and recover the exact build mapping. ## Worked example A null error surfaces in framework code, but the first owned frame shows an optional account record passed into a formatter; a fixture check distinguishes missing data from a deploy mismatch. ## Done - A stack-trace report records the exact error, artifact version, cause chain, owned frame, hypotheses, and next check - Symbol, source-map, timestamp, context, privacy, and reproduction checks verify the interpretation
在 GitHub 查看