When to use this skill
ALWAYS use this skill when the user mentions:
- Process info or lifecycle management / 进程信息或生命周期管理
- Process capabilities and risks / 进程能力与风险
- Controlled exposure of process data / 受控暴露进程数据
Trigger phrases include:
- "process", "lifecycle", "capabilities", "security"
- "进程", "生命周期", "能力", "安全"
How to use this skill
- Define required process data and constraints
- Configure process plugin capabilities and scope
- Expose a limited API for process interactions
- Validate security boundaries and platform support
Outputs
- Process access plan / 进程访问方案
- Capability gating checklist / 能力门控清单
Scope
- Boundary: Process plugin usage only
- Key points: Controlled exposure and capability gating
References
- https://v2.tauri.app/llms.txt
- https://v2.tauri.app/plugin/process/
- https://v2.tauri.app/zh-cn/plugin/process/
Keywords
tauri process, system process, capabilities, security
Common Gotchas (Gotchas)
- Version compatibility: Pay attention to the compatibility between the framework version and dependency libraries; APIs may differ across versions
- Configuration file format: Configuration file format errors are the most common issue; it is recommended to use the editor's syntax checking
- Environment variables: Ensure all necessary environment variables are set correctly, and do not hardcode sensitive information
- Dependency conflicts: When multiple versions coexist, pay attention to dependency conflicts and use a lock file to pin versions
- Performance pitfalls: Pay attention to performance optimization in large-data scenarios and avoid common issues such as N+1 queries
Usage workflow
Step 1: Environment preparation
Ensure the development environment has the necessary dependencies and tools installed.
Step 2: Configuration initialization
Perform basic configuration according to project requirements.
Step 3: Core feature usage
Implement the core functionality according to the sample code.
Step 4: Test verification
Run tests to ensure the functionality works properly.
Step 5: Deployment and launch
After development is complete, proceed with deployment and monitoring.