tauri-app-window-state
Installation
SKILL.md
When to use this skill
ALWAYS use this skill when the user mentions:
- Remembering window size and position / 记住窗口大小与位置
- StateFlags or restore behavior / StateFlags 或恢复行为
- Consistent window state across sessions / 跨会话一致窗口状态
Trigger phrases include:
- "window state", "StateFlags", "restore", "window size"
- "窗口状态", "StateFlags", "恢复", "窗口大小"
How to use this skill
- Choose StateFlags to persist size, position, and maximized state
- Enable window-state plugin in the app setup
- Restore window state at startup with correct timing
- Validate multi-display behavior and scaling differences
Related skills
More from partme-ai/tauri-skills
tauri
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.
1tauri-app-positioner
Guidance for Tauri v2 positioner plugin with multi-display alignment strategies.
1tauri-app-nfc
Guidance for Tauri v2 NFC plugin with session handling and data validation.
1tauri-build
Guidance for Tauri v2 production builds, signing, and distribution artifacts.
1tauri-app-shell
Guidance for Tauri v2 shell plugin with secure command execution and open behavior.
1tauri-app-store
Guidance for Tauri v2 store plugin with key-value persistence and lazy loading.
1