slack-draft
Skill5 starsChanged 3 months agoMITView on GitHub
Create or rewrite a Slack message draft that the user will review and send, and verify it in the Slack screen itself, not from the API reply. Use when the user says 'Slackの下書き', '下書きを作って', '下書きを作り直して', '返信の下書き', 'draft a Slack message', or asks to prepare a message to a client in Slack. Covers files the message points to (put them in a shared Drive folder and link by URL), plain URLs, and safe editing of an existing composer draft. Do NOT use for: sending a message right away (the user must ask for that explicitly), reading or summarizing channels, or scheduled messages.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AdityaRon/claude-code-skillstheir own version, first seen Nov 29, 2026
- lambdakilo/dotclaudetheir own version, first seen Nov 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- lambdakilo/dotclaude★ 3same name
- AdityaRon/claude-code-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adk-engineerSkill
- agent-orchestratorSkill
- brainstormingSkill
- bugfixSkill
- classify-reviewSkill
- code-reviewerSkill
- codex-reviewSkill
- context7-skillsSkill
- developer-growth-analysisSkill
- file-organizerSkill
- gcp-deploy-guardianSkill
- gws-workspaceSkill
- handoverSkill
- modern-architectureSkill
- planSkill
- repo-cleanSkill
- review-loopSkill
- security-reviewSkill
- skill-creatorSkill
- supabase-nextjs-debuggerSkill
- tdd-workflowSkill
- test-falsifySkill
- ui-design-systemSkill
- ui-skillsSkill
- ux-researcher-designerSkill
The file
Files
Slack の下書き(画面で確かめるまで「できた」と言わない)
相手に送る文を下書きとして用意する。送信はユーザーがする。下書きが本当に Slack の入力欄に入っていることを、画面で確かめてから報告する。
Critical:2026-11-13 に実際に起きたこと
| # | したこと | 起きたこと |
| 1 | slack_send_message_draft を2回呼び、2回とも Draft created が返った | チャンネルの入力欄は最初の下書きのままで、「下書き&送信済み」も1件だけだった。API の返事を信じて「作り直しました」と2回報告した |
| 2 | 本文に「添付のメモにまとめています」「アジェンダを添付します」と書いた | 下書きにファイルは付けられない。相手が開いても何もない |
| 3 | リンクを Slack の書き方 <URL|文字> で書いた | 下書きでは表示されず、相手には URL が見えない |
原因:API の返事を「入力欄に入った」ことの証拠にした。1つのチャンネルに入る下書きは1つだけで、ユーザーがその下書きを手で直していると、API で作った下書きは入力欄に出てこない。
手順
1. 先に入力欄の今の状態を見る(毎回)
Claude in Chrome(なければ内蔵ブラウザ)で、対象のチャンネルを開く。
https://app.slack.com/client/[チームID]/[チャンネルID]get_page_textで入力欄の文と、左の「下書き&送信済み」の件数を読む- 開いた直後は白い画面のことがある。数秒待ってから読む
2. 入力欄に下書きがあるとき:画面の上で直す(API で新しく作らない)
- ユーザーが手で直した部分は残す。自分が前に書いた版と比べて、変わっているところは消さない(例:「確認させていただきました」に直してあった)
- 右下の表示を確かめる
- 「Return で改行」なら、Return キーで改行になる
- 「Shift + Return で改行」なら、改行には
shift+Returnを使う - 送信ボタン(紙飛行機)は押さない。
cmd+Returnも押さない
- 書き換える範囲を選ぶ:その行をクリック →
cmd+Left→shift+cmd+Down(最後まで)。スクリーンショットで選ばれた範囲を確かめる Backspaceで消して、まず2行だけ打つ。スクリーンショットで、改行になったこと・チャンネルに新しいメッセージが出ていないことを確かめる- 残りを打つ
3. 入力欄に下書きがないとき
slack_send_message_draft で作ってよい。そのあと必ず手順1で入力欄を読み、文が入っていることを確かめる。入っていなければ、手順2のやり方で画面に打つ。
4. ファイルは「添付」と書かず、URL で渡す
- ファイルは、相手が見られる共有フォルダ(Google Drive など)に置く
get_file_permissionsで、相手のメールアドレスが権限の一覧にあることを確かめる- 本文には、ファイルごとに URL をそのまま1行で書く
- 「添付します」「添付の」は書かない。本当にファイルを付けた投稿のときだけ使う
5. リンクの書き方
- URL はそのまま書く(
https://...を1行に)。入力欄で青いリンクになる <URL|文字>や[文字](URL)は使わない(下書きで表示されなかった)- 6本以上あると、プレビューは最初の5本しか出ない。リンク自体は押せる
6. 報告の前に確かめること(全部そろうまで「できた」と言わない)
get_page_textで読んだ入力欄の文に、入れるはずの URL が全部ある- 「添付」が残っていない(実際に付けていないとき)
- スクリーンショットで、URL が青いリンクになっている
- チャンネルに自分の新しいメッセージが出ていない(送っていない)
- 「下書き&送信済み」が何件か
報告には、入力欄から読んだ文の最初と最後の行と、「送信していない」ことを書く。API の返事(Draft created)だけで「作った」と書かない。
うまくいかないとき
| 状況 | すること |
| Slack にログインしていない画面になる | ユーザーにログインしてもらう。パスワードは入力しない |
| 入力欄が見つからない/文字が打てない | 下書きの全文をチャットに出して、ユーザーに貼ってもらう |
| 書き換えの途中で送ってしまった | すぐにユーザーに伝える。消すか直すかはユーザーが決める(勝手に消さない) |
| ブラウザが使えない | 全文をチャットに出し、「入力欄はまだ確かめていない」と書く |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

