gccdiag
CommunityVerify C/C++ builds from compile_commands.json.
AuthorIndianBoy42
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Quickly validate that C/C++ sources compile with the exact arguments defined in the project's compile_commands.json by sourcing build data from the compilation database discovered in the repo hierarchy.
Core Features & Use Cases
- Automatic discovery: Searches upward from the current directory to locate the first compile_commands.json and parses it as the compilation database.
- Configurable behavior: Supports per-project tweaks via .gccdiag or _gccdiag files in the current directory or above, as well as a global config at $XDG_CONFIG_HOME/gccdiag/.
- Practical use cases: Ideal for CI and local development when you need reproducible compiler invocations and quick verification of changes against the exact compile commands.
Quick Start
Run gccdiag on a source file to verify it compiles using the detected compile_commands.json.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gccdiag Download link: https://github.com/IndianBoy42/dot-opencode/archive/main.zip#gccdiag Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.