Skip to main content

compile-commands-init

为 C/C++ 项目初始化 compile_commands.json 和 .clangd 配置文件,使 clangd LSP 能正确进行代码补全、跳转和诊断。Linux 下使用 bear 拦截构建命令生成,Windows 下使用构建日志配合 CompilerGen.py 生成,并在生成后自动清理脚本临时产物。触发词:compile_commands.json、clangd、编译数据库、代码跳转、LSP 配置、生成 compile_commands。

Jump to install

Source facts

Repository
docevilOck/agent-skills-hook
Last source activity
June 23, 2026 at 08:16
Detected SKILL.md language
Chinese
Stars
2
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.