tauri-app-window-state

star 0

Guidance for Tauri v2 window-state plugin to persist window size and position.

ojisanchamchi By ojisanchamchi schedule Updated 2/6/2026

name: tauri-app-window-state description: Guidance for Tauri v2 window-state plugin to persist window size and position. license: Complete terms in LICENSE.txt

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

  1. Choose StateFlags to persist size, position, and maximized state
  2. Enable window-state plugin in the app setup
  3. Restore window state at startup with correct timing
  4. Validate multi-display behavior and scaling differences

Outputs

  • Window restore plan / 窗口恢复方案
  • StateFlags and timing checklist / StateFlags 与时机清单

Scope

  • Boundary: Window-state plugin usage only
  • Key points: StateFlags and restore timing

References

Keywords

tauri window state, StateFlags, restore, window size

Install via CLI
npx skills add https://github.com/ojisanchamchi/tauri-skills --skill tauri-app-window-state
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
ojisanchamchi
ojisanchamchi Explore all skills →