Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
C/C++ language server (clangd) providing code intelligence, diagnostics, and formatting for .c, .h, .cpp, .cc, .cxx, .hpp, .hxx files. Use when working with C or C++ code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.
C/C++ language server (clangd) providing code intelligence, diagnostics, and formatting for .c, .h, .cpp, .cc, .cxx, .hpp, .hxx files. Use when working with C or C++ code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
C/C++ language server integration providing comprehensive code intelligence through clangd (part of LLVM).
Code intelligence: Autocomplete, go-to-definition, find references Error detection: Real-time diagnostics for compilation errors Formatting: Code formatting with clang-format Refactoring: Rename symbols, extract function Supported extensions: .c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H
brew install llvm # Add to PATH export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
# Ubuntu/Debian sudo apt install clangd # Fedora sudo dnf install clang-tools-extra # Arch Linux sudo pacman -S clang
winget install LLVM.LLVM Or download from LLVM releases. Verify installation: clangd --version
The language server runs automatically in LSP-compatible editors. For manual operations:
gcc file.c -o output # C g++ file.cpp -o output # C++ clang file.c -o output # with clang
clang-format -i file.cpp
clang-tidy file.cpp -- -std=c++17
Create .clangd in project root: CompileFlags: Add: [-std=c++17, -Wall, -Wextra] Remove: [-W*] Diagnostics: UnusedIncludes: Strict MissingIncludes: Strict Or compile_commands.json for complex projects: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON . # or bear -- make
When editing C/C++ code: clangd uses compile_commands.json for project understanding Run clang-format to format code Use clang-tidy for static analysis Compile with warnings enabled (-Wall -Wextra)
Compile flags: -std=c++17 - C++17 standard -Wall -Wextra - Enable warnings -O2 - Optimization level -g - Debug symbols -I<path> - Include path -L<path> - Library path clang-tidy checks: clang-tidy file.cpp --checks='*' -- clang-tidy file.cpp --fix -- # Auto-fix
clangd Website Getting Started Guide LLVM Project
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.