用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oimiragieo/agent-studio --skill tauri-native-api-integration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | tauri-native-api-integration |
| description | Rules for integrating Tauri's native APIs in the frontend application. |
| version | 1.0.0 |
| model | sonnet |
| invoked_by | both |
| user_invocable | true |
| tools | ["Read","Write","Edit"] |
| globs | src/lib/tauri/**/*.{ts,tsx} |
| best_practices | ["Follow the guidelines consistently","Apply rules during code review","Use as reference when writing new code"] |
| error_handling | graceful |
| streaming | supported |
| verified | true |
| lastVerifiedAt | "2026-02-22T00:00:00.000Z" |
| source | builtin |
| trust_score | 100 |
| provenance_sha | fdc27395e08ac069 |
tauri-specta to generate TypeScript types from Rust structs for type safety| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| No command allowlist | All Rust functions exposed to frontend; attack surface maximized | Allowlist only specific commands needed by the frontend |
| Trusting frontend input | Malicious payloads can exploit Rust code | Validate and sanitize all IPC inputs on the Rust side |
| Synchronous I/O in commands | Blocks the Tauri event loop; UI freezes | Use async Rust for all I/O operations in command handlers |
| Missing TypeScript types | Runtime type mismatches between Rust and frontend | Use tauri-specta to generate TypeScript types from Rust structs |
| Large synchronous data transfers | IPC bottleneck causes UI stuttering | Stream or chunk large data; avoid transferring full datasets over IPC |
Before starting:
.claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.