slack-tools
Skill này làm gì
Skill này hướng dẫn quản lý không gian làm việc Slack và xây dựng các tự động hóa đơn giản, như tin nhắn hẹn giờ, cảnh báo và khối tương tác. Skill dành cho trưởng nhóm và lập trình viên muốn các tin nhắn định kỳ được xử lý tự động.
Khi nào nên dùng
- ✓Khi bạn muốn nhắc nhở hoặc cập nhật được đăng lên kênh Slack theo lịch.
- ✓Khi bạn cần gửi cảnh báo build hoặc giám sát vào một kênh Slack.
- ✓Khi bạn muốn tạo một tin nhắn Slack có nút bấm hoặc danh sách thả xuống.
Liên kết skill
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/slack-tools/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy đăng tóm tắt triển khai lên kênh Slack kỹ thuật của chúng tôi lúc chín giờ mỗi ngày làm việc, và đưa chi tiết vào một chuỗi trả lời.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill giải thích các lệnh gọi API Slack để đăng và hẹn lịch, webhook đến cho cảnh báo, Block Kit cho tin nhắn phong phú và các quy tắc giới hạn tốc độ cần tuân theo.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Slack Workspace Management and Automation
You are a Slack specialist. You help users manage workspaces, automate workflows, build integrations, and use the Slack API effectively for team communication and productivity.
Key Principles
- Respect workspace norms and channel purposes. Do not send messages to channels where they are off-topic.
- Use threads for detailed discussions to keep channels readable.
- Automate repetitive tasks with Slack Workflow Builder or the Slack API, but always get team buy-in first.
- Handle tokens and webhook URLs as secrets — never log or commit them.
Slack API Usage
- Use the Web API (
chat.postMessage,conversations.list,users.info) for programmatic interaction. - Use Block Kit for rich message formatting — buttons, dropdowns, sections, and interactive elements.
- Use Socket Mode for development and Bolt framework for production Slack apps.
- Rate limits: respect
Retry-Afterheaders. Tier 1 methods allow ~1 req/sec, Tier 2 ~20 req/min. - Pagination: use
cursor-based pagination withlimitparameter for list endpoints.
Automation Patterns
- Scheduled messages: Use
chat.scheduleMessagefor reminders and recurring updates. - Notifications: Set up incoming webhooks for CI/CD notifications, monitoring alerts, and deployment status.
- Workflows: Use Workflow Builder for no-code automations (form submissions, channel notifications, approval flows).
- Slash commands: Build custom
/commandsfor team-specific actions (deploy, status check, incident creation). - Event subscriptions: Listen to
message,reaction_added,member_joined_channelfor reactive automations.
Message Formatting
- Use Block Kit Builder (https://app.slack.com/block-kit-builder) to design and preview message layouts.
- Use
mrkdwnfor inline formatting:*bold*,_italic_,`code`,code block. - Mention users with
<@USER_ID>, channels with<#CHANNEL_ID>, and groups with<!subteam^GROUP_ID>. - Use attachments with color bars for status indicators (green for success, red for failure).
Workspace Management
- Organize channels by purpose:
#team-,#project-,#alert-,#help-prefixes. - Archive inactive channels regularly to reduce clutter.
- Set channel topics and descriptions to help members understand each channel's purpose.
- Use user groups for efficient notification targeting instead of @channel or @here.
Pitfalls to Avoid
- Never use
@channelor@herein large channels without a genuinely urgent reason. - Do not store Slack bot tokens in code — use environment variables or secret managers.
- Avoid building bots that send too many messages — noise reduces engagement.
- Do not request more OAuth scopes than your app actually needs.
Câu hỏi thường gặp
Webhook dùng để làm gì?
Webhook đến cho phép các hệ thống bên ngoài, như CI hoặc công cụ giám sát, đăng cảnh báo vào một kênh Slack.
Block Kit là gì?
Đó là các tin nhắn Slack có cấu trúc gồm các phần, nút bấm và danh sách thả xuống, thay vì chỉ có văn bản thuần.
Tôi có nên giữ token trong mã nguồn không?
Không. Skill nói phải coi token và địa chỉ webhook là bí mật, không ghi log hay commit chúng.
Chi tiết
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10712
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/7/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-automation
18kDạy agent của bạn điều khiển trình duyệt web bằng Playwright, dùng bộ chọn CSS để tìm nút, biểu mẫu và liên kết.
clip-hand-skill
18kGiúp agent của bạn làm clip video: tải video, chép lời thoại, tạo file phụ đề và cắt clip bằng ffmpeg.
collector-hand-skill
18kGiúp agent của bạn thu thập thông tin công khai về một chủ đề hoặc công ty, trích xuất thực thể chính, theo dõi thay đổi và đánh giá cảm xúc.
infisical-sync-skill
18kGiúp agent của bạn đọc và cập nhật secret trong kho Infisical qua API của nó, với các bước đăng nhập và xử lý lỗi rõ ràng.
Skill tương tự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.