Systematically analyzes stack traces to extract root cause
A Claude Code skill that walks stack frames bottom-up, distinguishes user code from library code, and proposes one hypothesis at a time.
git clone https://github.com/torifo/skills-error-trace /tmp/skills-error-trace
cp -r /tmp/skills-error-trace/error-trace ~/.claude/skills/Use when a test or runtime error has a stack trace.
What it does:
- Reads the full stack trace
- Walks frames bottom-up — finds where user code meets the failure
- Distinguishes user code from library/framework code
- Forms one hypothesis about the root cause
- Proposes a minimal targeted fix, not a broad rewrite
スタックトレースを体系的に分析して根本原因を特定する
Claude Code のスキル。スタックフレームをボトムアップで辿り、ユーザーコードとライブラリコードを区別し、一度に一つの仮説を提示します。
git clone https://github.com/torifo/skills-error-trace /tmp/skills-error-trace
cp -r /tmp/skills-error-trace/error-trace ~/.claude/skills/テストやランタイムエラーにスタックトレースがある場合に使います。
動作:
- スタックトレース全体を読む
- フレームをボトムアップで辿り、ユーザーコードが失敗に関わる箇所を見つける
- ユーザーコードとライブラリ/フレームワークコードを区別する
- 根本原因について一つの仮説を立てる
- 広範な書き直しではなく最小限のピンポイント修正を提案する