with one click
header-self-containment
Enforce strict header self-containment so that every header file compiles independently. Use this skill when creating or modifying C++ header files.
Enforce strict header self-containment so that every header file compiles independently. Use this skill when creating or modifying C++ header files.
| name | header-self-containment |
| description | Enforce strict header self-containment so that every header file compiles independently. Use this skill when creating or modifying C++ header files. |
Every header file (.h) in Filament must be fully self-contained and compile independently.
FrameGraphHandle) are pre-declared by preceding includes in a .cpp file.#include the declaring header (e.g., fg/FrameGraphId.h) inside the header itself.Enforce C++ static thread safety annotations and correct synchronization primitives. Use this skill when designing multi-threaded classes or editing guarded member fields.
Enforce the strict topological header inclusion layering and reordering rules in Filament. Use this skill when adding or modifying `#include` directives in C++ source or header files.
Build, deploy, run, and benchmark Filament binaries on connected Android devices or emulators. Use this skill for compiling, pushing, and executing Android tests or benchmarks.
Clean and build Filament targets for development, debugging, and production. Use this skill whenever you need to clean the workspace or compile desktop targets.
Execute unit tests and performance benchmarks for Filament on desktop platforms. Use this skill to run and filter tests or benchmarks locally.
Enforce preprocessor guard rules and macro-dependent inclusion hygiene in C++. Use this skill when modifying conditional imports or preprocessor directives.