Chromium code link formatting

From chromium/chromium · View interactive version

Chromium code link formatting is an AI agent skill from the GitHub repository chromium/chromium. Use this skill when you need to link to files or specific lines in the Chromium codebase within a document intended for external sharing (e.g., Google Docs, Buganizer). This skill ensures links use the stable `source.chromium.org` format with line numbers and commit hashes for accessibility, even if

How to use this skill

Skill file

Chromium Source Link Formatter

Instructions

When formatting links to the Chromium codebase for documents that will be shared

externally:

  1. Use the following URL format:

https://source.chromium.org/chromium/chromium/src/+/main:{path_to_file};l={line_no};drc={commit_hash}

  1. Resolve Placeholders:

common ancestor and use that hash.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.