AN

android-notifications

Implements Firebase push notifications on Android using NotificationCompat and proper channel handling.

Install

mkdir -p .claude/skills/android-notifications && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9419" && unzip -o skill.zip -d .claude/skills/android-notifications && rm skill.zip

Installs to .claude/skills/android-notifications

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Integrate push notifications using Firebase Cloud Messaging and NotificationCompat on Android. Use when setting up FCM, creating notification channels, or handling local notifications.
184 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Create NotificationChannel for Android API 26+
  • Request POST_NOTIFICATIONS permission on Android 13+
  • Implement FirebaseMessagingService for background push handling
  • Handle notification taps using PendingIntent
  • Pass data between activities via Intent extras
  • Limit notification payload to essential IDs

How it works

The skill uses Firebase Cloud Messaging and NotificationCompat to display notifications, manage channels, and handle user interactions.

Inputs & outputs

You give it
Firebase Cloud Message
You get back
Android notification or handled tap event

When to use android-notifications

  • Setup Firebase Cloud Messaging
  • Create notification channels for API 26+
  • Request notification permissions
  • Handle push notification taps

About this skill

Android Notifications

Priority: P2 (MEDIUM)

Implementation Guidelines

  • Channels: Create NotificationChannel with unique ID (required for API 26+). Notifications without valid channel 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 priming dialog first to explain benefit.
  • Service: Implement FirebaseMessagingService with onMessageReceived and onNewToken for background push handling. Declare service in AndroidManifest with MESSAGING_EVENT intent action.
  • Flow: Handle notification taps in both onCreate and onNewIntent using PendingIntent. Pass data between activities via Intent extras.
  • Payload: Limit notification payload to essential IDs. Perform background data fetching via WorkManager if more data 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 declared with MESSAGING_EVENT action.

References

When not to use it

  • When deferring Flutter
  • When deferring server sends
  • When deferring WorkManager orchestration

Limitations

  • Notifications without valid channels are silently dropped on API 26+
  • Service must be declared in AndroidManifest with MESSAGING_EVENT action

How it compares

This skill provides specific Android implementation details for Firebase Cloud Messaging, unlike a generic notification setup.

Compared to similar skills

android-notifications side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
android-notifications (this skill)03moNo flagsBeginner
android-kotlin-development2685moReviewAdvanced
kotlin-multiplatform323moReviewAdvanced
android-kotlin74moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

android-kotlin-development

aj-geddes

Develop native Android apps with Kotlin. Covers MVVM with Jetpack, Compose for modern UI, Retrofit for API calls, Room for local storage, and navigation architecture.

268679

kotlin-multiplatform

vitorpamplona

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS) with web/wasm future considerations. Integrates with gradle-expert for dependency issues. Triggers on: abstraction decisions ("should I share this?"), source set placement questions, expect/actual creation, build.gradle.kts work, incorrect placement detection, KMP dependency suggestions.

32156

android-kotlin

alinaqi

Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing

729

testing-android-code

bitwarden

This skill should be used when writing or reviewing tests for Android code in Bitwarden. Triggered by "BaseViewModelTest", "BitwardenComposeTest", "BaseServiceTest", "stateEventFlow", "bufferedMutableSharedFlow", "FakeDispatcherManager", "expectNoEvents", "assertCoroutineThrows", "createMockCipher", "createMockSend", "asSuccess", "Why is my Bitwarden test failing?", or testing questions about ViewModels, repositories, Compose screens, or data sources in Bitwarden.

611

reviewing-changes

bitwarden

Guides Android code reviews with type-specific checklists and MVVM/Compose pattern validation. Use when reviewing Android PRs, pull requests, diffs, or local changes involving Kotlin, ViewModel, Composable, Repository, or Gradle files. Triggered by "review PR", "review changes", "check this code", "Android review", or code review requests mentioning bitwarden/android. Loads specialized checklists for feature additions, bug fixes, UI refinements, refactoring, dependency updates, and infrastructure changes.

12

trail-sense-android-tests

kylecorry31

Add UI automation tests to Trail-Sense Android app using AutomationLibrary. Use when asked to create, add, write, or implement automated tests, UI tests, integration tests, or androidTests for Trail Sense tools. Covers test class structure, AutomationLibrary functions, and testing patterns.

11

Search skills

Search the agent skills registry