Filament Build Clean
Developmentfilament-build-cleanFilament Build Clean is an Agent Skill for development published in the google/filament repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Clean and build Filament targets for development, debugging, and production. Use this skill whenever you need to clean the workspace or compile desktop targets.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/google/filament/blob/HEAD/skills/filament_build_clean/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/filament-build-clean, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Filament Build & Clean Protocols
This skill defines standard procedures and command configurations for cleaning build artifacts and compiling Filament targets on desktop platforms.
1. Full Clean of All Builds
To completely reset the build environment and remove all compiled artifacts, caches, and generated files across all platforms:
./build.sh -C
2. Compiling Desktop Debug Build
For active development, local debugging, and interactive testing, compile the desktop target with debug symbols and no optimizations:
./build.sh -ip desktop debug
3. Compiling Desktop Release Build
For performance analysis, optimizations, profiling, and running local benchmarks on desktop systems, compile the release build:
./build.sh -ip desktop release