Skip to main content
Run any Skill in Manus
with one click

compile-commands-init

Stars2
Forks0
UpdatedJune 23, 2026 at 08:16

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

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly