A specialized protocol for standards engineers and AI agents to trace spec prose back to its historical "Why". It bridges the gap between modern specification fragments and the 20-year history of GitHub issues, Bugzilla reports, and W3C mailing list discussions.
Specification source files (like WHATWG's html/source) are massive (130,000+ lines). Standard git blame often only shows the last editorial cleanup or infrastructure update, hiding the actual normative rationale that might date back to 2006.
This skill defines an archeological protocol for:
- URL/Fragment -> Source Line: Using heuristics to find where a
#fragmentis actually defined in the source (even if generated by Bikeshed/Wattsi). - Deep Blame: Using
git log -Lto trace the history of a specific line through refactors and moves. - Spec Call Graph: Identifying callers and callees of a specific algorithm across standards (via WebDex) and within a spec.
- Link Extraction: Identifying and categorizing references to:
- GitHub: PRs and Issues.
- W3C Bugzilla: Historical bug reports.
- SVN Revisions: Direct search links for
lists.w3.orgarchives. - Browser Bugs: Chromium, WebKit, and Gecko trackers.
This repository is optimized for use with the Gemini CLI.
Add this repository as a specialized skill that Gemini can activate on-demand when it needs to perform spec archeology.
# From within the web-archeologist directory
gemini skills link .Gemini will now automatically discover the Web Standards Archeologist skill based on the description in SKILL.md and use the activate_skill tool when relevant to your requests.
You can inject the protocol into any specific prompt using the @ command:
gemini "Analyze this fragment: https://html.spec.whatwg.org/#main-fetch @SKILL.md"To make this protocol available across your entire workspace, import it into your GEMINI.md file:
# My Project Context
...
@/path/to/web-archeologist/SKILL.md- Web Standards: HTML, CSS, DOM, Fetch, URL, etc.
- Chromium: Blink rendering engine (
third_party/blink). - WebKit: WebCore and JavaScriptCore.
- Mozilla: Gecko rendering engine.