用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill investigate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Audit all lint-ignore suppressions for appropriateness and overuse
基于 SOC 职业分类
正在显示 SKILL.md
| name | investigate |
| description | Guide diagnosis of a user-reported symptom — map to diagnostics, collect data, analyze |
| user-invocable | true |
| disable-model-invocation | false |
| argument-hint | [symptom] |
The user is reporting a symptom or bug. Your job is to figure out what data is needed to diagnose it, guide the user to collect that data, then analyze the results.
Read the user's description and classify into one or more categories:
| Category | Symptoms | Primary Diagnostics |
|---|---|---|
| Keyboard/input | Lost keypresses, Alt-Tab not triggering, stuck overlay, wrong state | EventLog, AltTabTooltips, FlightRecorder |
| Focus/activation | Wrong window activated, activation fails, focus not set, window behind others | WinEventLog, EventLog, FlightRecorder |
| Window list | Missing windows, ghost windows, wrong order, stale titles | StoreLog, ChurnLog, FlightRecorder |
| Workspace | Wrong workspace detected, windows on wrong workspace, stale list after switch | KomorebiLog, WinEventLog, FlightRecorder |
| Overlay/visual | Flicker, wrong position, wrong size, rendering glitches, slow paint | PaintTimingLog, AltTabTooltips, FlightRecorder |
| Icons/process | Missing icons, wrong icons, missing process names | IconPumpLog, ProcPumpLog, IPCLog |
| Startup/lifecycle | Won't start, subprocess not launching, crash on startup | LauncherLog, StoreLog |
| Config editor | WebView2 issues, settings not saving, editor crash | WebViewLog |
| Bypass mode | Alt-Tab works in some apps but not others, game mode issues | WinEventLog, EventLog, FlightRecorder |
Multiple categories often overlap — a "wrong window activates" bug may need both focus and workspace diagnostics.
Based on the classification, tell the user exactly what to do. Be specific — config key names, not vague instructions.
[Diagnostics] FlightRecorder=true). Confirm with the user. If not enabled, this is the first thing to turn on.Tell the user which keys to set in config.ini under [Diagnostics]:
; Example for a focus/activation issue:
[Diagnostics]
WinEventLog=true
EventLog=true
All logs write to %TEMP%\ with tabby_ prefix. Tell the user the exact log filenames they'll need to provide (from the table in .claude/rules/debugging.md).
Tell the user:
config.inirelease/recorder/ AND the relevant log files from %TEMP%\If the issue is intermittent, tell the user to leave diagnostics enabled and capture a dump each time it occurs. Multiple dumps help with correlation.
When the user provides data:
Use the analysis method from /flight-recorder — trace event chains, check global state, find broken sequences, timing gaps.
Read the log files and correlate timestamps with the flight recorder dump. Look for:
The power is in combining sources:
Match timestamps across sources to build the full picture.
If the cause is clear:
query_state.ps1 for state machine issues, query_messages.ps1 for message handlers, query_events.ps1 <code> to look up event field meanings and emitter functions)If the cause is unclear:
If the user just describes a symptom with no dumps or logs, go directly to Step 2 — tell them what to enable and how to reproduce. Don't speculate without data.