MCPInstall

tauri-app-single-instance

Guidance for Tauri v2 single-instance behavior and second-launch argument handling.

Installs
486
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/full-stack-skills/tauri-skills --skill tauri-app-single-instance
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads tauri-app-single-instance automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

常见陷阱 (Gotchas)

  1. 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异
  2. 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查
  3. 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码
  4. 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本
  5. 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题

使用流程

Step 1: 环境准备

确保开发环境已安装必要的依赖和工具。

Step 2: 配置初始化

根据项目需求进行基础配置。

Step 3: 核心功能使用

按照示例代码实现核心功能。

Step 4: 测试验证

运行测试确保功能正常。

Step 5: 部署上线

完成开发后进行部署和监控。

FAQ

What does the tauri-app-single-instance skill do?

Guidance for Tauri v2 single-instance behavior and second-launch argument handling.

How do I install tauri-app-single-instance?

Run npx skills add https://github.com/full-stack-skills/tauri-skills --skill tauri-app-single-instance in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tauri-app-single-instance/ (personal) or .claude/skills/tauri-app-single-instance/ (project).

Which AI agents can use tauri-app-single-instance?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is tauri-app-single-instance safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains tauri-app-single-instance?

It is published by full-stack-skills in full-stack-skills/tauri-skills. It has 486 recorded installs.

More from full-stack-skills/tauri-skills

View all →

tauri-ipc

full-stack-skills/tauri-skills

Guidance for Tauri v2 IPC with frontend invoke calls, Rust commands, and type-safe bindings.

Frontend & Design549 installs

tauri

full-stack-skills/tauri-skills

Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.

Backend & APIs542 installs

tauri-security

full-stack-skills/tauri-skills

Guidance for Tauri v2 capabilities, scope configuration, and ACL-based permission control.

Security535 installs

tauri-build

full-stack-skills/tauri-skills

Guidance for Tauri v2 production builds, signing, and distribution artifacts.

523 installs

tauri-app-develop

full-stack-skills/tauri-skills

Guidance for Tauri v2 daily development workflow, debugging, resources, sidecar usage, and testing strategies.

Testing & QA523 installs

tauri-config

full-stack-skills/tauri-skills

Guidance for Tauri v2 tauri.conf.json structure, lifecycle management, and CSP configuration.

519 installs

Popular marketing & seo skills

View category →

reddit-automation

flowkit-labs/skills

Find Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation honestly and naming your product only when it truly answers the question. Two moves: discovery — scan the right subreddits for real needs (recommendation asks, expressed pain, competitor mentions) and rank the few threads where you can actually help; drafting — write from real experience, respect each community's self-promo rules, and keep a human in the loop to review and post. This markets on Reddit the honest way: contribute value, disclose who you are, never astroturf. Distilled from the playbook behind doany.ai's Reddit agent. Triggers on "find reddit opportunities", "reddit marketing", "reddit automation", "reply on reddit for my product", "reddit community engagement", "reddit lead gen", or any ask to turn Reddit threads into genuine, disclosed marketing replies.

Marketing & SEO1.1M installs

twitter-automation

101-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO880K installs

twitter-automation

magentosh/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO771.7K installs

twitter-automation

qu-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO564.3K installs

product-launch-video

heygen-com/hyperframes

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

Marketing & SEO538.7K installs

twitter-automation

skills-shell/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet

Marketing & SEO453.7K installs