---
name: ledgerhq/slack-pr-message
source: https://app.decimal.ai/s/ledgerhq-slack-pr-message@1/SKILL.md
source_sha256: 28028a990888
---

# 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
```