본문으로 건너뛰기
Skillpedia
이메일 및 메시지41k · #6814

formatting-slack-messages

하는 일

이 스킬은 카드, 버튼, 메뉴, 표 같은 Slack 메시지 레이아웃을 AI가 쓰고 점검하도록 돕습니다. 깔끔하고 읽기 쉬운 결과를 원하는 Slack 봇이나 앱 개발자를 위한 것입니다.

사용하는 경우

  • ✓Slack 봇이 버튼이나 표가 있는 명확한 업데이트를 게시하게 하고 싶을 때.
  • ✓기존 Slack 메시지를 버튼이나 링크를 잃지 않고 바꿔야 할 때.
  • ✓Slack 모달이나 App Home 화면을 만들고 제대로 표시되는지 확인하고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/.agents/skills/formatting-slack-messages/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/.agents/skills/formatting-slack-messages/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 팀의 일일 매출 요약을 승인 버튼과 함께 보여 주는 Slack 메시지 형식을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Slack의 공식 레이아웃 규칙을 따라 알맞은 구성 요소를 고르고, 메시지 데이터를 쓴 뒤 사용하기 전에 오류가 있는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Formatting Slack messages

Build a layout that makes the result, its context, and the next action clear. This workflow adapts Slack's official Block Kit skill. It is self-contained; another installed skill is not required. See sources for upstream attribution.

1. Identify the surface and the change

Infer the surface from the request or existing payload:

  • A message has blocks or attachments and goes to a channel or direct message.
  • A modal has type: modal and a view lifecycle.
  • An App Home view has type: home and is published for a user.

Inspect the existing payload before changing its layout. For modifications, preserve unchanged content, source links, block_id, action_id, values, and menu choices. Ask only when missing information changes the implementation. Do not repeat questions the user already answered. For a clear small edit, read the relevant schema, make the edit, and validate it. For a broad redesign, establish the content order before building the payload.

2. Read live schemas

Use the Block Kit index to find the current component pages. Fetch each selected block, element, and composition object's schema and example. Append .md to Slack documentation URLs when a Markdown response is easier to read. Follow index links rather than guessing slugs; select menus share one reference page. Reuse pages already read during the task.

Check required fields, allowed nesting, text types, limits, and supported surfaces separately. Do not treat this skill's comparison tables as permanent schemas.

Common errors:

  • markdown is a block type. It is not a text-object type.
  • Text objects use plain_text or mrkdwn. A text element is valid inside the appropriate rich_text structure, not as a standalone block.
  • Valid JSON does not establish valid Block Kit.
  • A schema-validation success does not establish surface compatibility or block-count compliance.

3. Match the structure to the content

Content Starting point
One change or important number A short sentence with its comparison and units
Independent facts about one item section.fields with short labels and values
Several comparable rows table
Rows that need sorting, pagination, filtering, or row actions data_table
A compact entity with a short body and a few buttons card
Optional peer items for browsing A carousel of cards
A related group of blocks container
A real task or investigation step with progress updates task_card or plan
A view-wide notice in a modal alert
Existing generated Markdown markdown, if supported and safe for the intended message
Formatted text assembled in code rich_text

Use block selection for limits, table comparisons, and template patterns. Keep required findings visible outside carousels, pagination, and collapsed groups. Do not add dividers between every block or put a one-line notice in a card without a reason. Use a consistent size and hierarchy across comparable messages. Keep at most one visually primary action per message or view. Leave equal navigation choices unstyled.

For modals, check the view wrapper, title, callback, close, and submit requirements. An input-containing modal needs a submit action. Do not compete with Submit using another primary button. For App Home, handle first use, empty results, and view refresh for the current user. Use task cards for work with progress updates. Their sta

자주 묻는 질문

이 스킬이 Slack 워크스페이스를 설정해 주나요?

아니요. 워크스페이스나 앱 설정용이 아닙니다. 메시지 자체의 레이아웃에 집중합니다.

Slack에서 메시지가 어떻게 보일지 확인할 수 있나요?

네. 레이아웃을 검증하고 Slack이 어떻게 표시할지도 확인할 수 있습니다.

이미 있는 메시지를 바꿀 수도 있나요?

네. 레이아웃을 고치면서 기존 내용, 링크, 버튼, 값은 그대로 유지합니다.

상세 정보

작성자의 원본 설명

Builds and validates Slack Block Kit messages, modals, and App Home layouts. Use for Slack formatting, block selection, Markdown, cards, tables, charts, metadata, buttons, and menus. Covers live schemas, payload validation, accessibility, and actual Slack rendering. Not for workspace setup.

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6814
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬