block-kit
하는 일
AI 에이전트가 Slack 답장을 섹션, 표, 버튼 같은 기본 Block Kit 레이아웃으로 서식화하도록 가르칩니다. Slack 답변을 명확하고 바로 실행하기 쉽게 만들고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓승인하거나 옵션을 고를 수 있도록 Slack 답장에 버튼이 필요할 때.
- ✓답이 보고서, 비교, 계획이어서 섹션이나 표로 보는 것이 나을 때.
- ✓짧은 답이나 가벼운 대화여서 스킬이 일반 텍스트로 유지해야 하는 경우.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이번 주 영업 요약을 표와 전체 보고서를 여는 버튼과 함께 팀 Slack에 보내 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 풍부한 레이아웃이 도움이 되는지 판단한 뒤, Slack 메시지 도구로 구조화된 형식을 보냅니다. 레이아웃이 표시되지 않아도 의미가 전달되도록 일반 텍스트 대체 내용도 함께 포함합니다.
기술 내용 (원본 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의 버튼이 실제로 작동하나요?
버튼이 클릭 가능하고 유용하려면 입력형 콜백이나 웹 링크 같은 적절한 후속 동작이 필요합니다.
풍부한 레이아웃이 표시되지 않으면 어떻게 되나요?
스킬은 같은 의미를 담은 일반 텍스트 대체 내용을 포함합니다.
모든 답장에 레이아웃을 쓰나요?
아닙니다. 짧은 답이나 가벼운 메시지는 일반 텍스트로 유지합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.