AI-first plugin development

Pusat Pengembang Plugin AI

Jelaskan ide Anda kepada asisten AI. SwiftBiuX Skill memandunya memilih jenis plugin, mendeklarasikan izin minimal, menghasilkan manifest.json / script.js / Web UI, dan mengemas plugin .swiftbiux yang dapat diinstal. Gunakan dokumentasi modular saat Anda perlu penyesuaian manual yang presisi.

Use the left nav to open any module in one click.

Build with AI: open the starter prompt
Starter prompt for AI
Repository:
https://github.com/SwiftBiu/SwiftBiuX-Template

Read the SwiftBiuX Skill:
https://raw.githubusercontent.com/SwiftBiu/SwiftBiuX-Template/main/AI_SKILL.md

Build script:
https://github.com/SwiftBiu/SwiftBiuX-Template/blob/main/scripts/build_plugin.sh

Create a SwiftBiu plugin:
Plugin name:
Input type: selected text / selected files / manual input / Web UI
Goal:
Output: paste in place / copy to clipboard / show notification / save file / open window

Requirements:
- Choose textAction or fileAction automatically
- Declare only required permissions
- Generate manifest.json and script.js
- Generate ui/index.html only when needed
- From the SwiftBiuX-Template repository root, run ./scripts/build_plugin.sh <PluginDirectory>

Watch, then try

See the whole path before the API.

Find the client’s source-installation and configuration controls, then build your extension with the API reference.

Captured-interface walkthrough0:08

From a manifest to an action

Follow HelloText from its textAction declaration to a result pasted into the selected text.

Captured client interfaces with sample data; blue outlines are guide annotations.

Continue with the reference
Captured-interface walkthrough0:30

Authorize a folder and compress an image

Authorize the working folder, select an image and save a compressed copy.

The picker and Finder photos are real and shown in Simplified Chinese. This example authorizes an isolated sample folder and uses actual compression. Output format and location depend on your settings.

Continue with the reference

Choose a path

What do you want to do?

Recommended flow

Build with AI in three steps

  1. 01

    Describe the idea

    Tell AI the input, the job, and where the result should go.

  2. 02

    Load the Skill

    AI uses SwiftBiuX Skill to choose architecture, permissions, and minimal docs.

  3. 03

    Generate the plugin

    Create manifest.json, script.js, optional Web UI, and package .swiftbiux.

SwiftBiu 1.3.9 · Native runtime surfaces

Build once. Appear where the user is working.

The same extension can respond to selected text, Clipboard content, OCR results, and files. The host routes by content type; the plugin declares its actions, icon, and minimum permissions.

Documentation map

Ringkasan

This map mirrors the left navigation. The left side changes pages; the right side only navigates within the current page.

Build a plugin

Start with AI, choose a scenario, then learn from working examples.

Define behavior

Define the manifest, user settings, minimal permissions, and localization.

APIs & interfaces

Choose the correct background, native workflow, Web UI, translation script, and platform APIs.

Test & release

Inspect logs, fix failures, and choose the correct release channel.

Reference

Review best practices and answers to common development questions.