Agent skill

openwebf-bridge-module-codegen

Build a WebF bridge module/native plugin using the module-codegen workflow (*.module.d.ts → codegen → Dart implementation → registration → JS usage). Use when the user mentions module-codegen, bridge module, native plugin, *.module.d.ts, or registering a module.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/openwebf-bridge-module-codegen-archview-ai-webf-plugin

SKILL.md

OpenWebF Bridge: Module Codegen Workflow

Instructions

  1. Confirm the desired API surface and keep it minimal, typed, and versioned.
  2. Follow the official flow:
    • TypeScript *.module.d.ts
    • webf module-codegen
    • Dart module implementation
    • Registration in the host
    • JS usage example
  3. Add guardrails: availability checks, permission handling, explicit errors.
  4. Use MCP docs for authoritative steps and templates for scaffolding.

More:

Didn't find tool you were looking for?

Be as detailed as possible for better results