Community寫作與編輯github.com

zc277584121/screenshot-compression

使用 pngquant 和 jpegoptim 原地壓縮 PNG 與 JPEG 螢幕截圖,保留原始格式以確保最大相容性。

screenshot-compression 是什麼?

這個技能(zc277584121/screenshot-compression)提供了一個簡單而有效的方法來壓縮 PNG 和 JPEG 螢幕截圖。它透過使用 `pngquant` 和 `jpegoptim` 這兩款成熟的影像最佳化工具,直接在原地(in-place)壓縮圖檔,無需產生額外的副本,從而保留原始檔案格式以確保與各種應用程式和平台的廣泛相容性。此技能特別適用於開發人員、設計師或任何需要減少螢幕截圖檔案大小以節省儲存空間或加快上傳速度的使用者。由於其能夠無縫整合到如 Claude Code、Cursor 或 Codex 等 AI 代理程式的工作流程中,開發者可以輕鬆地將其作為自動化流程的一部分來最佳化圖檔。此技能依賴於系統上預先安裝的 `pngquant` 和 `jpegoptim`,並透過標準的 CLI 命令來操作,確保了其可攜性與易用性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zc277584121/marketing-skills/tree/main/skills/screenshot-compression

Installed? Explore more 寫作與編輯 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

screenshot-compression 是做什麼的?

使用 pngquant 和 jpegoptim 原地壓縮 PNG 與 JPEG 螢幕截圖,保留原始格式以確保最大相容性。

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

zc277584121/browser-screenshot

Take focused, region-specific screenshots from web pages. Navigates to the right page based on user context (URL, search query, social media post), locates the target region via DOM selectors, and crops to a clean, focused screenshot.

zc277584121/chrome-automation

Automate Chrome browser tasks using agent-browser CLI. Navigate pages, fill forms, click buttons, take screenshots, extract data, and replay recorded workflows — all inside the user's real Chrome session.

zc277584121/content-rewrite

Adapt and rewrite content for different platforms (LinkedIn, X, Reddit, English blog, WeChat). Each platform has its own tone, format, and length requirements.

zc277584121/github-traffic

Fetch, store, and visualize GitHub repository traffic data (views, clones, referrers, stars) with trend charts. Requires repo push access.

zc277584121/image-generation

Generate illustration images for articles and documentation with a Codex-first workflow, OpenAI API fallback, and Gemini fallback.

zc277584121/jupyter-notebook-writing

Write Milvus application-level Jupyter notebook examples using a Markdown-first workflow with jupyter-switch for format conversion.

zc277584121/md-to-feishu

Convert local Markdown files to Feishu (Lark) documents with automatic image uploading. Uses the feishu-docx CLI tool.

zc277584121/mermaid-to-gif

Convert Mermaid code blocks in .mmd or .md files to animated GIFs with customizable animation styles (progressive, highlight walk, pulse flow, wave).

zc277584121/mermaid-to-image

Convert Mermaid code blocks in Markdown files to PNG images using the mermaid.ink API.

zc277584121/raw-video-processing

Post-process raw screen recordings by removing silent segments and applying speed adjustments. Uses FFmpeg-based Python scripts to optimize video pacing automatically.

zc277584121/remove-ai-style

Review and adjust writing style to reduce AI-generated patterns, making text read more naturally and human-like. Supports Chinese and English.

zc277584121/video-to-gif

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

相關技能