Moyu prompt
Fix the bug in `complete_task` function in app.py. When a task_id is not found in the task list, the function crashes with an UnboundLocalError because it tries to access the `task` variable outside the loop. Fix it so that it returns None when the task is not found.when to use it
Community prompt sourced from the open-source GitHub repo uucz/moyu (MIT). A "Moyu prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
uucz/moyu · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar