agentleFS
Hey-DigaHey-Diga/dotclaude/skills/slack-pr-recap/SKILL.md

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.

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
  1. Distinctive:

    Check for documentation changes to understand context:

    line 20
  2. Distinctive:

    Create a message using Slack formatting:

    line 44
  3. Very specific:

    Use *text* for bold

    line 45
  4. Very specific:

    Use <url|text> for links

    line 46
  5. Very specific:

    Use bullet points with •

    line 47
  6. Distinctive:

    Use pbcopy to automatically copy the message:

    line 66
  7. Distinctive:

    Keep the summary to 2-3 bullet points maximum

    line 85
  8. Distinctive:

    Use documentation changes to understand the purpose

    line 87
  9. Distinctive:

    Ensure the message renders correctly in Slack

    line 89

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  • 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]" | 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

  • 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.