Firebase messaging
Skill GDvega/super-android-kotlin-firebase-skill/skills/firebase-messaging
A modular Agent Skills repository for Android, Kotlin, Jetpack Compose and Firebase development.
npx -y skills add GDvega/super-android-kotlin-firebase-skill --skill firebase-messagingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use for Firebase Cloud Messaging, tokens, notifications, data messages, Android 13+ notification permission, foreground/background handling and push testing.
SKILL.md
2.7 KB, as published. Nobody here has run it
Purpose
Integrate push messaging with clear permissions, safe payloads and testable token handling.
When to use
- Adding FCM notifications or data messages.
- Managing device tokens.
- Handling POST_NOTIFICATIONS permission.
- Debugging foreground/background push behavior.
Inputs to inspect
- Message type and target audience.
- Payload shape and sensitivity.
- Token lifecycle code.
- Permission UX and backend sender.
Required workflow
- Define notification vs data message behavior.
- Add token storage/update strategy.
- Add contextual notification permission flow.
- Handle foreground/background display.
- Test token refresh and message delivery states.
Rules
- Do not put sensitive data in push payloads.
- Do not assume tokens are permanent.
- Handle Android 13+ notification permission.
- Avoid duplicate notifications.
- Document backend and topic risks.
Related existing skills
Local skills to invoke
- firebase-core
- firebase-cloud-functions
- security-privacy
- ui-state-design
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- firebase/agent-skills — use for deeper Firebase product, Firestore, Security Rules or emulator workflow guidance when installed.
Files commonly touched
FirebaseMessagingServicenotification permission UIbackend/functions senderAndroidManifest.xmltests/fakes
Commands to validate
./gradlew assembleDebug
adb shell pm grant <package> android.permission.POST_NOTIFICATIONS
adb logcat
firebase emulators:start
Common mistakes to avoid
- Sending PHI or secrets in payload.
- Ignoring token refresh.
- No fallback when permission is denied.
- Assuming foreground and background behave the same.
Checklist
- Permission flow exists.
- Token lifecycle handled.
- Payload safe.
- Foreground/background tested.
- Backend sender documented.
Example prompts
- Use $super-android-kotlin-firebase to add FCM reminders.
- Use $super-android-kotlin-firebase to debug missing push notifications.
Expected response style
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/fcm-android-permissions.md
- templates/fcm-token-handling-template.md