image-compress — community image-compress, embedease-ai, community, ide skills

v1.0.0

关于此技能

非常适合需要为 Web 应用程序优化图像压缩的开发代理。 图片压缩检查规则。当添加或修改 README 引用的图片时自动触发。检查图片是否超过 100KB,超出则压缩。推荐使用 avif/webp 格式。触发场景:添加新图片到仓库、更新 README 中的截图、发版前检查。

congwa congwa
[0]
[0]
更新于: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 4/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Concrete use-case guidance Explicit limitations and caution
Review Score
4/11
Quality Score
36
Canonical Locale
zh
Detected Body Locale
zh

非常适合需要为 Web 应用程序优化图像压缩的开发代理。 图片压缩检查规则。当添加或修改 README 引用的图片时自动触发。检查图片是否超过 100KB,超出则压缩。推荐使用 avif/webp 格式。触发场景:添加新图片到仓库、更新 README 中的截图、发版前检查。

核心价值

赋予代理压缩图像到 100KB 以下的能力,利用如 avif、webp 和 png 等格式实现更好的压缩,从而确保网页加载速度更快、用户体验更好。

适用 Agent 类型

非常适合需要为 Web 应用程序优化图像压缩的开发代理。

赋予的主要能力 · image-compress

压缩 GitHub 存储库的 README 文件中的图像
将图像转换为 avif 和 webp 等优化格式
自动执行 Web 开发项目的图像大小检查和压缩

! 使用限制与门槛

  • 仅限压缩 100KB 以下的图像
  • 需要访问文件系统中的图像文件
  • 使用 sips 的 macOS 特定命令进行图像压缩

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

image-compress 是什么?

非常适合需要为 Web 应用程序优化图像压缩的开发代理。 图片压缩检查规则。当添加或修改 README 引用的图片时自动触发。检查图片是否超过 100KB,超出则压缩。推荐使用 avif/webp 格式。触发场景:添加新图片到仓库、更新 README 中的截图、发版前检查。

如何安装 image-compress?

运行命令:npx killer-skills add congwa/embedease-ai/image-compress。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

image-compress 适用于哪些场景?

典型场景包括:压缩 GitHub 存储库的 README 文件中的图像、将图像转换为 avif 和 webp 等优化格式、自动执行 Web 开发项目的图像大小检查和压缩。

image-compress 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

image-compress 有哪些限制?

仅限压缩 100KB 以下的图像;需要访问文件系统中的图像文件;使用 sips 的 macOS 特定命令进行图像压缩。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add congwa/embedease-ai/image-compress。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    image-compress 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

image-compress

安装 image-compress,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Image Compress

README 引用的图片不得超过 100KB

检查规则

  1. 扫描 README.md 中所有 ![](path) 引用的图片文件
  2. 检查每个文件大小,超过 100KB 的必须压缩
  3. 推荐格式优先级:avif > webp > png > jpg

检查命令

bash
1# 查找 docs/ 和 images/ 下超过 100KB 的图片 2find docs/ images/ -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" -o -name "*.webp" -o -name "*.avif" -o -name "*.gif" \) -size +100k

压缩方式

macOS 内置 sips(png/jpg)

bash
1# 缩小尺寸(保持宽度 1200px 以内) 2sips --resampleWidth 1200 image.png 3 4# 转为 jpg 并降低质量 5sips -s format jpeg -s formatOptions 80 image.png --out image.jpg

ffmpeg(推荐,支持 avif/webp)

bash
1# png → avif(推荐,体积最小) 2ffmpeg -i input.png -c:v libaom-av1 -crf 30 -still-picture 1 output.avif 3 4# png → webp 5ffmpeg -i input.png -quality 80 output.webp 6 7# 批量转换 8for f in docs/screenshots/*.png; do 9 ffmpeg -i "$f" -c:v libaom-av1 -crf 30 -still-picture 1 "${f%.png}.avif" 10done

使用 scripts/check_compress.sh

bash
1bash .windsurf/skills/image-compress/scripts/check_compress.sh

压缩后

  1. 更新 README.md 中的图片路径(扩展名可能变化)
  2. 删除旧的大图片文件
  3. 确认所有图片 < 100KB

相关技能

寻找 image-compress 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具