webidl

Answer Web IDL syntax and grammar questions using a local cheat sheet.

Updated Jan 15, 2022
One-click install
npx skills add https://github.com/AntonioCandinho/dotfiles --skill webidl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webidl
Source: https://github.com/AntonioCandinho/dotfiles/tree/main/skills/webidl
Command: npx skills add https://github.com/AntonioCandinho/dotfiles --skill webidl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you quickly understand and use Web IDL, the interface definition language for web browsers, by providing fast access to its specifications and grammar.

Core Features & Use Cases

  • Web IDL Reference: Quickly answer questions about Web IDL syntax, definitions, and grammar.
  • Spec Navigation: Efficiently locate specific rules and details within the Web IDL specification.
  • Use Case: You need to define a new interface for a web API. Use this Skill to quickly look up the correct syntax for attributes, operations, and extended attributes.

Quick Start

Explain the syntax for defining an interface with inheritance in Web IDL.

Frequently Asked Questions about webidl

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

FAQPage Schema
How do I define an interface with inheritance in Web IDL?

Web IDL interface inheritance uses the colon syntax, specifying the parent interface after the child name. This Skill provides instant reference for correctly structuring these web API definitions and grammar.

What is the correct syntax for extended attributes in a Web API specification?

Extended attributes in Web IDL are enclosed in square brackets and placed before the target interface, attribute, or operation. Use this Skill to quickly look up valid extended attribute grammar and specification anchors.

How do I locate specific grammar rules within the Web IDL specification?

Locate specific Web IDL grammar rules by querying this Skill, which cites exact specification anchors when summarizing definitions. It fetches the full specification only when its local cheat sheet lacks the required details.

When do I need to use Web IDL for web browser interface definitions?

You need Web IDL when defining or interpreting web browser APIs and their interface definitions. This Skill helps you understand the required syntax for attributes, operations, and extended attributes to ensure specification compliance.

What is the best way to look up valid Web IDL definitions and operations?

The best way to look up Web IDL definitions is using a local cheat sheet that provides instant syntax references. This Skill answers questions directly from its local reference and fetches the specification only for missing details.