# Slack PR Message

> Slack PR Message is an Agent Skill for productivity published in the LedgerHQ/ledger-live repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Generate a formatted Slack message to share a pull request with the team. Use when the user asks to generate a Slack message for a PR, share a PR on Slack, or after creating a pull request.

- Skill name: `slack-pr-message`
- Category: [Productivity](https://www.openparable.com/skill/productivity/1)
- Source: https://github.com/LedgerHQ/ledger-live/blob/HEAD/.agents/skills/slack-pr-message/SKILL.md
- Repository: LedgerHQ/ledger-live (604 GitHub stars when collected)

## SKILL.md

# Slack PR Message

Generate a formatted Slack message to announce a pull request.

## Instructions

1. Determine the PR URL and short description from the current context (branch, PR title, or user input).
2. Determine the correct prefix based on impacted packages.
3. Output the formatted message.

## Format

```
:pr-open: {{PREFIX}} - {{SHORT_DESCRIPTION}}
{{PR_URL}}
```

## Prefix Rules

| Impacted packages | Prefix |
|---|---|
| `live-mobile` only | `LWM` |
| `ledger-live-desktop` only | `LWD` |
| `@ledgerhq/live-common` or shared libs | `Common` |
| CI, scripts, developer tooling | `Tooling` |
| Both `live-mobile` and `ledger-live-desktop` | `LWM + LWD` |

When multiple non-app packages are impacted alongside an app, use the app prefix. Combine prefixes only when both apps are affected.

## Example

```
:pr-open: LWM - Add portfolio analytics dashboard
https://github.com/LedgerHQ/ledger-live/pull/1234
```

---

Source: https://www.openparable.com/skill/productivity/slack-pr-message (OpenParable). Cite the canonical URL above.
