jpskill.com
💬 コミュニケーション Anthropic公式 🟢 非エンジニアでもOK 👤 Slack を社内で使うチーム

😀 Slack絵文字用GIFジェネレーター

slack-gif-creator

Slack の絵文字・リアクション用に最適化された GIF アニメを生成するSkill。

⏱ お礼メール定型化 5分/通 → 30秒/通

📺 まず動画で見る(YouTube)

▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."

🇯🇵 日本人クリエイター向け解説

一言でいうと

Slack の絵文字・リアクション用に最適化された GIF アニメを生成するSkill。

日本人がよく使う場面
・社内 Slack の「いいね!」リアクション GIF ・自社マスコットの動く絵文字 ・新人歓迎・周年記念の社内ノベルティ ・社外向け Slack コミュニティの装飾

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
2

💬 こう話しかけるだけ — サンプルプロンプト

  • 「ありがとう」が拍手するパンダで動くGIFを作って
  • 自社マスコットが「お疲れさまでした」と頭を下げるGIF
  • 「了解!」が大きく光るシンプルGIF
  • 誕生日お祝い用、ケーキにロウソクが灯るGIF

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Slack GIF Creator

Slack向けに最適化されたアニメーションGIFを作成するためのユーティリティと知識を提供するツールキットです。

Slackの要件

寸法:

  • 絵文字GIF: 128x128 (推奨)
  • メッセージGIF: 480x480

パラメーター:

  • FPS: 10-30 (低いほどファイルサイズが小さくなります)
  • 色数: 48-128 (少ないほどファイルサイズが小さくなります)
  • 継続時間: 絵文字GIFは3秒未満にしてください

コアワークフロー

from core.gif_builder import GIFBuilder
from PIL import Image, ImageDraw

# 1. ビルダーを作成
builder = GIFBuilder(width=128, height=128, fps=10)

# 2. フレームを生成
for i in range(12):
    frame = Image.new('RGB', (128, 128), (240, 248, 255))
    draw = ImageDraw.Draw(frame)

    # PILのプリミティブ(円、多角形、線など)を使ってアニメーションを描画します

    builder.add_frame(frame)

# 3. 最適化して保存
builder.save('output.gif', num_colors=48, optimize_for_emoji=True)

グラフィックの描画

ユーザーがアップロードした画像の操作

ユーザーが画像をアップロードした場合、以下のどちらを意図しているかを検討してください。

  • 直接使用する (例: 「これをアニメーション化して」「これをフレームに分割して」)
  • インスピレーションとして使用する (例: 「これに似たものを作って」)

PILを使用して画像を読み込み、操作します。

from PIL import Image

uploaded = Image.open('file.png')
# 直接使用するか、色やスタイルの参照としてのみ使用します

ゼロからの描画

グラフィックをゼロから描画する場合は、PIL ImageDrawのプリミティブを使用します。

from PIL import ImageDraw

draw = ImageDraw.Draw(frame)

# 円/楕円
draw.ellipse([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)

# 星、三角形、任意の多角形
points = [(x1, y1), (x2, y2), (x3, y3), ...]
draw.polygon(points, fill=(r, g, b), outline=(r, g, b), width=3)

# 線
draw.line([(x1, y1), (x2, y2)], fill=(r, g, b), width=5)

# 長方形
draw.rectangle([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)

使用しないでください: 絵文字フォント (プラットフォーム間で信頼性が低い) や、このスキルに事前にパッケージ化されたグラフィックが存在すると仮定すること。

グラフィックを美しく見せる

グラフィックは、基本的なものではなく、洗練されていてクリエイティブに見えるべきです。以下にその方法を示します。

太い線を使用する - アウトラインと線には常にwidth=2以上を設定してください。細い線 (width=1) は、ぎこちなく素人っぽく見えます。

視覚的な奥行きを追加する:

  • 背景にグラデーションを使用する (create_gradient_background)
  • 複数の図形を重ねて複雑さを出す (例: 小さな星が内側にある星)

図形をより面白くする:

  • 単なる円を描くだけでなく、ハイライト、リング、またはパターンを追加する
  • 星には光彩を追加できる (背後に大きく半透明のバージョンを描画する)
  • 複数の図形を組み合わせる (星 + スパークル、円 + リング)

色に注意を払う:

  • 鮮やかで補色的な色を使用する
  • コントラストを追加する (明るい図形には暗いアウトライン、暗い図形には明るいアウトライン)
  • 全体的な構成を考慮する

複雑な図形の場合 (ハート、雪の結晶など):

  • 多角形と楕円の組み合わせを使用する
  • 対称性のために点を慎重に計算する
  • 詳細を追加する (ハートにはハイライトカーブ、雪の結晶には複雑な枝)

クリエイティブで詳細にこだわってください!良いSlack GIFは、プレースホルダーのグラフィックではなく、洗練されているように見えるべきです。

利用可能なユーティリティ

GIFBuilder (core.gif_builder)

フレームを組み立て、Slack用に最適化します。

builder = GIFBuilder(width=128, height=128, fps=10)
builder.add_frame(frame)  # PIL Imageを追加
builder.add_frames(frames)  # フレームのリストを追加
builder.save('out.gif', num_colors=48, optimize_for_emoji=True, remove_duplicates=True)

Validators (core.validators)

GIFがSlackの要件を満たしているかを確認します。

from core.validators import validate_gif, is_slack_ready

# 詳細な検証
passes, info = validate_gif('my.gif', is_emoji=True, verbose=True)

# クイックチェック
if is_slack_ready('my.gif'):
    print("Ready!")

Easing Functions (core.easing)

線形ではなく滑らかな動きを実現します。

from core.easing import interpolate

# 0.0から1.0への進行
t = i / (num_frames - 1)

# イージングを適用
y = interpolate(start=0, end=400, t=t, easing='ease_out')

# 利用可能: linear, ease_in, ease_out, ease_in_out,
#           bounce_out, elastic_out, back_out

Frame Helpers (core.frame_composer)

一般的なニーズに対応する便利な関数です。

from core.frame_composer import (
    create_blank_frame,         # 単色背景
    create_gradient_background,  # 垂直グラデーション
    draw_circle,                # 円のヘルパー
    draw_text,                  # シンプルなテキスト描画
    draw_star                   # 5点星
)

アニメーションの概念

シェイク/バイブレーション

オブジェクトの位置を振動させてオフセットします。

  • フレームインデックスとともにmath.sin()またはmath.cos()を使用します
  • 自然な感覚のために小さなランダムなバリエーションを追加します
  • xおよび/またはy位置に適用します

パルス/ハートビート

オブジェクトのサイズをリズミカルに拡大縮小します。

  • 滑らかなパルスのためにmath.sin(t * frequency * 2 * math.pi)を使用します
  • ハートビートの場合: 2回の素早いパルスの後、一時停止します (サイン波を調整します)
  • 基本サイズの0.8から1.2の間で拡大縮小します

バウンス

オブジェクトが落下して跳ね返ります。

  • 着地にはeasing='bounce_out'interpolate()を使用します
  • 落下 (加速) にはeasing='ease_in'を使用します
  • 各フレームでy速度を増加させて重力を適用します

スピン/回転

オブジェクトを中央を中心に回転させます。

  • PIL: image.rotate(angle, resample=Image.BICUBIC)
  • ぐらつきの場合: 線形ではなく角度にサイン波を使用します

フェードイン/アウト

徐々に表示または非表示にします。

  • RGBA画像を作成し、アルファチャンネルを調整します
  • またはImage.blend(image1, image2, alpha)を使用します
  • フェードイン: アルファを0から1へ
  • フェードアウト: アルファを1から0へ

スライド

オブジェクトを画面外から位置へ移動させます。

  • 開始位置: フレーム境界の外側
  • 終了位置: ターゲット位置
  • 滑らかな停止にはeasing='ease_out'interpolate()を使用します
  • オーバーシュートの場合: easing='back_out'を使用します

ズーム

ズーム効果のために拡大縮小と位置調整を行います。

  • ズームイン: 0.1から2.0に拡大縮小し、中央をトリミングします
  • ズームアウト: 2.0から1.0に拡大縮小します
  • ドラマチックな効果のためにモーションブラーを追加できます (PILフィルター)

爆発/パーティクルバースト

外側に放射するパーティクルを作成します。

  • ランダムな角度と速度でパーティクルを生成します
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Slack GIF Creator

A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.

Slack Requirements

Dimensions:

  • Emoji GIFs: 128x128 (recommended)
  • Message GIFs: 480x480

Parameters:

  • FPS: 10-30 (lower is smaller file size)
  • Colors: 48-128 (fewer = smaller file size)
  • Duration: Keep under 3 seconds for emoji GIFs

Core Workflow

from core.gif_builder import GIFBuilder
from PIL import Image, ImageDraw

# 1. Create builder
builder = GIFBuilder(width=128, height=128, fps=10)

# 2. Generate frames
for i in range(12):
    frame = Image.new('RGB', (128, 128), (240, 248, 255))
    draw = ImageDraw.Draw(frame)

    # Draw your animation using PIL primitives
    # (circles, polygons, lines, etc.)

    builder.add_frame(frame)

# 3. Save with optimization
builder.save('output.gif', num_colors=48, optimize_for_emoji=True)

Drawing Graphics

Working with User-Uploaded Images

If a user uploads an image, consider whether they want to:

  • Use it directly (e.g., "animate this", "split this into frames")
  • Use it as inspiration (e.g., "make something like this")

Load and work with images using PIL:

from PIL import Image

uploaded = Image.open('file.png')
# Use directly, or just as reference for colors/style

Drawing from Scratch

When drawing graphics from scratch, use PIL ImageDraw primitives:

from PIL import ImageDraw

draw = ImageDraw.Draw(frame)

# Circles/ovals
draw.ellipse([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)

# Stars, triangles, any polygon
points = [(x1, y1), (x2, y2), (x3, y3), ...]
draw.polygon(points, fill=(r, g, b), outline=(r, g, b), width=3)

# Lines
draw.line([(x1, y1), (x2, y2)], fill=(r, g, b), width=5)

# Rectangles
draw.rectangle([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)

Don't use: Emoji fonts (unreliable across platforms) or assume pre-packaged graphics exist in this skill.

Making Graphics Look Good

Graphics should look polished and creative, not basic. Here's how:

Use thicker lines - Always set width=2 or higher for outlines and lines. Thin lines (width=1) look choppy and amateurish.

Add visual depth:

  • Use gradients for backgrounds (create_gradient_background)
  • Layer multiple shapes for complexity (e.g., a star with a smaller star inside)

Make shapes more interesting:

  • Don't just draw a plain circle - add highlights, rings, or patterns
  • Stars can have glows (draw larger, semi-transparent versions behind)
  • Combine multiple shapes (stars + sparkles, circles + rings)

Pay attention to colors:

  • Use vibrant, complementary colors
  • Add contrast (dark outlines on light shapes, light outlines on dark shapes)
  • Consider the overall composition

For complex shapes (hearts, snowflakes, etc.):

  • Use combinations of polygons and ellipses
  • Calculate points carefully for symmetry
  • Add details (a heart can have a highlight curve, snowflakes have intricate branches)

Be creative and detailed! A good Slack GIF should look polished, not like placeholder graphics.

Available Utilities

GIFBuilder (core.gif_builder)

Assembles frames and optimizes for Slack:

builder = GIFBuilder(width=128, height=128, fps=10)
builder.add_frame(frame)  # Add PIL Image
builder.add_frames(frames)  # Add list of frames
builder.save('out.gif', num_colors=48, optimize_for_emoji=True, remove_duplicates=True)

Validators (core.validators)

Check if GIF meets Slack requirements:

from core.validators import validate_gif, is_slack_ready

# Detailed validation
passes, info = validate_gif('my.gif', is_emoji=True, verbose=True)

# Quick check
if is_slack_ready('my.gif'):
    print("Ready!")

Easing Functions (core.easing)

Smooth motion instead of linear:

from core.easing import interpolate

# Progress from 0.0 to 1.0
t = i / (num_frames - 1)

# Apply easing
y = interpolate(start=0, end=400, t=t, easing='ease_out')

# Available: linear, ease_in, ease_out, ease_in_out,
#           bounce_out, elastic_out, back_out

Frame Helpers (core.frame_composer)

Convenience functions for common needs:

from core.frame_composer import (
    create_blank_frame,         # Solid color background
    create_gradient_background,  # Vertical gradient
    draw_circle,                # Helper for circles
    draw_text,                  # Simple text rendering
    draw_star                   # 5-pointed star
)

Animation Concepts

Shake/Vibrate

Offset object position with oscillation:

  • Use math.sin() or math.cos() with frame index
  • Add small random variations for natural feel
  • Apply to x and/or y position

Pulse/Heartbeat

Scale object size rhythmically:

  • Use math.sin(t * frequency * 2 * math.pi) for smooth pulse
  • For heartbeat: two quick pulses then pause (adjust sine wave)
  • Scale between 0.8 and 1.2 of base size

Bounce

Object falls and bounces:

  • Use interpolate() with easing='bounce_out' for landing
  • Use easing='ease_in' for falling (accelerating)
  • Apply gravity by increasing y velocity each frame

Spin/Rotate

Rotate object around center:

  • PIL: image.rotate(angle, resample=Image.BICUBIC)
  • For wobble: use sine wave for angle instead of linear

Fade In/Out

Gradually appear or disappear:

  • Create RGBA image, adjust alpha channel
  • Or use Image.blend(image1, image2, alpha)
  • Fade in: alpha from 0 to 1
  • Fade out: alpha from 1 to 0

Slide

Move object from off-screen to position:

  • Start position: outside frame bounds
  • End position: target location
  • Use interpolate() with easing='ease_out' for smooth stop
  • For overshoot: use easing='back_out'

Zoom

Scale and position for zoom effect:

  • Zoom in: scale from 0.1 to 2.0, crop center
  • Zoom out: scale from 2.0 to 1.0
  • Can add motion blur for drama (PIL filter)

Explode/Particle Burst

Create particles radiating outward:

  • Generate particles with random angles and velocities
  • Update each particle: x += vx, y += vy
  • Add gravity: vy += gravity_constant
  • Fade out particles over time (reduce alpha)

Optimization Strategies

Only when asked to make the file size smaller, implement a few of the following methods:

  1. Fewer frames - Lower FPS (10 instead of 20) or shorter duration
  2. Fewer colors - num_colors=48 instead of 128
  3. Smaller dimensions - 128x128 instead of 480x480
  4. Remove duplicates - remove_duplicates=True in save()
  5. Emoji mode - optimize_for_emoji=True auto-optimizes
# Maximum optimization for emoji
builder.save(
    'emoji.gif',
    num_colors=48,
    optimize_for_emoji=True,
    remove_duplicates=True
)

Philosophy

This skill provides:

  • Knowledge: Slack's requirements and animation concepts
  • Utilities: GIFBuilder, validators, easing functions
  • Flexibility: Create the animation logic using PIL primitives

It does NOT provide:

  • Rigid animation templates or pre-made functions
  • Emoji font rendering (unreliable across platforms)
  • A library of pre-packaged graphics built into the skill

Note on user uploads: This skill doesn't include pre-built graphics, but if a user uploads an image, use PIL to load and work with it - interpret based on their request whether they want it used directly or just as inspiration.

Be creative! Combine concepts (bouncing + rotating, pulsing + sliding, etc.) and use PIL's full capabilities.

Dependencies

pip install pillow imageio numpy

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。