[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79AHE8DKFXJY7GA1TS2BC6S":3,"skill-same:01M79AHE8DKFXJY7GA1TS2BC6S":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79AHE8DKFXJY7GA1TS2BC6S","push-notification-setup",null,"Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fpush-notification-setup\u002Fskills\u002Fpush-notification-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: push-notification-setup\ndescription: Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.\nmetadata:\n  keywords: \"push notifications, FCM, Firebase Cloud Messaging, iOS notifications, Android notifications, web notifications, React Native notifications, notification permissions, background messages, notification channels, APNS, APNs, notification tokens, remote notifications, foreground notifications, notification handlers\"\nlicense: MIT\n---\n\n# Push Notification Setup\n\nImplement push notifications across mobile and web platforms.\n\n## Firebase Cloud Messaging (React Native)\n\n```javascript\nimport messaging from '@react-native-firebase\u002Fmessaging';\n\n\u002F\u002F Request permission\nasync function requestPermission() {\n  const status = await messaging().requestPermission();\n  if (status === messaging.AuthorizationStatus.AUTHORIZED) {\n    const token = await messaging().getToken();\n    await sendTokenToServer(token);\n  }\n}\n\n\u002F\u002F Handle foreground messages\nmessaging().onMessage(async message => {\n  console.log('Foreground message:', message);\n  showLocalNotification(message);\n});\n\n\u002F\u002F Handle background\u002Fquit messages\nmessaging().setBackgroundMessageHandler(async message => {\n  console.log('Background message:', message);\n});\n\n\u002F\u002F Handle token refresh\nmessaging().onTokenRefresh(token => {\n  sendTokenToServer(token);\n});\n```\n\n## iOS Native (Swift)\n\n```swift\nimport UserNotifications\n\nfunc requestAuthorization() {\n    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in\n        if granted {\n            DispatchQueue.main.async {\n                UIApplication.shared.registerForRemoteNotifications()\n            }\n        }\n    }\n}\n\nfunc application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {\n    let token = deviceToken.map { String(format: \"%02.2hhx\", $0) }.joined()\n    sendTokenToServer(token)\n}\n```\n\n## Android (Kotlin)\n\n```kotlin\nclass MyFirebaseService : FirebaseMessagingService() {\n    override fun onNewToken(token: String) {\n        sendTokenToServer(token)\n    }\n\n    override fun onMessageReceived(message: RemoteMessage) {\n        message.notification?.let {\n            showNotification(it.title, it.body)\n        }\n    }\n\n    private fun showNotification(title: String?, body: String?) {\n        val channelId = \"default\"\n        val notification = NotificationCompat.Builder(this, channelId)\n            .setContentTitle(title)\n            .setContentText(body)\n            .setSmallIcon(R.drawable.ic_notification)\n            .build()\n\n        NotificationManagerCompat.from(this).notify(0, notification)\n    }\n}\n```\n\n## Best Practices\n\n- Request permission at appropriate time\n- Handle token refresh\n- Support notification channels (Android)\n- Implement deep linking\n- Never send sensitive data in payload\n- Test on real devices\n","# Push Notification Setup\n\nImplement push notifications across mobile and web platforms.\n\n## Firebase Cloud Messaging (React Native)\n\n```javascript\nimport messaging from '@react-native-firebase\u002Fmessaging';\n\n\u002F\u002F Request permission\nasync function requestPermission() {\n  const status = await messaging().requestPermission();\n  if (status === messaging.AuthorizationStatus.AUTHORIZED) {\n    const token = await messaging().getToken();\n    await sendTokenToServer(token);\n  }\n}\n\n\u002F\u002F Handle foreground messages\nmessaging().onMessage(async message => {\n  console.log('Foreground message:', message);\n  showLocalNotification(message);\n});\n\n\u002F\u002F Handle background\u002Fquit messages\nmessaging().setBackgroundMessageHandler(async message => {\n  console.log('Background message:', message);\n});\n\n\u002F\u002F Handle token refresh\nmessaging().onTokenRefresh(token => {\n  sendTokenToServer(token);\n});\n```\n\n## iOS Native (Swift)\n\n```swift\nimport UserNotifications\n\nfunc requestAuthorization() {\n    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in\n        if granted {\n            DispatchQueue.main.async {\n                UIApplication.shared.registerForRemoteNotifications()\n            }\n        }\n    }\n}\n\nfunc application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {\n    let token = deviceToken.map { String(format: \"%02.2hhx\", $0) }.joined()\n    sendTokenToServer(token)\n}\n```\n\n## Android (Kotlin)\n\n```kotlin\nclass MyFirebaseService : FirebaseMessagingService() {\n    override fun onNewToken(token: String) {\n        sendTokenToServer(token)\n    }\n\n    override fun onMessageReceived(message: RemoteMessage) {\n        message.notification?.let {\n            showNotification(it.title, it.body)\n        }\n    }\n\n    private fun showNotification(title: String?, body: String?) {\n        val channelId = \"default\"\n        val notification = NotificationCompat.Builder(this, channelId)\n            .setContentTitle(title)\n            .setContentText(body)\n            .setSmallIcon(R.drawable.ic_notification)\n            .build()\n\n        NotificationManagerCompat.from(this).notify(0, notification)\n    }\n}\n```\n\n## Best Practices\n\n- Request permission at appropriate time\n- Handle token refresh\n- Support notification channels (Android)\n- Implement deep linking\n- Never send sensitive data in payload\n- Test on real devices\n",{"name":5,"license":15,"metadata":24,"description":7},{"keywords":25},"push notifications, FCM, Firebase Cloud Messaging, iOS notifications, Android notifications, web notifications, React Native notifications, notification permissions, background messages, notification channels, APNS, APNs, notification tokens, remote notifications, foreground notifications, notification handlers","main","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fpush-notification-setup\u002Fskills\u002Fpush-notification-setup","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill push-notification-setup",{"tool":38,"command":39},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill push-notification-setup",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill push-notification-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fpush-notification-setup\u002Fskills\u002Fpush-notification-setup\u002FSKILL.md",true,[],[47,55,62,69,76,83],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]