slack-gif-creator
Fungsinya
Toolkit ini membantu membuat GIF animasi yang cocok digunakan di Slack. Toolkit ini memeriksa apakah GIF memenuhi ketentuan ukuran dan animasi Slack, serta menyediakan komponen dasar untuk membuat gerakan.
Kapan dipakai
- βMembuat GIF animasi untuk dikirim di Slack.
- βMembuat emoji kustom animasi untuk Slack.
- βMemastikan GIF memenuhi aturan ukuran Slack.
Link skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/slack-gif-creator/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan GIF animasi kucing yang sedang melompat untuk Slack.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Anda menggunakan komponen animasi siap pakai (seperti 'shake' atau 'pulse') dan alat yang memeriksa apakah GIF akhir berada dalam batas ukuran dan dimensi Slack.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Slack GIF Creator - Flexible Toolkit
A toolkit for creating animated GIFs optimized for Slack. Provides validators for Slack's constraints, composable animation primitives, and optional helper utilities. Apply these tools however needed to achieve the creative vision.
Slack's Requirements
Slack has specific requirements for GIFs based on their use:
Message GIFs:
- Max size: ~2MB
- Optimal dimensions: 480x480
- Typical FPS: 15-20
- Color limit: 128-256
- Duration: 2-5s
Emoji GIFs:
- Max size: 64KB (strict limit)
- Optimal dimensions: 128x128
- Typical FPS: 10-12
- Color limit: 32-48
- Duration: 1-2s
Emoji GIFs are challenging - the 64KB limit is strict. Strategies that help:
- Limit to 10-15 frames total
- Use 32-48 colors maximum
- Keep designs simple
- Avoid gradients
- Validate file size frequently
Toolkit Structure
This skill provides three types of tools:
- Validators - Check if a GIF meets Slack's requirements
- Animation Primitives - Composable building blocks for motion (shake, bounce, move, kaleidoscope)
- Helper Utilities - Optional functions for common needs (text, colors, effects)
Complete creative freedom is available in how these tools are applied.
Core Validators
To ensure a GIF meets Slack's constraints, use these validators:
from core.gif_builder import GIFBuilder
# After creating your GIF, check if it meets requirements
builder = GIFBuilder(width=128, height=128, fps=10)
# ... add your frames however you want ...
# Save and check size
info = builder.save('emoji.gif', num_colors=48, optimize_for_emoji=True)
# The save method automatically warns if file exceeds limits
# info dict contains: size_kb, size_mb, frame_count, duration_seconds
File size validator:
from core.validators import check_slack_size
# Check if GIF meets size limits
passes, info = check_slack_size('emoji.gif', is_emoji=True)
# Returns: (True/False, dict with size details)
Dimension validator:
from core.validators import validate_dimensions
# Check dimensions
passes, info = validate_dimensions(128, 128, is_emoji=True)
# Returns: (True/False, dict with dimension details)
Complete validation:
from core.validators import validate_gif, is_slack_ready
# Run all validations
all_pass, results = validate_gif('emoji.gif', is_emoji=True)
# Or quick check
if is_slack_ready('emoji.gif', is_emoji=True):
print("Ready to upload!")
Animation Primitives
These are composable building blocks for motion. Apply these to any object in any combination:
Shake
from templates.shake import create_shake_animation
# Shake an emoji
frames = create_shake_animation(
object_type='emoji',
object_data={'emoji': 'π±', 'size': 80},
num_frames=20,
shake_intensity=15,
direction='both' # or 'horizontal', 'vertical'
)
Bounce
from templates.bounce import create_bounce_animation
# Bounce a circle
frames = create_bounce_animation(
object_type='circle',
object_data={'radius': 40, 'color': (255, 100, 100)},
num_frames=30,
bounce_height=150
)
Spin / Rotate
from templates.spin import create_spin_animation, create_loading_spinner
# Clockwise spin
frames = create_spin_animation(
object_type='emoji',
object_data={'emoji': 'π', 'size': 100},
rotation_type='clockwise',
full_rotations=2
)
# Wobble rotation
frames = create_spin_animation(rotation_type='wobble', full_rotations=3)
# Loading spinner
frames = create_loading_spinner(spinner_type='dots')
Pulse / Heartbeat
from templates.pulse import create_pulse_animation, create_attention_pulse
# Smooth pulse
frames = create_pulse_animation(
object_data={'emoji': 'β€οΈ', 'size': 100},
pulse_type='smooth',
scale_range=(0.8, 1.2)
)
# Heartbeat (double-pump)
frames = create_pulse_animation(pulse_type='heartbeat')
# Attention pulse for emoji GIFs
frames = create_attention_pulse(emoji='β οΈ', num_frames=20)
Fade
from templates.fade import create_fade_animation, create_crossfade
# Fade in
frames = create_fade_animation(fade_type='in')
# Fade out
frames = create_fade_animation(fade_type='out')
# Crossfade between two emojis
frames = create_crossfade(
object1_data={'emoji': 'π', 'size': 100},
object2_data={'emoji': 'π', 'size': 100}
)
Zoom
from templates.zoom import create_zoom_animation, create_explosion_zoom
β¦
Pertanyaan umum
Berapa ukuran maksimum GIF di Slack?
Untuk GIF biasa, batasnya sekitar 2MB. Untuk emoji kustom animasi, batasnya jauh lebih kecil, yaitu 64KB.
Apa itu 'Animation Primitives'?
Itu seperti balok Lego untuk animasi. Anda dapat menggabungkannya untuk membuat gerakan seperti getaran, denyutan, putaran, dan lainnya.
Bagaimana cara mengetahui apakah GIF saya sudah siap untuk Slack?
Ada alat validasi yang secara otomatis memeriksa apakah GIF Anda memenuhi semua ketentuan Slack terkait ukuran, dimensi, dan warna.
Detail
Deskripsi asli dari pembuat
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".
Popularitas
- Bintang GitHub
- 77k
- Peringkat
- #2604
- Lisensi
- β
- Diperbarui
- 18/9/2026
Komentar
- β¦
Skill lain dari repositori ini
artifacts-builder
77kMembantu agent Anda membangun antarmuka pengguna yang kompleks. Agent memakai teknologi modern untuk membuat halaman web yang kaya dan interaktif.
brand-guidelines
77kMembantu agent Anda menerapkan warna dan font resmi brand ke berbagai materi. Berguna untuk menjaga identitas visual pada setiap materi yang harus sesuai dengan perusahaan.
canvas-design
77kMemungkinkan agent Anda membuat karya seni visual orisinal dalam format .png dan .pdf. Gunakan saat pengguna meminta poster, karya seni, atau desain statis lainnya.
changelog-generator
77kMembantu agent Anda membuat catatan rilis untuk pengguna dari commit kode. Informasi teknis diubah menjadi teks yang mudah dipahami.
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.