Slack pr recap

From Hey-Diga/dotclaude · View interactive version

Slack pr recap is an AI agent skill from the GitHub repository Hey-Diga/dotclaude. Generate a Slack recap message for a pull request and copy to clipboard. Use when a PR is ready to share with the team on Slack.

How to use this skill

Skill file

Slack PR Recap for PR #$ARGUMENT$

Generate a concise, Slack-friendly recap message for the specified pull request.

Process

1. Fetch PR Information

Get the PR details:

gh pr view $ARGUMENT$ --json title,body,url,state,author,files,additions,deletions

2. Analyze Documentation Changes

Check for documentation changes to understand context:

gh pr diff $ARGUMENT$ -- '*.md' 'docs/*'

Focus on:

3. Change Statistics

The additions, deletions, and files data is already available from the JSON output in step 1.

4. Determine Change Type

Based on the PR title, description, and changes, identify the type:

5. Generate Slack Message

Create a message using Slack formatting:

Message Template:

๐Ÿš€ *[PR Title]* (#[number])

๐Ÿ“ *What changed:*
โ€ข [Key change 1 - derived from docs/description]
โ€ข [Key change 2]
โ€ข [Key change 3 if needed]

๐Ÿ”ง *Type:* [Feature/Bugfix/Refactor/etc]
๐Ÿ“ *Scope:* [X] files changed (+[additions] -[deletions])

๐Ÿ”— <[PR URL]|View PR>

6. Copy to Clipboard

Use pbcopy to automatically copy the message:

echo "[generated message]" | pbcopy

7. Output

Display the message and confirm it's been copied to clipboard:

โœ… Slack message copied to clipboard!

--- Message Preview ---
[show the message]
-----------------------

Ready to paste into Slack!

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.