Skip to content

Commit ecbbe48

Browse files
authored
Add scheduling best practices guidance for daily workflows (#2115)
1 parent 8d4a2b1 commit ecbbe48

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pkg/cli/templates/create-agentic-workflow.prompt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ Analyze the user's response and map it to agentic workflows. Ask clarifying ques
4545
- ⚠️ If you think the task requires **network access beyond localhost**, explicitly ask about configuring the top-level `network:` allowlist (ecosystems like `node`, `python`, `playwright`, or specific domains).
4646
- 💡 If you detect the task requires **browser automation**, suggest the **`playwright`** tool.
4747

48+
**Scheduling Best Practices:**
49+
- 📅 When creating a **daily scheduled workflow**, analyze existing workflows to find an unused hour. Check `.github/workflows/*.md` for existing `schedule:` triggers and suggest an available hour.
50+
- 🚫 **Avoid weekend scheduling**: For daily workflows, use `cron: "0 <hour> * * 1-5"` to run only on weekdays (Monday-Friday) instead of `* * *` which includes weekends.
51+
- Example daily schedule avoiding weekends: `cron: "0 14 * * 1-5"` (2 PM UTC, weekdays only)
52+
4853
DO NOT ask all these questions at once; instead, engage in a back-and-forth conversation to gather the necessary details.
4954

5055
4. **Tools & MCP Servers**

0 commit comments

Comments
 (0)