desktop-app
Skill70 starsChanged 9 months agoApache-2.0View on GitHub
Desktop application development guide for Electron, Tauri, and native apps. Covers cross-platform desktop development for macOS, Windows, and Linux. Triggers: desktop app, Electron, Tauri, mac app, windows app, native app, 데스크톱 앱, 일렉트론, 타우리, デスクトップアプリ, Electron, 桌面应用, 桌面程序, aplicacion de escritorio, application bureau, Desktop-App Do NOT use for: mobile apps (use $mobile-app), web apps (use $dynamic or $starter).
4 other projects use a version of this.
Adopted by
Most recently taken up by
- angelgabrieljacintohuayllasco/clipboard-skillstheir own version, first seen Sep 20, 2026
- ww-w-ai/bkit-claude-codetheir own version, first seen Aug 14, 2026
- ww-w-ai/bkit-geminitheir own version, first seen Apr 9, 2026
- ThuPhuong1010/claude-factorytheir own version, first seen Mar 29, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- ww-w-ai/bkit-claude-code★ 600same name
- ww-w-ai/bkit-gemini★ 66same name
- angelgabrieljacintohuayllasco/clipboard-skills★ 0same name
- ThuPhuong1010/claude-factory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bkend-authSkill
- bkend-cookbookSkill
- bkend-dataSkill
- bkend-quickstartSkill
- bkend-storageSkill
- bkit-rulesSkill
- bkit-templatesSkill
- code-reviewSkill
- codex-learningSkill
- development-pipelineSkill
- dynamicSkill
- enterpriseSkill
- mobile-appSkill
- pdcaSkill
- phase-1-schemaSkill
- phase-2-conventionSkill
- phase-3-mockupSkill
- phase-4-apiSkill
- phase-5-design-systemSkill
- phase-6-ui-integrationSkill
- phase-7-seo-securitySkill
- phase-8-reviewSkill
- phase-9-deploymentSkill
- plan-plusSkill
- starterSkill
- zero-script-qaSkill
The file
Files
Desktop App Skill
Cross-platform desktop development with Electron or Tauri.
Actions
| Action | Description | Example |
init | Initialize desktop project | $desktop-app init my-app |
guide | Desktop dev guide | $desktop-app guide |
build | Build configuration help | $desktop-app build |
Framework Comparison
| Feature | Electron | Tauri |
| Language | JS/TS (Node.js) | Rust + JS/TS |
| Bundle Size | ~100MB+ | ~5-10MB |
| Memory Usage | High | Low |
| Native APIs | Via Node.js | Via Rust |
| Web Tech | Chromium | System WebView |
| Maturity | Very mature | Growing rapidly |
| Best For | Feature-rich apps | Lightweight apps |
Recommended: Tauri
For bkit-codex users, Tauri is recommended because:
- Smaller bundle size
- Lower memory footprint
- Better security model
- Uses system WebView (no Chromium bundled)
- Rust backend for performance-critical tasks
Project Structure (Tauri)
desktop-app/
├── src/ # Frontend (React/Next.js)
│ ├── app/
│ ├── components/
│ ├── hooks/
│ └── lib/
├── src-tauri/ # Tauri backend (Rust)
│ ├── src/
│ │ ├── main.rs # Entry point
│ │ ├── commands.rs # IPC commands
│ │ └── lib.rs
│ ├── Cargo.toml # Rust dependencies
│ ├── tauri.conf.json # Tauri configuration
│ └── icons/ # App icons
├── public/
├── package.json
└── tsconfig.jsonCore Patterns
Tauri Commands (IPC)
// src-tauri/src/commands.rs
#[tauri::command]
fn read_file(path: String) -> Result<String, String> {
std::fs::read_to_string(&path).map_err(|e| e.to_string())
}
#[tauri::command]
fn save_file(path: String, content: String) -> Result<(), String> {
std::fs::write(&path, content).map_err(|e| e.to_string())
}// Frontend: invoke Tauri commands
import { invoke } from '@tauri-apps/api/core';
async function readFile(path: string): Promise<string> {
return invoke('read_file', { path });
}
async function saveFile(path: string, content: string): Promise<void> {
return invoke('save_file', { path, content });
}Window Management
import { getCurrentWindow } from '@tauri-apps/api/window';
const appWindow = getCurrentWindow();
await appWindow.minimize();
await appWindow.maximize();
await appWindow.setTitle('My App - Document.txt');System Tray
// src-tauri/src/main.rs
use tauri::{SystemTray, SystemTrayMenu, CustomMenuItem};
fn main() {
let tray_menu = SystemTrayMenu::new()
.add_item(CustomMenuItem::new("show", "Show"))
.add_item(CustomMenuItem::new("quit", "Quit"));
tauri::Builder::default()
.system_tray(SystemTray::new().with_menu(tray_menu))
.run(tauri::generate_context!())
.expect("error running app");
}File Dialog
import { open, save } from '@tauri-apps/plugin-dialog';
// Open file
const filePath = await open({
filters: [{ name: 'Documents', extensions: ['txt', 'md', 'json'] }],
});
// Save file
const savePath = await save({
filters: [{ name: 'Documents', extensions: ['txt'] }],
});Electron Alternative
// main.ts (Electron)
import { app, BrowserWindow } from 'electron';
function createWindow() {
const win = new BrowserWindow({
width: 1200,
height: 800,
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
contextIsolation: true,
},
});
win.loadURL('http://localhost:3000');
}
app.whenReady().then(createWindow);Build & Distribution
Tauri
# Development
npm run tauri dev
# Build
npm run tauri build
# Output: src-tauri/target/release/bundle/
# - macOS: .dmg, .app
# - Windows: .msi, .exe
# - Linux: .deb, .AppImageCode Signing
- macOS: Apple Developer ID certificate
- Windows: Code signing certificate (EV recommended)
- Linux: GPG signing
Pipeline Integration
Desktop apps follow the 9-phase pipeline with desktop-specific considerations:
- Phase 3: Design for native OS look and feel
- Phase 5: Include OS-specific components (menu bar, tray, dialogs)
- Phase 6: Implement IPC between frontend and backend
- Phase 9: Code signing, auto-update, store submission
Common Mistakes
| Mistake | Solution |
| Ignoring OS differences | Test on all target platforms |
| Large Electron bundles | Consider Tauri for smaller apps |
| No auto-updater | Implement from the start |
| Missing code signing | Users get security warnings without it |
| No offline support | Desktop apps should work offline |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

