browserworks/waterfox-android/include-cleaner
Claude Code and agent skill by browserworks/waterfox-android
- community
Checking that the SKILL.md file is still in the repository.
Runs the WebRTC include-cleaner tool (IWYU replacement) to fix headers in C++ files. Use when preparing a CL for upload, after modifying .cc or .h files, or when instructed to fix include regressions.
Install
npx vskill@latest install browserworks/waterfox-android/include-cleanerSKILL.md
The same SKILL.md was published earlier as signalapp/webrtc/include-cleaner.
WebRTC Include Cleaner
This skill provides instructions for using tools_webrtc/iwyu/apply-include-cleaner, a tool that automatically manages C++ #include directives in the WebRTC codebase. It ensures that every header used is explicitly included and that unused headers are removed.
When to Use
- Pre-upload: Run this tool before uploading a CL to ensure clean includes.
- After refactoring: When moving code or changing dependencies, use this to
update #include blocks.
- Fixing regressions: Use this if a presubmit or bot identifies
include-related issues.
Basic Usage
To run the include cleaner on specific files:
To run it on all modified files relative to the upstream branch (ideal for CL preparation):
Note: This is as expensive as a build for each file, so use it sparingly.
Options
-p,--print: Don't modify the files, just print the proposed changes.-w WORK_DIR,--work-dir WORK_DIR: Specify the GN work directory (default:
out/Default).
Post-Execution Steps
After running the include cleaner, it is recommended to perform the following steps to ensure build and style consistency:
- Check for build errors: The tool might occasionally make mistakes. Run a
build to verify.
- Fix GN dependencies: Use
tools_webrtc/gn_check_autofix.pyto fix any
deps issues caused by include changes. ``bash tools_webrtc/gn_check_autofix.py -C out/Default ``
- Format code: Run
git cl formatto fix any formatting issues in the
#include blocks. ``bash git cl format ``
Prerequisites
- The tool automatically generates
compile_commands.jsonin the output
directory if out/Default exists.
clangdmust be checked out in your.gclientfile
("checkout_clangd": True).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingthird_party/libwebrtc/agents/skills/include-cleaner/SKILL.md
Popularity
- Repository stars
- 379
- Repository forks
- 31
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/browserworks/waterfox-android/include-cleaner)