tauri-app-single-instance

Installation
SKILL.md

When to use this skill

ALWAYS use this skill when the user mentions:

  • Preventing multiple app instances / 防止多开实例
  • Handling second-launch arguments / 处理二次启动参数
  • Deep-linking or CLI with single-instance / 深链或 CLI 与单实例联动

Trigger phrases include:

  • "single instance", "second launch", "arguments", "deep linking"
  • "单实例", "二次启动", "参数", "深链"

How to use this skill

  1. Enable single-instance and define init behavior
  2. Capture and route second-launch arguments to the app
  3. Focus or restore the main window on re-entry
  4. Validate behavior with deep-linking or CLI scenarios

Outputs

  • Single-instance behavior plan / 单实例行为方案
  • Second-launch routing checklist / 二次启动路由清单

Scope

  • Boundary: Single-instance configuration and runtime behavior
  • Key points: Safe argument passing and window focus behavior

References

Keywords

tauri single instance, second launch, args, focus window

Related skills
Installs
1
GitHub Stars
1
First Seen
Mar 20, 2026