Skip to content

full-stack-skills/tauri-skills / skills/tauri-app-clipboard

tauri-app-clipboard

Verified

Guidance for Tauri v2 clipboard plugin with safe copy, paste, and monitoring flows.

FileKindSize
LICENSE.txtmarkdown11.1 KB
SKILL.mdskill md2.0 KB
agents/openai.yamlconfig287 B
examples/usage.mdmarkdown945 B
templates/capabilities.jsonconfig308 B

examples/usage.md

View on GitHub
# Usage: tauri-app-clipboard

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

## Example 1: Write Text to Clipboard

```typescript
import { writeText } from '@tauri-apps/plugin-clipboard-manager';

await writeText('Hello Tauri!');
```

## Example 2: Read Text from Clipboard

```typescript
import { readText } from '@tauri-apps/plugin-clipboard-manager';

const text = await readText();
console.log(text);
```

## Example 3: Clear Clipboard

```typescript
import { writeText } from '@tauri-apps/plugin-clipboard-manager';

await writeText(''); // Write empty string to clear
```

## Example 4: Handle Write Errors

```typescript
try {
  await writeText('Sensitive Data');
} catch (e) {
  console.error('Failed to write to clipboard:', e);
}
```

## Example 5: Check Clipboard Permission

```typescript
// In src-tauri/capabilities/default.json ensure 'clipboard-manager:allow-write-text' is present
```

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