Docsbook
← Back to catalog
automationprorequires Docsbook MCP

docs-release-announce

Wire up release announcements for a Docsbook workspace. Registers a Docsbook webhook on release events and generates a GitHub Actions workflow that dispatches notifications to Slack and/or email when a new release is published. Requires PRO plan.

Install & use this skill

Pick your AI client — install this single skill and call it.

1. Install
npx skills add Docsbook-io/docs-skills --skill docs-release-announce -a claude-code
2. Use
/docs-release-announce

Invoke as a slash command in chat.

Or: runtime discovery via Docsbook MCP

Already connected to the Docsbook MCP server? Skip install — ask your agent to load this skill on demand.

@docsbook find_skill "docs-release-announce"

docs-release-announce — Announce new releases to Slack and/or email

Workflow#

  1. Verify MCP transport — call list_workspaces as a connectivity probe. If it fails, print the MCP connection command and exit gracefully.
  2. Validate inputs — confirm that at least one notification channel is selected. Validate that a Slack URL starts with https://hooks.slack.com/ when Slack is selected; validate that an email address is well-formed when email is selected.
  3. Register the release webhook — generate a fresh HMAC secret and register a webhook that fires when a new release is published on the workspace repository. Surface the secret to the user once.
  4. Generate the handler workflow — produce a GitHub Actions workflow file configured for the selected channels. The workflow triggers on the release: published event and dispatches notifications using secrets stored in the repository.
  5. Write the workflow file — place it at .github/workflows/docsbook-release-announce.yml, creating the directory if needed. Overwrite if the file already exists.
  6. Report — print the workflow path, selected channels, and the names of the repository secrets the user must configure.

Guardrails#

MCP Tools#

Tool Purpose
list_workspaces Probe MCP transport liveness
register_webhook_content_indexed Register a release event webhook on the workspace

Acceptance Criteria#

View source on GitHub →Browse full catalog repo →
Keywords
releaseannounceslackemailwebhooknotifications
MCP tools used
list_workspacesregister_webhook_content_indexed