Skip to content
Productivity
Skill

/wx-emoji-maker

处理 PNG 图片目录,将其转换为适合微信使用的表情包

BOOST
From plugin
public-agent-skills
25525 skills3 agents
Install
$ npx -y skills add cafe3310/public-agent-skills --skill wx-emoji-maker --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/wx-emoji-maker

Context preview

The summary Claude sees to decide when to auto-load this skill.

处理 PNG 图片目录,将其转换为适合微信使用的表情包

SKILL.md

wx-emoji-maker.SKILL.md
name: wx-emoji-maker
description: 处理 PNG 图片目录,将其转换为适合微信使用的表情包
license: Apache-2.0
author: github/cafe3310
depends_on_skill: []
depends_on_binary:
  - imagemagick
  - bash

技能:wx-emoji-maker

概述

此技能可将一个目录中的 PNG 图片批量处理,使其适合用作微信表情包。它通过一个包含背景处理、裁剪、标准化和调整大小的自动化工作流,确保最终生成的表情包拥有一致的外观和尺寸。

**关键词**: 微信表情, 表情包, 图片处理, PNG, ImageMagick

何时使用此技能

  • 当您有一系列 PNG 图片,并希望将它们快速转换为符合微信表情包标准的图片时。
  • 当源图片背景颜色不一,需要统一处理时。
  • 当您需要自动裁剪图片空白,并添加标准内边距时。

工作流程

要执行此任务,请遵循以下步骤:

1. **准备**: 确认你的系统已安装 `ImageMagick`。 2. **执行**: 调用 `run.sh` 脚本,并将包含 PNG 图片的目录路径作为参数。

    /bin/bash <path_to_skill>/scripts/run.sh <图片目录路径>

3. **交互式检查**: 脚本在完成前会暂停,提示您检查 `mid3-border` 目录中的中间成果。这是一个手动微调的好机会。检查完毕后按回车键继续。 4. **完成**: 脚本执行完毕后,最终成果将保存在目标目录下的 `res` 子目录中。

最佳实践

  • **输入**: 确保输入目录中只包含您想处理的 PNG 图片。
  • **检查**: 在脚本暂停时,务必检查 `mid3-border` 目录中的图片,确保裁剪和边框效果符合预期。

常见陷阱

  • **依赖缺失**: 未安装 `ImageMagick` 会导致脚本执行失败。
  • **路径错误**: 提供的目录路径不正确或不包含 PNG 文件将导致错误。

> 一个典型的例子,可以参考 https://cafe3310.github.io/chocho-miemie-album/posts/chocho-stickers.html 。

Ships withpublic-agent-skills

个人常用的 Agent Skill(公开部分)。通过合适的上下文工程,可以将 Agent Skill 用在几乎任何地方。

Get the whole plugin

Other skills on public-agent-skills.

deep-research
Skill

deep-research

一个全面、自主的深度研究框架。当用户请求对复杂主题、市场调研、技术格局进行深入的多维度调查,或需要大量网页浏览、数据合成和结构化报告的任何任务时,使用此技能。它协调子代理(subagents)并使用基于文件系统的状态管理来防止上下文膨胀。