agents/skills/chromium-docs/SKILL.md
Activate this skill when the user:
Do NOT activate when:
Build the index (required before first search; rebuild after major syncs):
python ../../../agents/skills/chromium-docs/scripts/chromium_docs.py \
--build-index
Search documentation:
python ../../../agents/skills/chromium-docs/scripts/chromium_docs.py \
"your query"
The index should be rebuilt when:
git pull or rebase — new docs may have been addedThe index covers ~2000+ markdown files and builds in about 30 seconds.
If the search returns "index needs to be built first":
--build-index command shown aboveDocuments are classified into the following categories. Use these names to understand result groupings:
| Category | Covers |
|---|---|
| android | Android-specific code and build docs |
| ios | iOS-specific docs |
| chromeos | ChromeOS / Ash docs |
| gpu | Graphics, WebGL, Vulkan, OpenGL |
| media | Audio, video, codecs |
| security | Sandbox, site-isolation, crypto, CORS |
| network | Net stack, QUIC, TCP, DNS, SSL/TLS |
| testing | Unit tests, browser tests, test frameworks |
| ui | Views, Aura, UI toolkit |
| accessibility | a11y, screen readers |
| build | GN, Ninja, compilation |
| performance | Benchmarks, memory, speed |
| api | Mojo/mojom interfaces |
| architecture | Design documents, multi-process model |
| development | DevTools, debugging, tools |
| general | Everything else |
Search results are returned as markdown with:
[Title](path/to/doc.md)When presenting results to the user:
User asks: "How does Chromium's multi-process architecture work?"
Search
"multi-process architecture"and return the top design docs with file paths and summaries.
User asks: "Find all testing-related docs"
Search
"testing guide"to surface testing guides and frameworks.
User asks: "Where are the Mojo IPC docs?"
Search
"mojo ipc"and return linked paths to the Mojo binding and interface documentation.
User asks: "GPU rendering best practices"
Search
"gpu rendering"and present GPU-category results with excerpts.
../../../agents/skills/chromium-docs/data/configs/search_config.json../../../agents/skills/chromium-docs/README.md.md files matching docs/**/*.md,
*/README.md, and */docs/*.md across the entire Chromium source tree