Skip to content

full-stack-skills/tauri-skills / skills/tauri-app-single-instance

tauri-app-single-instance

Verified

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

FileKindSize
LICENSE.txtmarkdown11.1 KB
SKILL.mdskill md2.1 KB
agents/openai.yamlconfig307 B
examples/usage.mdmarkdown1.0 KB
templates/capabilities.jsonconfig229 B

examples/usage.md

View on GitHub
# Usage: tauri-app-single-instance

This document provides at least 5 usage examples for the **tauri-app-single-instance** skill.

## Example 1: Initialize App Single Instance

```typescript
// Example initialization for App Single Instance
import { init } from 'tauri-plugin-single-instance';

await init();
```

## Example 2: Basic Usage of App Single Instance

```typescript
// Basic operation
const result = await invoke('plugin:single-instance|do_something');
console.log(result);
```

## Example 3: Configure App Single Instance Settings

```typescript
// Update tauri.conf.json
{
  "plugins": {
    "single-instance": {
      "enabled": true
    }
  }
}
```

## Example 4: Handle App Single Instance Errors

```typescript
try {
  await performAction();
} catch (error) {
  console.error('App Single Instance Error:', error);
}
```

## Example 5: Advanced App Single Instance Integration

```typescript
// Combine with other Tauri APIs
import { emit } from '@tauri-apps/api/event';

emit('tauri-app-single-instance-event', { status: 'active' });
```

slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall