Langsung ke konten
Skillpedia
Email & pesan16k Β· #10906

slack-drafts

Fungsinya

Memungkinkan asisten menyiapkan pesan Slack di aplikasi Slack Anda, atas nama Anda dan ditujukan ke chat yang Anda pilih. Cocok untuk orang yang ingin dibantu membalas tetapi ingin mengirimnya sendiri.

Kapan dipakai

  • βœ“Saat Anda ingin balasan untuk percakapan Slack ditulis untuk Anda tinjau.
  • βœ“Saat Anda ingin pesan disiapkan untuk sebuah kanal tanpa diposting.
  • βœ“Saat Anda perlu balasan utas didraf dalam diskusi Slack yang sudah ada.

Link skill

https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat draf balasan atas pertanyaan Priya di kanal Slack produk dan biarkan untuk saya kirim.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Asisten membuat draf di penyusun Slack Anda, diarahkan ke kanal atau orang yang tepat. Tidak ada yang diposting sampai Anda meninjau dan menekan kirim di Slack.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Slack drafts

Use this skill when the user wants a Slack message prepared for them to review and send themselves: "draft a reply to X", "prep a message for #general", "write that up as a Slack draft". The draft lands in their own Slack composer, attributed to them, targeted at the conversation you choose β€” nothing is posted.

This is an OAuth connector. The resolved user's Slack user token lives on your computer as $VAULT_TOKEN_SLACK_COM. Do not ask the user for a token, log it, or use another principal's. If the variable is empty or Slack returns 401/403, the user either has not connected Slack or connected before this permission existed β€” tell them to (re)connect it through the product OAuth flow.

Use the bundled helper for every draft β€” it owns destination resolution, rich-text block construction, and the required draft envelope:

Run these commands with execute and an explicit sandbox_id, using the absolute directory reported by the skill read in place of <skill dir>. Keep that ID for preparing body files and running the helper.

python3 "<skill dir>/scripts/slack_drafts.py" create --to '#general' --text 'hello'
python3 "<skill dir>/scripts/slack_drafts.py" create --to '@jane' --text-file body.txt
python3 "<skill dir>/scripts/slack_drafts.py" create --to C0123ABCDEF --thread-ts 1712345678.000100 --text '...'
python3 "<skill dir>/scripts/slack_drafts.py" resolve --to '#general'
  • --to takes a channel/IM ID (C…/G…/D…), a user ID (U…/W…), #channel-name, or @name (matched against username, display name, real name, or email; ambiguous matches are refused β€” fall back to a user ID).
  • Text is plain; URLs become clickable links. Write it exactly as the user would send it β€” it goes out under their name, in their voice, once they hit send.
  • --thread-ts targets the draft at a thread reply instead of the channel composer.
  • Drafts are create-only through this API: you cannot list, edit, or delete a draft once made. To revise, tell the user to discard the old draft in Slack and create a fresh one. Never work around this by posting messages β€” drafting means the user sends.
  • Opening a brand-new DM needs the im:write scope; tokens connected before that scope existed can only draft into conversations that already exist. On a missing_scope error, tell the user to reconnect Slack.
  • Slack keeps at most one draft per composer: a second draft into the same channel or thread fails with attached_draft_exists. Tell the user to send or discard the existing draft, then retry.
Pertanyaan umum

Apakah asisten akan memposting pesannya untuk saya?

Tidak. Ia hanya membuat draf, dan Anda yang mengirimnya dari Slack.

Bisakah ia membalas di dalam utas?

Bisa. Ia bisa mengarahkan draf ke utas sehingga masuk sebagai balasan dalam percakapan itu.

Bagaimana jika Slack mengatakan akses belum tersedia?

Hubungkan Slack melalui alur koneksi produk, karena asisten memerlukan izin Slack Anda untuk membuat draf.

Detail

Deskripsi asli dari pembuat

Create Slack message drafts in the user's own composer, as the user, through their per-user Slack OAuth. Drafting only β€” the user reviews and sends from Slack.

repo: yc-software/qm

Popularitas

Bintang GitHub
16k
Peringkat
#10906
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa