browserworks/waterfox-android/include-cleaner

Claude Code and agent skill by browserworks/waterfox-android

Trust tier 3
  • community
Source check pending

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-cleaner

SKILL.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:

bash
tools_webrtc/iwyu/apply-include-cleaner path/to/file.cc path/to/file.h

To run it on all modified files relative to the upstream branch (ideal for CL preparation):

bash
tools_webrtc/iwyu/apply-include-cleaner

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:

  1. Check for build errors: The tool might occasionally make mistakes. Run a

build to verify.

  1. Fix GN dependencies: Use tools_webrtc/gn_check_autofix.py to fix any

deps issues caused by include changes. ``bash tools_webrtc/gn_check_autofix.py -C out/Default ``

  1. Format code: Run git cl format to fix any formatting issues in the

#include blocks. ``bash git cl format ``

Prerequisites

  • The tool automatically generates compile_commands.json in the output

directory if out/Default exists.

  • clangd must be checked out in your .gclient file

("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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/browserworks/waterfox-android/include-cleaner/badge)](https://verified-skill.com/skills/browserworks/waterfox-android/include-cleaner)

Something wrong with this skill or its page? Tell us.