Agent skill
love-window
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/love-window
SKILL.md
When to use this skill
{{SKILL_DESCRIPTION}} Use this skill when working with window operations, display settings, fullscreen modes, or any window-related operations in LÖVE games.
Common use cases
- Creating and managing game windows
- Handling window resizing and display modes
- Working with multiple monitors and display settings
- Managing window properties (title, icon, etc.)
- Handling fullscreen and windowed modes
{{MODULES_LIST}} {{FUNCTIONS_LIST}} {{CALLBACKS_LIST}} {{TYPES_LIST}} {{ENUMS_LIST}}
Examples
Creating a window
-- Set window properties in love.conf
function love.conf(t)
t.window.title = "My Awesome Game"
t.window.width = 800
t.window.height = 600
t.window.fullscreen = false
end
Handling window resize
function love.resize(w, h)
-- Update game view to match new window size
gameWidth, gameHeight = w, h
-- Recalculate any UI elements or camera settings
end
Best practices
- Set window properties in love.conf() for best results
- Handle window resize events gracefully
- Test different display modes on target platforms
- Consider aspect ratio when designing for multiple resolutions
- Be mindful of fullscreen performance implications
Platform compatibility
- Desktop (Windows, macOS, Linux): Full window management support
- Mobile (iOS, Android): Limited window control, mostly fullscreen
- Web: Browser window management with some limitations
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?