Agent skill
love-image
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/love-image
SKILL.md
When to use this skill
{{SKILL_DESCRIPTION}} Use this skill when working with image operations, texture management, image data manipulation, or any image-related operations in LÖVE games.
Common use cases
- Loading and processing image files
- Managing image data and textures
- Performing image transformations and manipulations
- Working with compressed image formats
- Handling image metadata and properties
{{MODULES_LIST}} {{FUNCTIONS_LIST}} {{CALLBACKS_LIST}} {{TYPES_LIST}} {{ENUMS_LIST}}
Examples
Loading an image
-- Load an image file
local imageData = love.image.newImageData("texture.png")
local image = love.graphics.newImage(imageData)
Creating image data
-- Create new image data
local width, height = 256, 256
local imageData = love.image.newImageData(width, height)
-- Modify pixel data
for y = 0, height-1 do
for x = 0, width-1 do
local r = x / width
local g = y / height
local b = 0.5
imageData:setPixel(x, y, r, g, b, 1)
end
end
-- Create image from data
local image = love.graphics.newImage(imageData)
Best practices
- Load images during initialization to avoid runtime delays
- Use appropriate image formats for different use cases
- Consider memory usage when working with large images
- Handle image loading errors gracefully
- Test image formats on target platforms
Platform compatibility
- Desktop (Windows, macOS, Linux): Full image support
- Mobile (iOS, Android): Full support with some format limitations
- Web: Good support but some formats may not be available
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?