Nano Banana Pro
Agent skill for nano-banana-pro
**Location**: `packages/skills/CalendarSkill/`
Sign in to like and favorite skills
Location:
packages/skills/CalendarSkill/The CalendarSkill module provides calendar management functionality for the Sapphire Assistant Framework. It demonstrates how to implement a skill module that can handle calendar-related voice commands and operations.
Location:
packages/skills/CalendarSkill/src/main/java/com/example/calendarskill/CalendarService.kt
Purpose: Main service for handling calendar operations including create, retrieve, update, and delete actions.
Key Methods:
onStartCommand(): Processes calendar intents and performs CRUD operationsgetManditoryVariables(): Extracts required parameters (action, dateTime, event)checkForOptional(): Handles optional parameters like descriptionpopulateCalendar(): Manages date/time ranges for eventsFunctionality: Currently logs calendar actions but appears to be a prototype without actual calendar integration.
Location:
packages/skills/CalendarSkill/src/main/java/com/example/calendarskill/CalendarPostOfficeService.kt
Purpose: Handles module registration and file data management for the calendar skill.
Key Methods:
sendFileNames(): Provides list of files this module offerscoreTransferFile(): Manages file transfers between modulesregisterModule(): Registers the calendar module with the coreLocation:
packages/skills/CalendarSkill/src/main/assets/
alarm.intent: Intent patterns for alarm-related commandscalendar.conf: Configuration for calendar operationsdate.entity: Date entity recognition patternsget.intent: Intent patterns for retrieving calendar informationset.intent: Intent patterns for setting calendar eventsSKILL - This module demonstrates the skill architecture for domain-specific functionality.
packages/framework/ComponentFramework/ - Base service functionalitypackages/core/CoreModule/ - Routing and communication// In settings.gradle include ':packages:skills:CalendarSkill' // Build command ./gradlew :packages:skills:CalendarSkill:build
This skill integrates with the Sapphire Framework through:
packages/processing/ProcessorModule/packages/core/CoreModule/packages/framework/ComponentFramework/This module serves as a template for implementing calendar functionality and can be extended to integrate with Android's Calendar Provider or other calendar systems.
examples/HelloWorldSkill/ for a simpler skill examplePrototype - Basic structure implemented but lacks actual calendar integration.