Skill v1.0.2
currentAutomated scan100/100~3 modified
name: slack-cli description: "Use the slck CLI (alias slack) to read and send Slack messages, manage channels, and search when the user mentions Slack." metadata: version: "1.0.2"
Slack CLI (slack)
Use slck (aliased slack) for Slack operations; voice owns how messages read, and this skill owns how they are formatted and delivered.
Act
| Goal | Action | |
|---|---|---|
| Read, search, or manage Slack | Load ops/cli.md for commands, auth, threads, channels, files, and recovery. | |
| Compose or edit a post, reply, or DM | Load voice and its external-replies reference before drafting, including after an investigation. | |
| Show a flow, structure, or before/after | Load show-me; its Slack surface decides text or image. Deliver an image with thread uploads. | |
| Send or update an authorized message | Use the Slack formatting and command recipes in ops; verify the resulting message in its thread or history. | |
| Ask a pod to review a finished PR | Load ops/review-request.md: readiness gate, channel, reviewer scope from the diff, post shape, thread discipline. |
Detect
For Slack URLs, messages, DMs, searches, or channel operations, load ops. For writing to people, also load voice; do not duplicate its communication rules here or restrict them to Slack. A PR that is open, not draft, CI-green, with every review thread addressed and no approval yet is a review-request moment.
Rules
- Never send or edit before applying voice's audience and substance-preservation
checks. Natural phrasing does not justify dropping material details.
- Never confuse thread-reply syntax with API field names: CLI replies use
--thread, not --thread-ts.
- Never interpolate a long message into shell syntax. Draft it in a file and
pass its contents as one quoted argument; see ops.
- Never post a review request for an unfinished PR or re-post for the same PR;
reviewers learn to skip the channel. Follow-ups go in the first post's thread.
Failure map
| Symptom | Action | |
|---|---|---|
| Thread context is missing | Use the parent thread_ts; see thread URLs. | |
not_in_channel | Follow membership recovery. | |
| DM sends rate-limit or an upload is invisible | Follow DMs and file sharing. | |
| Markdown renders incorrectly | Use Slack message formatting. | |
| Reply is stiff or too terse to evaluate | Re-run voice's reply checks. | |
| Unsure whom to tag or where to post a PR | Use the diff-path table in review requests. | |
| PR changed after the review post | Post nothing: a new head is no news to reviewers. Only a step that moves the review (an answer, a nudge, a new reviewer's request, an escalation) or the merge notice goes in the post's thread. | |
| PR merged after the review post | React :merged: on the post and reply in its thread with the merge commit (delivery). |
References
Load on demand; do not reabsorb into this file:
- ops/cli.md: Slack command reference, auth, formatting, delivery,
and error recovery.
- ops/review-request.md: asking a pod channel to review
a finished PR: gate, channel, reviewer scope, shape, thread discipline.
- ../voice/SKILL.md: canonical craft and judgment routing
for human-facing prose across apps.