webf-api-compatibility

Report WebF support status for JavaScript APIs, DOM methods, and CSS features.

2.5k|163|Updated Jul 19, 2022
One-click install
npx skills add https://github.com/openwebf/webf --skill webf-api-compatibility-openwebf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webf-api-compatibility
Source: https://github.com/openwebf/webf/tree/main/skills/webf-api-compatibility
Command: npx skills add https://github.com/openwebf/webf --skill webf-api-compatibility-openwebf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly determine which Web API, DOM methods, and CSS features are supported in WebF, enabling informed planning and debugging without relying on browser-specific expectations.

Core Features & Use Cases

  • Compatibility mapping for JavaScript APIs, DOM methods, and CSS properties in the WebF runtime.
  • Guidance on alternatives and fallbacks for unsupported features like IndexedDB, WebGL, or CSS Grid.
  • Use Case: audit a WebF project to decide if a feature can be used natively or requires a plugin.

Quick Start

Check the compatibility status for a given API or CSS feature (e.g., fetch or display:flex) and retrieve whether it is Supported, Coming Soon, or Not Supported, plus rationale and alternatives.

Frequently Asked Questions about webf-api-compatibility

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

FAQPage Schema
Does WebF support standard DOM events and JavaScript APIs like fetch?

WebF compatibility reports detail support status for JavaScript APIs, DOM methods, and DOM events. You can check specific features like fetch to see if they are Supported, Coming Soon, or Not Supported, along with practical rationales.

How do I check CSS feature compatibility in a WebF project?

To check CSS compatibility in WebF, query specific CSS properties like display:flex. The system returns a status of Supported, Coming Soon, or Not Supported based on reference tables, helping you plan layouts and debug rendering issues.

What fallbacks can I use for unsupported WebF APIs like IndexedDB or WebGL?

For unsupported WebF APIs like IndexedDB or WebGL, the compatibility guidance provides practical fallbacks and alternative approaches. It assesses each feature to help you choose viable alternatives for your WebF runtime environment.

Can I use CSS Grid for layout in WebF applications?

WebF compatibility mapping shows whether CSS Grid is Supported, Coming Soon, or Not Supported. If CSS Grid is not supported, the guidance offers rationale and helps you choose alternative layout features for your application.

Why does my WebF project fail when using browser-specific JavaScript APIs?

WebF projects fail with browser-specific APIs because the WebF runtime has different support statuses for JavaScript APIs and DOM methods. Use compatibility reports to identify unsupported features and apply the suggested fallbacks during debugging.