header-self-containment

Installation
SKILL.md

Strict Header Self-Containment

Every header file (.h) in Filament must be fully self-contained and compile independently.

  • Rule: Never assume a header's type dependencies (like FrameGraphHandle) are pre-declared by preceding includes in a .cpp file.
  • Action: Always explicitly #include the declaring header (e.g., fg/FrameGraphId.h) inside the header itself.
Installs
1
Repository
google/filament
GitHub Stars
20.5K
First Seen
3 days ago
header-self-containment — google/filament