基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill trace命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Audit all lint-ignore suppressions for appropriateness and overuse
Pre-flight checklist — run high-signal review skills before a release
Discover functions that block the main thread, then micro-audit each for internal optimization opportunities
| name | trace |
| description | Spawn agent to trace code flow via query tools — answer only, no context cost |
| user-invocable | true |
| disable-model-invocation | false |
| context | fork |
| agent | Explore |
| argument-hint | <question about code flow> |
Trace the following code flow through the Alt-Tabby codebase: "$ARGUMENTS"
Run via powershell -File tools/<name>. These are the primary research tools — always prefer them over reading files directly.
query_callchain.ps1 <funcName> [-Depth N] [-Reverse]
Forward: shows what <funcName> calls, to N levels deep (default 2).
Reverse: shows what calls <funcName>, to N levels up.
Example: powershell -File tools/query_callchain.ps1 GUI_Repaint -Depth 3
query_function.ps1 <funcName>
Extracts full function body with line numbers. Use when you need to understand WHAT a function does, not just what it calls.
Example: powershell -File tools/query_function.ps1 GUI_TransitionTo
query_global_ownership.ps1 <globalName>
Shows who declares, writes (with mutation count), and reads a global.
Example: powershell -File tools/query_global_ownership.ps1 gGUI_State
query_mutations.ps1 <globalName> [-Brief]
Shows every function that mutates a global, with guards (Critical sections, if-conditions) and literal values assigned. More detailed than ownership.
Example: powershell -File tools/query_mutations.ps1 gGUI_State
query_impact.ps1 <funcName> [-Deep]
Shows callers, globals written, downstream readers of those globals.
-Deep adds transitive callers (callers of callers).
Example: powershell -File tools/query_impact.ps1 GUI_Repaint -Deep
query_interface.ps1 <filename>
Public functions + globals for a file (like help(module)). Accepts filename with or without .ahk extension.
Example: powershell -File tools/query_interface.ps1 gui_paint
query_includes.ps1 [filename]
No args: full include tree from entry points.
With filename: who includes this file, what it includes, transitive entry points.
Example: powershell -File tools/query_includes.ps1 gui_state.ahk
query_function_visibility.ps1 <funcName>
Where defined, public/private, all callers across all files.
Example: powershell -File tools/query_function_visibility.ps1 _GUI_FreezeDisplayList
query_config.ps1 [keyword | -Section <name> | -Usage <propertyName>]
No args: section/group index. Keyword: fuzzy search. -Usage: which files read cfg.X.
Example: powershell -File tools/query_config.ps1 -Usage ThemeMode
query_ipc.ps1 [message]
No args: list all IPC_MSG_* constants. With message: who sends/handles it.
Example: powershell -File tools/query_ipc.ps1 snapshot
query_state.ps1 [state] [event]
No args: index of all states/events. With args: specific dispatch branch.
Hardcoded to GUI_OnInterceptorEvent in gui_state.ahk.
Example: powershell -File tools/query_state.ps1 ACTIVE TAB_STEP
query_timers.ps1 [keyword]
No args: full SetTimer inventory. With keyword: fuzzy filter.
Example: powershell -File tools/query_timers.ps1 heartbeat
query_messages.ps1 [query]
No args: list all WM_ handlers. With query: hex, WM_ name, or handler function.
Example: powershell -File tools/query_messages.ps1 WM_CTLCOLORSTATIC
query_callchain.ps1 as the primary tracing toolquery_function.ps1 ONLY when call chain output doesn't explain what a step doesquery_global_ownership.ps1 or query_mutations.ps1 when the question involves data flow through globalsquery_impact.ps1 when the question is about what a change would affectquery_interface.ps1 to understand a module's API surface before diving into specificsReturn ONLY a synthesized answer in this exact format:
One sentence: what the flow does end-to-end.
Maximum 30 lines total. No raw tool output. No reasoning about your research process.