When to use this skill
ALWAYS use this skill when the user mentions:
- Biometric authentication / 生物识别认证
- Face ID or fingerprint integration / Face ID 或指纹集成
- Fallback when biometric is unavailable / 生物识别不可用时的回退
Trigger phrases include:
- "biometric", "Face ID", "fingerprint", "auth"
- "生物识别", "Face ID", "指纹", "认证"
How to use this skill
- Define authentication flows and fallback requirements
- Configure biometric plugin capabilities and permissions
- Implement auth prompts and error handling
- Pair biometric auth with secure storage for secrets
Outputs
- Biometric auth flow plan / 生物识别认证流程方案
- Fallback and recovery checklist / 回退与恢复清单
Scope
- Boundary: Biometric authentication only
- Key points: Auth flow and fallback strategy
References
- https://v2.tauri.app/llms.txt
- https://v2.tauri.app/plugin/biometric/
- https://v2.tauri.app/zh-cn/plugin/biometric/
Keywords
tauri biometric, face id, fingerprint, authentication
Common Gotchas (Gotchas)
- Version compatibility: Pay attention to the compatibility between framework versions 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 hard-code 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 volume scenarios, and avoid common issues such as N+1 queries
Usage flow
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 features 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.