Skip to content

full-stack-skills/tauri-skills / skills/tauri-app-notification

tauri-app-notification

Verified

Guidance for Tauri v2 notification plugin with permission flow and click handling.

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

examples/usage.md

View on GitHub
# Usage: tauri-app-notification

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

## Example 1: Send Basic Notification

```typescript
import { sendNotification } from '@tauri-apps/plugin-notification';

sendNotification('Hello from Tauri!');
```

## Example 2: Send Notification with Title

```typescript
import { sendNotification } from '@tauri-apps/plugin-notification';

sendNotification({ title: 'New Message', body: 'You have a new message from Alice' });
```

## Example 3: Check Permission

```typescript
import { isPermissionGranted, requestPermission } from '@tauri-apps/plugin-notification';

let permissionGranted = await isPermissionGranted();
if (!permissionGranted) {
  const permission = await requestPermission();
  permissionGranted = permission === 'granted';
}
```

## Example 4: Send Notification with Icon

```typescript
// Icon is usually set in tauri.conf.json, but some platforms support custom icons in payload if supported
```

## Example 5: Handle Notification Click

```typescript
// Currently handled via Rust backend or platform specific implementation
```

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: 198kUpdated 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