技能 slack-gif-creator
🎬

slack-gif-creator

安全

为Slack创建动态GIF

也可从以下获取: anthropics,ArtemisAI,DYAI2025,davila7,Azeem-2,Cam10001110101,ZhanlinCui,ComposioHQ

Slack对动态GIF有严格的要求,包括尺寸限制和尺寸限制,手动导航非常困难。此技能提供了一个完整的工具包,包含GIFBuilder、验证工具和缓动函数,可创建在Slack频道中完美运行的优化GIF。

支持: Claude Codex Code(CC)
⚠️ 68
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“slack-gif-creator”。 Create a 128x128 emoji GIF with a bouncing ball

预期结果:

A bouncing ball animation file saved to bounce.gif with 12 frames at 10 FPS, optimized to 48 colors for small file size

正在使用“slack-gif-creator”。 Create a pulsing star with gradient background

预期结果:

Animated star with vertical gradient background (blue to purple), smooth pulse effect using sine wave scaling

正在使用“slack-gif-creator”。 Validate my GIF for Slack emoji

预期结果:

Validation report showing dimensions, file size, frame count, and whether it passes Slack requirements

安全审计

安全
v1 • 2/25/2026

All 64 static findings are false positives. The skill is a legitimate GIF creation utility using standard Python libraries (PIL, numpy, imageio). No network calls, no external command execution, no credential access, and no data exfiltration. Static scanner was triggered by keywords in license text and code documentation.

7
已扫描文件
1,285
分析行数
6
发现项
1
审计总数

高风险问题 (3)

False Positive: C2 Keywords in Animation Constants
Variable names c1, c2, c3 in easing.py are animation easing constants (1.70158), not C2 (command-and-control) indicators. Standard animation math formulas.
False Positive: Weak Cryptographic Algorithm
Scanner detected imports at line 5 but these are standard image processing libraries (PIL, numpy), not cryptographic algorithms. No cryptography used.
False Positive: System Reconnaissance
Scanner detected 'import math' as system reconnaissance. This is standard Python math library for calculating polygon points in frame_composer.py.
中风险问题 (3)
False Positive: Hardcoded URLs
URLs in LICENSE.txt are standard Apache License URLs (apache.org), not suspicious network indicators.
False Positive: Dynamic Import Expression
SKILL.md shows Python import statements for the skill's own modules (core.frame_composer), not dynamic code loading.
False Positive: Ruby/Shell Backtick Execution
Scanner detected backticks in SKILL.md but these are Markdown code fences (```python), not shell execution. The backtick detection is a scanner false positive.
审计者: claude

质量评分

38
架构
100
可维护性
87
内容
50
社区
60
安全
100
规范符合性

你能构建什么

创建自定义Slack表情符号

以精确的128x128生成优化的颜色和流畅动画的表情符号GIF,用于团队沟通。

构建视觉公告

创建用于产品发布、公告或庆祝活动的动态消息GIF,符合Slack尺寸限制。

开发动画原型

在发送到设计工具进行最终生产之前,以编程方式原型化动画图形概念。

试试这些提示

简单弹跳球
Create a simple animated GIF of a bouncing ball using PIL. The ball should start at the top and bounce to the bottom with easing. Save it as bounce.gif at 128x128 with 10 FPS.
脉冲星形动画
Create an animated GIF of a yellow star that pulses (scales up and down) using the ease_in_out_easing function. Make it 128x128, 12 frames, at 10 FPS. Use gradient background.
粒子爆炸
Create an animated GIF showing particles exploding outward from center, then fading. Use numpy for particle positions, apply gravity effect, and optimize to under 128KB for Slack emoji.
复杂多元素场景
Create an animated scene with multiple moving elements: a bouncing ball, a rotating star, and a pulsing background gradient. Combine using frame_composer utilities. Validate the output meets Slack emoji requirements.

最佳实践

  • 使用128x128用于表情符号和480x480用于消息GIF的尺寸以符合Slack要求
  • 将颜色限制在48种或更少,帧数限制为12以获得符合尺寸限制的表情符号优化GIF
  • 应用缓动函数(ease_out、bounce)以获得自然外观的运动,而不是线性移动

避免

  • 为表情符号GIF使用大于128x128的尺寸将超出Slack文件大小限制
  • 创建没有缓动函数的动画会导致卡顿、不自然的运动
  • 忘记在上传前验证会导致GIF在Slack中被拒绝或裁剪

常见问题

Slack表情符号应该使用什么尺寸?
表情符号GIF使用128x128像素。消息GIF最大可为480x480像素。
如何减小GIF文件大小?
减少颜色数量(48种或更少)、降低FPS(用10代替30)、减小尺寸到128x128,并使用remove_duplicates选项。
如何验证我的GIF是否符合Slack要求?
使用core.validators中的validate_gif()或is_slack_ready()函数检查尺寸、大小和帧数。
此技能会自动将GIF上传到Slack吗?
不,此技能生成GIF文件。您需要手动将其上传到Slack或使用单独的Slack集成。

开发者详情