agents/skills/clangd-setup/SKILL.md
Use this skill when clangd-mcp is missing or needs configuration for the
current workspace.
clangd once user
approval is obtained.compile_commands.json) must be
generated for the specific V8 checkout.Follow these steps to ensure clangd is ready:
clangd-mcpclangd-mcp server is available in the list of registered
servers.clangd-mcp for
this workspace?"compile_commands.jsonclangd requires a compilation database to understand the codebase.
out/x64.debug, out/x64.release.compile_commands.json already exists
in the identified build directory or at the project root.gn gen <build_dir> --export-compile-commands.
gn gen out/x64.debug --export-compile-commandscompile_commands.json is generated, verify that clangd-mcp tools
(like find_symbol, get_definition) return meaningful results for a known
symbol in the codebase.clangd cannot find headers, ensure compile_commands.json is at the root
or linked correctly, and that the build has been run at least once to generate
all necessary headers (like Torque generated files).