Agent Skills
› google/filament
› verification-protocols
verification-protocols
GitHub针对C++源码或头文件修改的标准化验证流程,包括格式化、编译引擎及运行核心测试。若涉及公共API变更,还需检查Java和JS/TS绑定的一致性,确保代码质量与兼容性。
触发场景
修改C++源文件或头文件后
需要验证代码构建和测试通过时
安装
npx skills add google/filament --skill verification-protocols -g -y
SKILL.md
Frontmatter
{
"name": "verification-protocols",
"description": "Standard verification pipeline to execute after modifying C++ source or header files. Use this skill to format includes, build the engine, and run core tests."
}
Verification Protocols
Before completing any task that modifies C++ source or header files, AI agents must execute the following verification pipeline:
- Format Includes: Run
./tools/reorganize-headers/run.py <target>. - Compile Core Engine: Run
./build.sh -ip desktop debugto ensure the entire desktop target compiles cleanly with no warnings or errors. - Run Tests: Run the test suite binary located in the build output directory:
./out/cmake-debug/libs/utils/test_utils - Language Bindings Check: If any public APIs under
filament/include/filament/were modified, verify that matching Java and JavaScript/TypeScript bindings are implemented and up-to-date according to bindings-synchronization.
版本历史
-
ef1a133
当前 2026-09-28 07:38
修复工具脚本路径中的拼写错误(run.py文件名修正)。
- d8b4a37 2026-08-20 07:30


