spec-lookup

Fetch official WHATWG/ECMA-262 spec sections and implement algorithm steps verbatim.

222|79|Updated Jul 4, 2025
One-click install
npx skills add https://github.com/HeyPuter/browser.js --skill spec-lookup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-lookup
Source: https://github.com/HeyPuter/browser.js/tree/main/.agents/skills/spec-lookup
Command: npx skills add https://github.com/HeyPuter/browser.js --skill spec-lookup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual implementation and interpretation of web platform features often rely on memory or non-authoritative sources; spec-lookup ensures alignment with official WHATWG/ECMA specs before coding.

Core Features & Use Cases

  • Grounding development in official specifications before implementing DOM, HTML, Fetch, URL, Streams, Encoding, XHR, WebSockets, Service Workers, Web APIs, or JS semantics.
  • Workflow: identify the spec, fetch the section, implement steps verbatim, document citations for audit.

Quick Start

Fetch the official spec text for the feature you are implementing and apply its algorithm steps exactly as written.

Frequently Asked Questions about spec-lookup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement web platform features according to official WHATWG and ECMA-262 specifications?

To implement web platform features according to official specifications, identify the correct WHATWG or ECMA-262 spec, fetch the relevant section, and apply its algorithm steps exactly as written. Document citations for audit to ensure precise adherence.

Why should I consult official web standards before coding DOM or Fetch API logic?

Consulting official web standards before coding DOM or Fetch API logic prevents implementation errors caused by relying on memory or non-authoritative sources. Grounding development in official WHATWG and ECMA specs guarantees precise algorithm adherence and correct JavaScript semantics.

What is the best way to anchor JavaScript semantics implementation to ECMA-262 spec algorithms?

The best way to anchor JavaScript semantics implementation to ECMA-262 spec algorithms is fetching the official specification text for the specific feature. Implement the algorithm steps verbatim and maintain citations to verify your implementation matches the official standard.

Can I use spec-lookup to align XHR, WebSockets, and Service Workers with official web APIs?

Yes, you can use it to align XHR, WebSockets, and Service Workers with official web APIs. It guides developers to ground implementations across DOM, HTML, Streams, Encoding, and Web APIs in official WHATWG specifications before coding, ensuring exact step adherence.

Does manual implementation of URL and Streams algorithms risk deviating from web standards?

Manual implementation of URL and Streams algorithms risks deviating from web standards when relying on memory instead of authoritative sources. Fetching the official WHATWG specification ensures your implementation follows the precise algorithm steps defined for these web platform features.

What are the limitations of implementing web platform features without consulting official specifications?

Implementing web platform features without consulting official specifications introduces risks of non-compliant behavior and subtle bugs. Bypassing WHATWG or ECMA-262 standards means missing exact algorithm steps and precise semantics required for correct DOM, Fetch, or JavaScript operations.