Langsung ke konten
Skillpedia
Email & pesan394k · #36

block-kit

Fungsinya

Skill ini mengajari agent AI memformat balasan Slack sebagai tata letak Block Kit asli, seperti bagian, tabel, dan tombol. Skill ini ditujukan bagi orang yang ingin jawaban Slack mereka jelas dan mudah ditindaklanjuti.

Kapan dipakai

  • ✓Saat balasan Slack perlu tombol agar Anda dapat menyetujui atau memilih opsi.
  • ✓Ketika jawabannya berupa laporan, perbandingan, atau rencana yang lebih mudah dibaca dalam bagian atau tabel.
  • ✓Ketika balasan berupa jawaban singkat atau obrolan santai, skill tetap menjadikannya teks biasa.

Link skill

https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Kirim ringkasan penjualan minggu ini ke tim di Slack dengan tabel dan tombol yang membuka laporan lengkap.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memutuskan apakah tata letak kaya akan membantu, lalu mengirim balasan lewat alat pesan Slack sebagai presentasi terstruktur. Skill juga menyertakan cadangan teks biasa agar maknanya tetap tersampaikan jika tata letak tidak tampil.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Slack Block Kit

Make useful Slack replies feel native. When structure or one-click follow-up improves the outcome, send a rich message without waiting for the user to ask for Block Kit.

Choose the surface

Use a presentation when the reply has at least one of these shapes:

  • a decision, confirmation, or next action that belongs on buttons or a select
  • a status, comparison, report, or plan that scans better as titled sections, a table, or a chart
  • important context that should be visually separated from the primary result

Use plain text for short answers and casual conversation where structure adds no value.

Send the result

For a reply in Slack, call the message tool with action: "send" and a portable presentation. The Slack plugin renders it as native Block Kit. Use the exact schema exposed by the current tool; supported block types can include text, context, divider, buttons, select, chart, and table.

  • Put the outcome first. Keep titles, labels, and context concise.
  • Give interactive controls real follow-up semantics. Use typed callback actions for conversational choices and url for an external destination. Do not use generic command actions for Slack controls; Slack renders them as text fallback rather than clickable controls.
  • Include a useful message fallback that preserves the meaning without the rich layout.
  • After the visible send succeeds, do not repeat the same content in the final response.

A control is complete only when its value is self-contained enough for the next agent turn to understand and act on. When an interaction returns, acknowledge the choice visibly and continue the requested workflow.

Native Block Kit authoring

When the user is building a Slack app or explicitly requests raw Block Kit JSON, read the adapted official Block Kit guide in full. For common message, modal, and App Home layouts, also read the official patterns.

Follow the adapted guide's live-documentation and blocks.validate workflow for native JSON. Do not pass native Slack blocks to OpenClaw's presentation field; the plugin owns that conversion.

Pertanyaan umum

Apakah tombol di Slack benar-benar berfungsi?

Tombol memerlukan tindakan tindak lanjut yang tepat, seperti callback yang diketik atau tautan web, agar dapat diklik dan berguna.

Bagaimana jika tata letak kaya tidak ditampilkan?

Skill menyertakan cadangan teks biasa yang mempertahankan makna yang sama.

Apakah skill memakai tata letak untuk setiap balasan?

Tidak. Jawaban singkat dan pesan santai tetap berupa teks biasa.

Detail

Deskripsi asli dari pembuat

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

repo: openclaw/openclaw

Popularitas

Bintang GitHub
394k
Peringkat
#36
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa