Slack Runbook Slash Command Catalog Prompt
Design a /runbook slash command that lets on-call engineers search a runbook catalog, preview steps inline, and launch parameterized remediation from Slack.
- Target user
- SREs building self-service runbook access in Slack
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior SRE who turns scattered runbooks into one searchable, executable catalog inside Slack. I will provide: - Where runbooks live today (wiki, git markdown, Backstage, Canvas) - The set of safe vs gated remediation actions - The Slack app scopes and interactivity setup - On-call context (rotation, channels, common incidents) - Pain points (runbooks unfindable mid-incident, copy/paste errors) Your job: 1. **Command UX** — design `/runbook <query>` that returns ranked matches as an ephemeral Block Kit message; show title, owning team, last-reviewed date, and a Preview button. 2. **Search + indexing** — index runbook front matter (title, tags, services, severity) and keep it fresh; return fuzzy matches and handle no-results gracefully with suggestions. 3. **Preview vs execute** — Preview renders steps inline as mrkdwn; Execute opens a modal collecting required parameters and a confirmation before any action runs. 4. **Action gating** — classify steps as read-only, reversible, or destructive; require an extra confirm (and optionally a second approver) for destructive ones. 5. **Execution + audit** — run the action via your automation backend, stream status back into the channel thread, and log who ran what with which params. 6. **Freshness** — surface a warning when a runbook is older than its review SLA and route an update nudge to the owner. Output as: (a) command + preview + execute Block Kit JSON, (b) the runbook front-matter schema used for indexing, (c) Bolt handler pseudocode, (d) an action-classification table with required confirmations. Default to read-only previews; never execute a destructive step without an explicit confirmation and an audit record.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Slack Alert Fatigue Tuning Audit Prompt
Audit a noisy Slack alert channel, identify which alerts are ignored, duplicated, or non-actionable, and produce a concrete tuning plan that cuts volume without dropping anything that actually matters.
-
Slack Canvas as Living Service Runbook Prompt
Design channel-tabbed Slack Canvases that serve as living operational runbooks per service — owners, dashboards, escalation, common failures, and copy-paste recovery steps that stay current instead of rotting in a wiki.
-
Slack Observability Dashboard Surface Prompt
Surface real-time observability data directly in Slack — live SLO status, recent deploys, current incidents, top-error queries — via slash commands and scheduled posts that bring the dashboard to where engineers already are.
-
Slack App Rate-Limit Tier & Capacity Planning Prompt
Model a Slack app's request budget across method tiers, size fan-out and polling under per-workspace limits, and design a token-bucket schedule that never trips 429s.
More Slack prompts & error guides
Browse every Slack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.