full-stack-skills/tauri-skills / skills/tauri-app-notification
tauri-app-notification
VerifiedGuidance for Tauri v2 notification plugin with permission flow and click handling.
| File | Kind | Size |
|---|---|---|
| LICENSE.txt | markdown | 11.1 KB |
| SKILL.md | skill md | 2.0 KB |
| agents/openai.yaml | config | 299 B |
| examples/usage.md | markdown | 1.1 KB |
| templates/capabilities.json | config | 302 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
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |