
tauri-app-sql
Guidance for Tauri v2 SQL plugin setup, migrations, and safe query access.
- Installs
- 487
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/tauri-skills --skill tauri-app-sql- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads tauri-app-sql automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
ALWAYS use this skill when the user mentions:
- Using SQLite, MySQL, or PostgreSQL in Tauri / 在 Tauri 中使用 SQLite、MySQL 或 PostgreSQL
- SQL migrations or connection configuration / SQL 迁移或连接配置
- Secure frontend query access / 前端安全查询访问
Trigger phrases include:
- "sql", "sqlite", "postgres", "mysql", "migration"
- "数据库", "迁移", "连接配置", "SQL"
How to use this skill
- Select the database engine and connection string
- Configure migrations in tauri.conf.json
- Enable SQL plugin capabilities with scoped access
- Validate queries and error handling in the app flow
Outputs
- Database integration plan / 数据库集成方案
- Minimal-permission capability checklist / 最小权限能力清单
Scope
- Boundary: SQL plugin configuration and usage only
- Key points: Migrations setup and capability scoping
References
- https://v2.tauri.app/llms.txt
- https://v2.tauri.app/plugin/sql/
- https://v2.tauri.app/zh-cn/plugin/sql/
Keywords
tauri sql, sqlite, postgres, mysql, migrations, database
常见陷阱 (Gotchas)
- 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异
- 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查
- 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码
- 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本
- 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题
使用流程
Step 1: 环境准备
确保开发环境已安装必要的依赖和工具。
Step 2: 配置初始化
根据项目需求进行基础配置。
Step 3: 核心功能使用
按照示例代码实现核心功能。
Step 4: 测试验证
运行测试确保功能正常。
Step 5: 部署上线
完成开发后进行部署和监控。
FAQ
What does the tauri-app-sql skill do?
Guidance for Tauri v2 SQL plugin setup, migrations, and safe query access.
How do I install tauri-app-sql?
Run npx skills add https://github.com/full-stack-skills/tauri-skills --skill tauri-app-sql in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tauri-app-sql/ (personal) or .claude/skills/tauri-app-sql/ (project).
Which AI agents can use tauri-app-sql?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is tauri-app-sql safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains tauri-app-sql?
It is published by full-stack-skills in full-stack-skills/tauri-skills. It has 487 recorded installs.
More from full-stack-skills/tauri-skills
tauri-ipc
full-stack-skills/tauri-skills
Guidance for Tauri v2 IPC with frontend invoke calls, Rust commands, and type-safe bindings.
tauri
full-stack-skills/tauri-skills
Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.
tauri-security
full-stack-skills/tauri-skills
Guidance for Tauri v2 capabilities, scope configuration, and ACL-based permission control.
tauri-app-develop
full-stack-skills/tauri-skills
Guidance for Tauri v2 daily development workflow, debugging, resources, sidecar usage, and testing strategies.
tauri-build
full-stack-skills/tauri-skills
Guidance for Tauri v2 production builds, signing, and distribution artifacts.
tauri-config
full-stack-skills/tauri-skills
Guidance for Tauri v2 tauri.conf.json structure, lifecycle management, and CSP configuration.
Popular data & databases skills
supabase-postgres-best-practices
supabase/agent-skills
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
prisma-client-api
prisma/skills
Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".
prisma-database-setup
prisma/skills
Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.
prisma-cli
prisma/skills
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.
prisma-postgres
prisma/skills
Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.
prisma-driver-adapter-implementation
prisma/skills
Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.