When to use this skill
ALWAYS use this skill when the user mentions:
- NFC read or write features / NFC Read/Write Features
- NFC session lifecycle / NFC Session Lifecycle
- Devices with NFC capabilities / Devices with NFC Capabilities
Trigger phrases include:
- "nfc", "read", "write", "session"
- "NFC", "read", "write", "session"
How to use this skill
- Identify NFC use cases and supported platforms
- Configure NFC plugin capabilities and permissions
- Implement session handling and data validation
- Provide user feedback for read/write outcomes
Outputs
- NFC workflow plan / NFC Workflow Plan
- Session handling checklist / Session Handling Checklist
Scope
- Boundary: NFC plugin usage only
- Key points: Session lifecycle and data validation
References
- https://v2.tauri.app/llms.txt
- https://v2.tauri.app/plugin/nfc/
- https://v2.tauri.app/zh-cn/plugin/nfc/
Keywords
tauri nfc, read write, session, permissions
Common Gotchas (Gotchas)
- Version Compatibility: Pay attention to 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 your editor's syntax checking
- Environment Variables: Ensure all necessary environment variables are set correctly, and do not hardcode sensitive information
- Dependency Conflicts: Watch out for dependency conflicts when multiple versions coexist; 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 Workflow
Step 1: Environment Preparation
Ensure the necessary dependencies and tools are installed in the development environment.
Step 2: Configuration Initialization
Perform basic configuration according to project requirements.
Step 3: Core Functionality Usage
Implement the core functionality according to the example code.
Step 4: Testing and Verification
Run tests to ensure the functionality works properly.
Step 5: Deployment and Launch
After completing development, proceed with deployment and monitoring.