skills/tauri-skills/tauri-app-file-system/SKILL.md
Read and write local files using the Tauri v2 file-system plugin with scoped directory access. Use when implementing file read/write operations, configuring safe directory scopes, or building import/export file workflows.
npx skillsauth add partme-ai/full-stack-skills tauri-app-file-systemInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
cargo add tauri-plugin-fs
tauri::Builder::default()
.plugin(tauri_plugin_fs::init())
src-tauri/capabilities/default.json:
{
"permissions": [
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "$APPDATA/**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "$APPDATA/**" }] }
]
}
import { readTextFile, writeTextFile, BaseDirectory } from '@tauri-apps/plugin-fs';
const content = await readTextFile('config.json', { baseDir: BaseDirectory.AppData });
await writeTextFile('config.json', JSON.stringify(data), { baseDir: BaseDirectory.AppData });
tauri file system, read file, write file, scope, fs plugin, file access
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.