Use when the main artifact is an image file or visual asset, especially when format choice, resizing, cropping, compression, metadata, transparency, color profile, responsive delivery, social specs, marketplace requirements, or print readiness matter.
If the task is destination-specific, load the matching file before deciding:
web.md for responsive delivery, LCP/CLS, srcset, lazy loading, SVG, and modern web formats.social.md for platform dimensions, safe zones, and feed/story/banner exports.ecommerce.md for marketplace product-image rules, white backgrounds, zoom, and catalog consistency.photography.md for RAW, ICC profiles, print export, EXIF, and non-destructive editing.branding.md for logos, icons, favicons, app icons, SVG consistency, and small-size legibility.screenshots.md for UI captures, documentation images, annotations, redaction, and marketing/device frames.accessibility.md for alt text, decorative vs informative images, text in images, charts, and contrast-aware image delivery.commands.md when the user needs concrete ImageMagick or Pillow examples.Keep the main workflow in this file, then pull in the specialized file for the exact delivery context instead of guessing from generic image advice.
7w4.net小葱技能。
| Situation | Load | Why |
|---|---|---|
| Web optimization, responsive images, lazy loading, SVG | web.md |
Avoid CLS/LCP mistakes, oversized assets, and wrong web formats |
| Color profiles, metadata, RAW, print, non-destructive workflows | photography.md |
Protect color intent, print readiness, and master-file quality |
| Social platform dimensions, safe zones, banners, previews | social.md |
Prevent unsafe crops, unreadable text, and uploader recompression surprises |
| Product photos, marketplace standards, catalog consistency | ecommerce.md |
Preserve zoom detail, white-background compliance, and catalog consistency |
| Logos, favicons, SVGs, app icons, icon sets | branding.md |
Protect small-size legibility, SVG consistency, and multi-format icon delivery |
| UI screenshots, docs captures, redaction, annotations | screenshots.md |
Avoid blurry captures, privacy leaks, and misleading before/after comparisons |
| Alt text, text-in-image risk, charts, decorative vs informative images | accessibility.md |
Keep image work usable and compliant, not only visually correct |
| ImageMagick and Pillow commands | commands.md |
Use concrete commands once the export decision is already clear |
| Asset type | Usually best starting point | Watch out for |
|---|---|---|
| Photo | WebP or AVIF for web, JPEG fallback, layered/RAW master for editing | Color profile shifts, overcompression, platform recompression |
| Product photo | JPEG or WebP for delivery, high-res clean master | White background, edge cleanup, zoom detail, consistency |
| Screenshot or UI capture | PNG or lossless WebP | JPEG blur, privacy leaks, unreadable text |
| Logo or simple icon | SVG master, PNG fallbacks only when needed | Tiny details, unsupported SVG pipelines, dark/light contrast |
| Social/OG card | PNG or high-quality JPEG sized for preview | Unsafe crop, tiny text, double compression |
| Diagram or chart | SVG when possible, PNG when fixed raster needed | Thin lines, low contrast, missing explanatory text |
| Print image | TIFF or high-quality JPEG with correct profile | Wrong profile, wrong physical size, no bleed |
.svg) when the target supports it.branding.md when the asset is a logo, app icon, favicon, social avatar, badge, or reusable icon set.screenshots.md when the asset is a UI capture, bug report image, tutorial screenshot, release-note image, or device-framed marketing visual.accessibility.md when the image needs alt text, contains embedded text, carries chart/diagram meaning, or may be decorative instead of informative.Install with clawhub install <slug> if user confirms:
image-edit — Masking, cleanup, inpainting, and targeted visual edits.image-generation — AI image generation and editing across current model providers.photography — Capture, color, and print-oriented photo workflows.svg — Vector graphics workflows when raster files are the wrong output.ecommerce — Marketplace and product-listing requirements that often constrain image delivery.clawhub star imageclawhub sync这个技能看起来功能描述很全面,但实际质量一般。主要问题是只有说明文档,没有实际可用的代码或具体功能演示,很多地方写得很模糊、看不出具体怎么用。文档结构还算完整,有基本的参数说明和安全提示,但内容太空洞、缺乏真实案例。总的来说更像是一个概念设计,而不是一个真正可以使用的工具。