Skip to content
Back to skills

Cc Tauri Project Standard

ASecurity

用于 Tauri 应用的 Rust command、WebView IPC 契约、capabilities 与 permissions、托管状态、桌面生命周期和平台构建发布;没有 Tauri 的普通 Rust 库不属于本专项。

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 12, 2026
developmentrustapi

Works with

  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 12, 2026

npx -y skills add bovinphang/frontend-craft --skill cc-tauri-project-standard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cc Tauri Project Standard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cc Tauri Project Standard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bovinphang-cc-tauri-project-standard/badge)](https://www.skillsdirectory.com/skills/bovinphang-cc-tauri-project-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cc-tauri-project-standard
description: 用于 Tauri 应用的 Rust command、WebView IPC 契约、capabilities 与 permissions、托管状态、桌面生命周期和平台构建发布;没有 Tauri 的普通 Rust 库不属于本专项。
---

# Tauri 应用工程

定位拥有任务的 Web 应用及 `src-tauri` crate。UI 与 Rust 核心是应用角色,不受提供本能力的前后端产品名称限制。

1. 读取实际 Tauri/API/plugin 版本、两端锁文件、配置及支持平台。区分 v1/v2 权限模型,保持既有工具链。
2. 将每次 invoke 对应到 Rust command、校验后的输入、公共结果/错误及资源所有者。文件和进程权限留在核心,只开放狭窄操作。
3. 联合检查注册命令、应用命令权限生成、capabilities、窗口/WebView label 及远程来源;权限配置不能代替业务输入校验。
4. 明确托管状态生命周期、阻塞工作的界限、取消及退出;检查跨 await 的锁和事件监听清理。
5. 使用[实践清单](references/practice.md)及[最小应用](examples/minimal/README.md),本包包含独立完成专项所需的本地契约参考。
6. 遵循[验证边界](references/verification.md):先验证拒绝输入时无越界结果,再单独测试真实 WebView/权限激活、目标平台产物和签名。

交付 UI/core 子工程范围、invoke 契约、权限决定、实际命令结果及未验证平台。源码检查或核心单测不能证明桌面发布成功。

## 工程实践

按当前任务读取[本入口工程细则](references/engineering-practices.md),再按链接选择公共原则。规则级别与例外以实际项目契约为准;不因产品前后端标签限制语言或职责。

Files in this skill

  • SKILL.md1.7 KB
  • examples/minimal/README.md859 B
  • examples/minimal/core/Cargo.lock66 B
  • examples/minimal/core/Cargo.toml162 B
  • examples/minimal/core/src/lib.rs2.6 KB
  • examples/minimal/src-tauri/Cargo.toml256 B
  • examples/minimal/src-tauri/build.rs209 B
  • examples/minimal/src-tauri/capabilities/main.json146 B
  • examples/minimal/src-tauri/permissions/documents.toml152 B
  • examples/minimal/src-tauri/src/main.rs782 B
  • examples/minimal/src-tauri/tauri.conf.json473 B
  • examples/minimal/ui/app.js278 B
  • examples/minimal/ui/index.html191 B
  • references/common/engineering-practices.md10.4 KB
  • references/common/engineering-practices.rules.json2.2 KB
  • references/common/engineering-practices.sources.json15.9 KB
  • references/engineering-practices.md2.8 KB
  • references/practice.md1.9 KB
  • references/verification.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.