block-kit
यह क्या करती है
यह AI एजेंट को Slack जवाबों को सेक्शन, टेबल और बटन जैसे नेटिव Block Kit लेआउट में फ़ॉर्मेट करना सिखाती है। यह उन लोगों के लिए है जो चाहते हैं कि उनके Slack जवाब साफ़ हों और उन पर आसानी से कार्रवाई हो सके।
कब इस्तेमाल करें
- ✓जब Slack जवाब में बटन चाहिए ताकि आप मंज़ूरी दे सकें या कोई विकल्प चुन सकें।
- ✓जब जवाब कोई रिपोर्ट, तुलना या योजना हो जो सेक्शन या टेबल में बेहतर पढ़ी जाती हो।
- ✓जब जवाब छोटा या सामान्य बातचीत हो, तो स्किल उसे सादा टेक्स्ट ही रखती है।
Skill का लिंक
https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“टीम को इस हफ़्ते की बिक्री का Slack सारांश टेबल और एक बटन के साथ भेजिए, जो पूरी रिपोर्ट खोलेगा।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल तय करती है कि समृद्ध लेआउट मदद करेगा या नहीं, फिर message टूल से संरचित प्रस्तुति के रूप में जवाब भेजती है। इसमें एक सादा-टेक्स्ट विकल्प भी होता है, ताकि लेआउट न दिखे तब भी अर्थ बना रहे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
callbackactions for conversational choices andurlfor an external destination. Do not use genericcommandactions for Slack controls; Slack renders them as text fallback rather than clickable controls. - Include a useful
messagefallback 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.
अक्सर पूछे जाने वाले सवाल
क्या Slack के बटन सच में काम करेंगे?
बटन क्लिक होने और उपयोगी होने के लिए उचित फ़ॉलो-अप कार्रवाई चाहिए, जैसे टाइप किया गया callback या वेब लिंक।
अगर समृद्ध लेआउट न दिखे तो?
स्किल में एक सादा-टेक्स्ट फ़ॉलबैक होता है जो वही अर्थ रखता है।
क्या यह हर जवाब में लेआउट इस्तेमाल करती है?
नहीं। छोटे जवाब और सामान्य संदेश सादे टेक्स्ट ही रहते हैं।
जानकारी
लेखक का मूल विवरण
Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.
repo: openclaw/openclaw
लोकप्रियता
- GitHub स्टार
- 394k
- रैंकिंग में स्थान
- #36
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
discrawl
394kयह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
मिलती-जुलती skills
to-questionnaire
310kवह सवाल जिसका जवाब आप अकेले नहीं दे सकते, उसे ईमेल या मीटिंग में किसी और व्यक्ति के भरने के लिए लिखित प्रश्नावली में बदलती है।
email-ops
280kएजेंट को emails मैनेज करने देता है, inbox व्यवस्थित करता है और भेजे गए emails की पुष्टि करता है। ज़रूरी संदेश सही तरीके से भेजे और ट्रैक किए जाएँ, यह सुनिश्चित करने में मदद करता है।
messages-ops
280kआपके एजेंट को messages और verification codes पढ़ने में मदद करता है। जवाब देने से पहले बातचीत जाँचने या यह साबित करने के लिए उपयोगी है कि कौन सा मैसेज देखा गया था।