You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial plan
* Fix prompting issues in create-agentic-workflow custom agent
- Update scheduling guidance to use fuzzy schedule syntax: schedule: daily/weekly
- Remove recommendation for GitHub remote mode (already present)
- Remove engine: copilot from templates (it's the default)
- Add guidance to always include workflow_dispatch trigger
- Add guidance for close-older-issues/discussions flag for daily reporting workflows
- Add guidance for skip-if-match filter for daily improver workflows that create PRs
- Update GitHub tool examples to show read-only operations with safe-outputs for writes
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
* Delete duplicate create-agentic-workflow.prompt.md file
The .prompt.md file is a duplicate of .agent.md and is not used anywhere in the codebase.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/agents/create-agentic-workflow.agent.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,12 +84,11 @@ Analyze the user's response and map it to agentic workflows. Ask clarifying ques
84
84
- 💡 If you detect the task requires **browser automation**, suggest the **`playwright`** tool.
85
85
86
86
**Scheduling Best Practices:**
87
-
- 📅 When creating a **daily scheduled workflow**, use **fuzzy scheduling** by simply specifying `daily` without a time. This allows the compiler to automatically distribute workflow execution times across the day, reducing load spikes.
88
-
- ✨ **Recommended**: `cron: daily` (fuzzy schedule - time will be scattered deterministically)
87
+
- 📅 When creating a **daily or weekly scheduled workflow**, use **fuzzy scheduling** by simply specifying `daily` or `weekly` without a time. This allows the compiler to automatically distribute workflow execution times across the day, reducing load spikes.
88
+
- ✨ **Recommended**: `schedule: daily` or `schedule: weekly` (fuzzy schedule - time will be scattered deterministically)
89
89
- ⚠️ **Avoid fixed times**: Don't use explicit times like `cron: "0 0 * * *"` or `daily at midnight` as this concentrates all workflows at the same time, creating load spikes.
90
-
- 🚫 **Avoid weekend scheduling**: For daily workflows that should only run on weekdays, use `cron: "0 <hour> * * 1-5"` pattern after discussing with the user if weekend execution is needed.
91
-
- Example fuzzy daily schedule: `cron: daily` (compiler will scatter to something like `43 5 * * *`)
92
-
- Example daily schedule avoiding weekends: `cron: "0 14 * * 1-5"` (2 PM UTC, weekdays only - use this only if user specifically wants to avoid weekends)
90
+
- Example fuzzy daily schedule: `schedule: daily` (compiler will scatter to something like `43 5 * * *`)
91
+
- Example fuzzy weekly schedule: `schedule: weekly` (compiler will scatter appropriately)
93
92
94
93
DO NOT ask all these questions at once; instead, engage in a back-and-forth conversation to gather the necessary details.
95
94
@@ -222,10 +221,10 @@ DO NOT ask all these questions at once; instead, engage in a back-and-forth conv
222
221
```
223
222
224
223
4. **Generate Workflows** (Both Modes)
225
-
- Author workflows in the **agentic markdown format** (frontmatter: `on:`, `permissions:`, `engine:`, `tools:`, `mcp-servers:`, `safe-outputs:`, `network:`, etc.).
224
+
- Author workflows in the **agentic markdown format** (frontmatter: `on:`, `permissions:`, `tools:`, `mcp-servers:`, `safe-outputs:`, `network:`, etc.).
226
225
- Compile with `gh aw compile` to produce `.github/workflows/<name>.lock.yml`.
227
226
- 💡 If the task benefits from **caching** (repeated model calls, large context reuse), suggest top-level **`cache-memory:`**.
228
-
- ⚙️ Default to **`engine: copilot`** unless the user requests another engine.
227
+
- ⚙️ **Copilot is the default engine** - do NOT include `engine: copilot` in the template unless the user specifically requests a different engine.
229
228
- Apply security best practices:
230
229
- Default to `permissions: read-all` and expand only if necessary.
Copy file name to clipboardExpand all lines: pkg/cli/templates/create-agentic-workflow.agent.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,12 +84,11 @@ Analyze the user's response and map it to agentic workflows. Ask clarifying ques
84
84
- 💡 If you detect the task requires **browser automation**, suggest the **`playwright`** tool.
85
85
86
86
**Scheduling Best Practices:**
87
-
- 📅 When creating a **daily scheduled workflow**, use **fuzzy scheduling** by simply specifying `daily` without a time. This allows the compiler to automatically distribute workflow execution times across the day, reducing load spikes.
88
-
- ✨ **Recommended**: `cron: daily` (fuzzy schedule - time will be scattered deterministically)
87
+
- 📅 When creating a **daily or weekly scheduled workflow**, use **fuzzy scheduling** by simply specifying `daily` or `weekly` without a time. This allows the compiler to automatically distribute workflow execution times across the day, reducing load spikes.
88
+
- ✨ **Recommended**: `schedule: daily` or `schedule: weekly` (fuzzy schedule - time will be scattered deterministically)
89
89
- ⚠️ **Avoid fixed times**: Don't use explicit times like `cron: "0 0 * * *"` or `daily at midnight` as this concentrates all workflows at the same time, creating load spikes.
90
-
- 🚫 **Avoid weekend scheduling**: For daily workflows that should only run on weekdays, use `cron: "0 <hour> * * 1-5"` pattern after discussing with the user if weekend execution is needed.
91
-
- Example fuzzy daily schedule: `cron: daily` (compiler will scatter to something like `43 5 * * *`)
92
-
- Example daily schedule avoiding weekends: `cron: "0 14 * * 1-5"` (2 PM UTC, weekdays only - use this only if user specifically wants to avoid weekends)
90
+
- Example fuzzy daily schedule: `schedule: daily` (compiler will scatter to something like `43 5 * * *`)
91
+
- Example fuzzy weekly schedule: `schedule: weekly` (compiler will scatter appropriately)
93
92
94
93
DO NOT ask all these questions at once; instead, engage in a back-and-forth conversation to gather the necessary details.
95
94
@@ -222,10 +221,10 @@ DO NOT ask all these questions at once; instead, engage in a back-and-forth conv
222
221
```
223
222
224
223
4. **Generate Workflows** (Both Modes)
225
-
- Author workflows in the **agentic markdown format** (frontmatter: `on:`, `permissions:`, `engine:`, `tools:`, `mcp-servers:`, `safe-outputs:`, `network:`, etc.).
224
+
- Author workflows in the **agentic markdown format** (frontmatter: `on:`, `permissions:`, `tools:`, `mcp-servers:`, `safe-outputs:`, `network:`, etc.).
226
225
- Compile with `gh aw compile` to produce `.github/workflows/<name>.lock.yml`.
227
226
- 💡 If the task benefits from **caching** (repeated model calls, large context reuse), suggest top-level **`cache-memory:`**.
228
-
- ⚙️ Default to **`engine: copilot`** unless the user requests another engine.
227
+
- ⚙️ **Copilot is the default engine** - do NOT include `engine: copilot` in the template unless the user specifically requests a different engine.
229
228
- Apply security best practices:
230
229
- Default to `permissions: read-all` and expand only if necessary.
0 commit comments