Skip to content
Development
Command

/window

Get detailed window information including dimensions, position, and state

From plugin
claude-command-suite
1.3k199 skills89 agents199 commands
Install
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/window

Context preview

What this command does when you run it.

Get detailed window information including dimensions, position, and state

Command definition

window.md
name: rust:tauri:window
description: Get detailed window information including dimensions, position, and state
allowed-tools: mcp__tauri-mcp__get_window_info
author: Quintin Henry (https://github.com/qdhenry/)

<objective> Retrieve detailed information about a Tauri application's window state, dimensions, and position. </objective>

<instructions> Get window information for the Tauri application: **$ARGUMENTS**

Arguments: `[process_id]`

Process

1. **Query Window Information** Use `mcp__tauri-mcp__get_window_info` with the process ID.

2. **Format Results** Display all available window properties in a clear format.

Usage Examples

# Get window info
/tauri:window 12345

</instructions>

<output_format>

=== Window Information ===
Process ID: [PID]

--- Dimensions ---
Width: [X] px
Height: [Y] px
Aspect Ratio: [ratio]

--- Position ---
X: [X] (from left edge of screen)
Y: [Y] (from top edge of screen)

--- State ---
Visible: [yes/no]
Focused: [yes/no]
Minimized: [yes/no]
Maximized: [yes/no]
Fullscreen: [yes/no]

--- Additional ---
[Any other available properties]

</output_format>

<use_cases> **Before Screenshots:** Verify window is visible and properly sized before capturing.

**Coordinate Calculation:** Use dimensions to calculate click targets relative to window.

**Window State Debugging:** Check if window is hidden, minimized, or off-screen.

**Responsive Testing:** Verify window size for different viewport testing. </use_cases>

Read more
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

Get the whole plugin