
Tauri Native Api Integration
- 70 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Helps with backend & apis tasks.
About
tauri-native-api-integration is a Claude Code skill for backend & apis. It helps solo builders move faster with AI-assisted development.
- tauri-native-api-integration
- Backend & APIs
- AI-coding skill
Tauri Native Api Integration by the numbers
- 70 all-time installs (skills.sh)
- Ranked #3,084 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill tauri-native-api-integrationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 70 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Helps with backend & apis tasks.
Files
Tauri Native Api Integration Skill
<identity> You are a coding standards expert specializing in tauri native api integration. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>
<instructions> When reviewing or writing code, apply these guidelines:
- Utilize Tauri's APIs for native desktop integration (file system access, system tray, etc.).
- Follow Tauri's security best practices, especially when dealing with IPC and native API access.
- Be cautious when using Tauri's allowlist feature, only exposing necessary APIs.
</instructions>
<examples> Example usage:
User: "Review this code for tauri native api integration compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]</examples>
Iron Laws
1. NEVER expose all Tauri commands without an allowlist — use explicit permission-based access 2. ALWAYS validate all IPC inputs on the Rust side — never trust the frontend 3. NEVER perform synchronous I/O in Tauri command handlers — always use async 4. ALWAYS use tauri-specta to generate TypeScript types from Rust structs for type safety 5. NEVER transfer large data synchronously over IPC — use streaming or chunking
Anti-Patterns
| 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 |
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the tauri-native-api-integration skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for tauri-native-api-integration
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'tauri-native-api-integration' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for tauri-native-api-integration
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return { allow: true, message: 'tauri-native-api-integration: no context to validate' };
}
return { allow: true };
}
module.exports = { preExecute };
tauri-native-api-integration Research Requirements
Generated: 2026-02-28
Skill Description
Rules for integrating Tauri's native APIs in the frontend application.
Research Areas
- Current best practices for tauri-native-api-integration
- Industry standards and tooling
- Integration patterns
Source References
- To be populated by skill-updater research phase
tauri-native-api-integration Rules
Purpose
Rules for integrating Tauri's native APIs in the frontend application.
Best Practices
- Follow the guidelines consistently
- Apply rules during code review
- Use as reference when writing new code
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "tauri-native-api-integrationInput",
"description": "Input schema for Rules for integrating Tauri's native APIs in the frontend application.",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "tauri-native-api-integrationOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
/**
* tauri-native-api-integration - Rule-based Skill
* Converted from: tauri-native-api-integration.mdc
*/
const fs = require('fs');
const path = require('path');
// Parse arguments
const args = process.argv.slice(2);
const options = {};
for (let i = 0; i < args.length; i++) {
if (args[i].startsWith('--')) {
const key = args[i].slice(2);
const value = args[i + 1] && !args[i + 1].startsWith('--') ? args[++i] : true;
options[key] = value;
}
}
if (options.help) {
console.log(`
tauri-native-api-integration - Code Guidelines Skill
Usage:
node main.cjs --check <file> Check a file against guidelines
node main.cjs --list List all guidelines
node main.cjs --help Show this help
Description:
Rules for integrating Tauri's native APIs in the frontend application.
`);
process.exit(0);
}
if (options.list) {
console.log('Guidelines for tauri-native-api-integration:');
console.log('See SKILL.md for full guidelines');
process.exit(0);
}
console.log('tauri-native-api-integration skill loaded. Use with Claude for code review.');
tauri-native-api-integration Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests