slack-pr-recap
Skill17 starsChanged 9 months agoMITView on GitHub
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.
In this repository12 other files it gives its agents.
- commitSkill
- create-branchSkill
- create-prSkill
- create-skillSkill
- fix-ciSkill
- gh-issueSkill
- merge-to-stagingSkill
- review-pr-commentsSkill
- start-working-on-issueSkill
- test-coverage-improveSkill
- testing-guideSkill
- ui-patternsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Check for documentation changes to understand context:
- Distinctive: line 44
Create a message using Slack formatting:
- Very specific: line 45
Use *text* for bold
- Very specific: line 46
Use <url|text> for links
- Very specific: line 47
Use bullet points with •
- Distinctive: line 66
Use pbcopy to automatically copy the message:
- Distinctive: line 85
Keep the summary to 2-3 bullet points maximum
- Distinctive: line 87
Use documentation changes to understand the purpose
- Distinctive: line 89
Ensure the message renders correctly in Slack
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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,deletions2. Analyze Documentation Changes
Check for documentation changes to understand context:
gh pr diff $ARGUMENT$ -- '*.md' 'docs/*'Focus on:
- CLAUDE.md changes (project documentation updates)
- Any docs/ folder changes
- README updates
- The PR description itself
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:
- 🚀 feat: New feature
- 🐛 fix: Bug fix
- ♻️ refactor: Code refactoring
- 📚 docs: Documentation only
- 🧪 test: Test additions/changes
- 🔧 chore: Maintenance/dependencies
5. Generate Slack Message
Create a message using Slack formatting:
- Use
*text*for bold - Use
<url|text>for links - Use bullet points with
• - Include relevant emojis
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]" | pbcopy7. 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
- Keep the summary to 2-3 bullet points maximum
- Focus on the "what" and "why", not the "how"
- Use documentation changes to understand the purpose
- Make bullet points scannable (short and clear)
- Ensure the message renders correctly in 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.

