Skills
Skillsimage-manipulation

image-manipulation

SeedPublic
ProjectContent Docs

A skill that enables the agent to resize, convert, and optimize images using ImageMagick and my preferred workflow conventions.

At a glance

  • Source: community
  • Category: content-docs
  • Scope: project
  • User-invocable: no

Location

.claude/skills/image-manipulation/


Auto-generated by scripts/sync-skills-content.ts. Add your own notes below — re-runs preserve the body and your soft frontmatter fields.

SKILL.md

.claude/skills/image-manipulation/SKILL.md

35 lines
Raw
---
name: image-manipulation
description: A skill that enables the agent to resize, convert, and optimize images using ImageMagick and my preferred workflow conventions.
---

# Workflow

## Stage 1: Context Gathering
- Ask the user what operation they want to perform (resize, convert, optimize).
- Ask for the target dimensions, format, or optimization level if not provided.
- Identify the input files from the workspace or ask the user to specify them.
- Load helper scripts from `./scripts/` as needed.

## Stage 2: Execution
- Use the appropriate script from `./scripts/`:
  - `resize.sh` for resizing
  - `convert-format.sh` for format conversion
  - `optimize.sh` for compression/optimization
- Run the command on each input file.
- Save outputs using my naming conventions:
  - `<name>-resized.<ext>`
  - `<name>-converted.<ext>`
  - `<name>-optimized.<ext>`

## Stage 3: Validation
- Verify that output files were created successfully.
- Report the output file paths to the user.
- Suggest follow‑up actions (e.g., further resizing, format tweaks, batch operations).

# Resources
- `./scripts/resize.sh` — resize images using ImageMagick
- `./scripts/convert-format.sh` — convert between formats (jpg, png, webp, etc.)
- `./scripts/optimize.sh` — compress and optimize images
- `./examples/` — sample input/output images

Install it elsewhere with curl -o .claude/skills/image-manipulation/SKILL.md --create-dirs https://uxlab.designcoder.net/api/skills/image-manipulation/source. Record what you changed in this page's notes.

  • a: Appearance
  • ?: Keyboard shortcuts