Pular para o conteúdo
Skillpedia
E-mail e mensagens394 mil · #36

block-kit

O que ela faz

Ensina um agente de IA a formatar respostas do Slack como layouts nativos do Block Kit, como seções, tabelas e botões. É para quem quer que as respostas no Slack sejam claras e fáceis de usar.

Quando usar

  • ✓Quando uma resposta no Slack precisa de botões para você aprovar ou escolher uma opção.
  • ✓Quando a resposta é um relatório, uma comparação ou um plano que fica melhor em seções ou em uma tabela.
  • ✓Quando a resposta é curta ou uma conversa casual, a skill a mantém como texto simples.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/openclaw/openclaw/blob/main/extensions/slack/skills/block-kit/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Envie para a equipe um resumo das vendas desta semana no Slack, com uma tabela e um botão que abre o relatório completo.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill decide se um layout mais rico ajuda e, então, envia a resposta pela ferramenta de mensagens do Slack como uma apresentação estruturada. Também inclui uma versão de texto simples de reserva, para que o sentido seja mantido se o layout não aparecer.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Os botões do Slack realmente funcionam?

Os botões precisam de ações de acompanhamento adequadas, como um retorno digitado ou um link da web, para serem clicáveis e úteis.

E se o layout rico não for exibido?

A skill inclui uma versão de texto simples que mantém o mesmo sentido.

Ela usa layouts em todas as respostas?

Não. Respostas curtas e mensagens casuais continuam como texto simples.

Detalhes

Descrição original do autor

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

repo: openclaw/openclaw

Popularidade

Estrelas no GitHub
394 mil
Posição no ranking
#36
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas