一键导入
emacs-command-variable-introspection
Inspect Emacs commands, variables, bindings, defaults, and buffer-local values.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Inspect Emacs commands, variables, bindings, defaults, and buffer-local values.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Inspect live Emacs runtime state such as buffers, variables, hooks, keymaps, features, warnings, and backtraces.
Work with live Emacs buffers, regions, point, narrowing, and window-local editing state.
Reload Emacs configuration safely and diagnose stale package or variable state after configuration changes.
Diagnose Emacs hook ordering, key binding shadowing, remaps, and advice-related behavior.
Use editor-backed language server workflows such as diagnostics, definitions, references, rename, and code actions.
Work with Magit buffers and live Git state inside Emacs.
| name | emacs-command-variable-introspection |
| title | Emacs Command And Variable Introspection |
| description | Inspect Emacs commands, variables, bindings, defaults, and buffer-local values. |
| type | instruction |
| tools | emacs_eval |
| capability | true |
| family | emacs-introspection |
| source | builtin |
| feature | emacs |
| modes | emacs-lisp-mode, lisp-interaction-mode |
| keywords | command, commands, variable, variables, customize, symbol, binding, describe-function, describe-variable |
| disclosure | active |
| risk | low |
Use Emacs introspection functions to inspect commands and variables. Distinguish symbol existence, function binding, interactive command status, default values, and buffer-local values.
When checking key bindings, inspect the active keymaps in the relevant buffer.
Do not guess the representation of unfamiliar variables or complex values. Inspect the value's type and shape with a purpose-built helper or describe-variable before extracting fields. If an operation reports Wrong type argument, inspect type-of next instead of retrying with another guessed representation.