wails

Scaffold Wails v2 projects and bind Go methods to JavaScript frontends.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/kettleofketchup/KettleOfSkills --skill wails-kettleofketchup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wails
Source: https://github.com/kettleofketchup/KettleOfSkills/tree/main/plugins/wails/skills/wails
Command: npx skills add https://github.com/kettleofketchup/KettleOfSkills --skill wails-kettleofketchup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the complexity of building native cross-platform desktop applications by combining Go's performance for backend logic with standard web technologies for the user interface, removing the need to learn platform-specific native UI frameworks for desktop development.

Core Features & Use Cases

  • Project Scaffolding: Quickly generate new Wails v2 projects with pre-configured templates for popular frontend frameworks including Svelte, React, Vue, Preact, Lit, and vanilla TypeScript.
  • Go-to-JS Method Binding: Automatically expose Go backend methods to the frontend as async JavaScript functions, with auto-generated TypeScript type definitions for structs and bound methods to ensure type safety.
  • Platform-Specific Configuration & Packaging: Handle OS-specific window behavior, transparency, native menus, and production packaging for Windows, macOS, and Linux, including WebView2 runtime management for Windows and webkit2gtk configuration for Linux.
  • Use Case: A developer can use this Skill to build a cross-platform desktop dashboard that uses Go for data processing and Svelte for the UI, debug rendering differences between Wails and standard browsers, and package the app for distribution on all three major operating systems.

Quick Start

Use the wails skill to scaffold a new Svelte TypeScript desktop app, add a bound Go method that returns a custom greeting, and build an optimized production binary for your current operating system.

Frequently Asked Questions about wails

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

FAQPage Schema
How do I build cross-platform desktop apps with Go and web frontends?

You can build cross-platform desktop apps by using Go for backend logic and web technologies for the UI. This approach handles project scaffolding, Go-to-JS method binding, and production binary packaging for Windows, macOS, and Linux.

Can I use React or Svelte for the frontend when developing Go desktop applications?

Yes, you can use React, Svelte, Vue, Preact, Lit, or vanilla TypeScript for the frontend. Project scaffolding generates pre-configured templates for these frameworks, combining them with a Go backend.

How does Go backend method binding work with JavaScript in desktop apps?

Go backend methods are automatically exposed to the frontend as async JavaScript functions. This binding process also auto-generates TypeScript type definitions for structs and methods to ensure type safety.

How do I package a Go web frontend application for Windows, macOS, and Linux distribution?

You can package your application into optimized production binaries for desktop deployment. This includes handling OS-specific window behavior, native menus, WebView2 runtime management for Windows, and webkit2gtk configuration for Linux.

Do I need to learn native UI frameworks to create cross-platform Go desktop apps?

No, you do not need to learn platform-specific native UI frameworks. You can use standard web technologies for the user interface while leveraging Go's performance for backend logic across all major operating systems.

What is the best way to scaffold a new Wails v2 project with a TypeScript frontend?

The best way is to use project scaffolding to quickly generate a new Wails v2 project. This creates a pre-configured template with your chosen frontend framework, such as Svelte or vanilla TypeScript, ready for development.