Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

android-notifications

БесплатноБез исполняемых скриптовНе проверен

Push notifications for Android using Firebase Cloud Messaging and NotificationCompat. Use when integrating FCM or local notifications in Android apps…

ComeOnOliverот ComeOnOliver★ 67 звёзд на GitHub

Об этом скилле

Android Notifications

Priority: P2 (OPTIONAL)

Push notifications using Firebase Cloud Messaging.

Implementation Guidelines

  • Channels: Create NotificationChannel with a unique ID (required for API 26+). Notifications without a valid channel are silently dropped. Use NotificationCompat for backwards compatibility.
  • Permissions: Explicitly request POST_NOTIFICATIONS on Android 13+ (API 33). Avoid requesting system permission on app launch; show a priming dialog first to explain the benefit.
  • Service: Implement FirebaseMessagingService with onMessageReceived and onNewToken for background push handling. Declare the service in AndroidManifest with the MESSAGING_EVENT intent action.
  • Flow: Handle notification taps in both onCreate and onNewIntent using PendingIntent. Pass data between activities via Intent extras.
  • Payload: Limit the notification payload to essential IDs. Perform background data fetching via WorkManager if more data is needed.

Anti-Patterns

  • No Missing Channel: Notifications fail silently without channels on API 26+.
  • No Unconditional Requests: Don't spam permission dialog on first launch.
  • No Missing Manifest: Service must be declared with MESSAGING_EVENT action.

References

Установить android-notifications в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл android-notifications?

Push notifications for Android using Firebase Cloud Messaging and NotificationCompat. Use when integrating FCM or local notifications in Android apps. (triggers: **/*Notification*.kt, **/MainActivity.kt, FirebaseMessaging, NotificationCompat, NotificationChannel, FCM)

Как установить скилл android-notifications?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл android-notifications запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить android-notifications с