feat(community): add prayer-times ability#217
Conversation
Skill + Background Daemon combo for Islamic prayer times: - Voice queries: next prayer, all times, specific prayer lookup - Background reminders: 5-min advance + adhan notification - Location-based via Aladhan API (free, no key required) - Multiple calculation methods (ISNA, MWL, Diyanet, etc.) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove resume_normal_flow() from daemon loop (daemons run indefinitely) - Fix send_interrupt_signal(): no arguments, must be awaited - Use speak() separately after interrupt signal - Make _safe_interrupt async with proper await chain Addresses feedback from @uzair401 on PR openhome-dev#216
✅ Community PR Path Check — PassedAll changed files are inside the |
🔀 Branch Merge CheckPR direction: ✅ Passed — |
✅ Ability Validation Passed |
🔍 Lint Results✅
|
|
Hello @mahsumaktas, Thanks for the submission again, here are a few suggestions to implement to make the conversation feel more natural for the user:
|
- SYSTEM_PROMPT: add 'Respond ONLY with valid JSON' instruction, replace API-style examples with natural spoken phrasing - Split all_times into two speak() calls (3+3) to avoid run-on sentence - Map method number to name before speaking (e.g. 'ISNA' not '2') - Shorten setup prompt: use run_io_loop() instead of speak+user_response - Drop 'You can change this anytime' (no visible menu on voice device) - Improve error messages with actionable hints - Naturalize daemon reminder text - Tighten all spoken strings for voice-first delivery Addresses review from @uzair401 on PR openhome-dev#217
|
Thanks @uzair401 for the thorough voice UX review! All 12 suggestions implemented:
|
uzair401
left a comment
There was a problem hiding this comment.
Approved for community.
We will proceed with adopting this ability for a 30-day evaluation period to monitor performance, identify any bugs, and implement any necessary fixes or optimizations. If the ability proves stable and meets our quality standards during this period, we will move forward with publishing it to the marketplace, ensuring full credit is given to the original author for their work and contribution.
We truly appreciate your effort and encourage you to continue developing and submitting new abilities. Contributions like yours help strengthen the ecosystem, and we look forward to seeing more of your work.
Summary
Voice-activated Islamic prayer times assistant with automatic background reminders.
Changes Since #216
Fixed both issues raised by @uzair401:
resume_normal_flow()from the daemon loop — daemons run indefinitely, this call is incorrect theresend_interrupt_signal(): now awaited with no arguments, followed byspeak()for the actual message;_safe_interruptis nowasyncVerified against the Background and Alarm templates.