slack-drafts
ما الذي تفعله
تتيح للمساعد أن يجهّز رسالة Slack في تطبيقك، منسوبة إليك ومرسلة إلى المحادثة التي تختارها. وهي لمن يريد مساعدة في الردود لكنه يريد أن يرسلها بنفسه.
متى تستخدمها
- ✓عندما تريد كتابة رد على محادثة في Slack لتراجعه.
- ✓عندما تريد تجهيز رسالة لقناة دون نشرها.
- ✓عندما تحتاج إلى مسودة رد داخل نقاش Slack قائم.
رابط المهارة
https://github.com/yc-software/qm/blob/main/skills-seed/slack-drafts/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اكتب مسودة رد على سؤال Priya في قناة المنتج على Slack، واتركها لي لأرسلها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينشئ المساعد مسودة في منشئ Slack الخاص بك، موجهة إلى القناة أو الشخص الصحيح. لا يُنشر شيء حتى تراجعه وتضغط إرسال في Slack.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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'
--totakes 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-tstargets 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:writescope; tokens connected before that scope existed can only draft into conversations that already exist. On amissing_scopeerror, 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.
الأسئلة الشائعة
هل سينشر المساعد الرسالة عني؟
لا. ينشئ مسودة فقط، وترسلها أنت من Slack.
هل يستطيع الرد داخل خيط؟
نعم. يستطيع استهداف خيط، فتظهر المسودة كرد داخل تلك المحادثة.
ماذا لو قال Slack إن الوصول مفقود؟
اربط Slack من خلال تدفق الربط الخاص بالمنتج، لأن المساعد يحتاج إلى صلاحيتك في Slack لإنشاء المسودات.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 16k
- الترتيب
- #10906
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
deploy-qm
16kينشر حزمة QM على Fly.io أو AWS أو Render، ثم يجهّز مديراً وموصلات، واختيارياً Slack، وفق قائمة نشر كاملة.
onboarding
16kيرشد المستخدم الجديد خلال ربط حساباته ومشاركة طريقة عمله واختيار صوت وإعداد أول مساعدة، في محادثة قصيرة واحدة.
admin
16kيتيح لمدير مؤسسة موثّق أن يفحص الإعدادات على مستوى المؤسسة والنطاقات الأخرى أو يغيّرها من المحادثة، مع تأكيد كل تغيير قبل تنفيذه.
browse
16kيشغّل متصفحاً حقيقياً متخفياً من سطر الأوامر لتنفيذ إجراءات على المواقع، مثل تسجيل الدخول وملء النماذج، مع حفظ تسجيلات الدخول لكل شخص. مخصص للإجراءات لا للقراءة.
مهارات مشابهة
discord-user-post
394kتتيح لوكيلك نشر رسالة وافقت عليها في Discord باسمك عبر تطبيق Discord على سطح المكتب، بعد التأكد من القناة المحددة.
configure-channel
394kتعلّم وكيلك كيف يربط تطبيق محادثة مثل Telegram بـ OpenClaw، ويخزّن رمز البوت بأمان، ويتحقق من أن الرسائل تصل.
discord
394kيساعد وكيلك على قراءة رسائل Discord وإرسالها وتعديلها والتفاعل معها عبر OpenClaw، مع التحقق من الرسالة بدقة قبل أي تغيير.