-
Notifications
You must be signed in to change notification settings - Fork 35
Fix create-agentic-workflow agent prompting patterns #6999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- 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>
| - What should trigger the workflow (`on:` — e.g., issues, pull requests, schedule, slash command)? | ||
| - What should the agent do (comment, triage, create PR, fetch API data, etc.)? | ||
| - ⚠️ 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). | ||
| - 💡 If you detect the task requires **browser automation**, suggest the **`playwright`** tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot delete this file, it is a duplicate of the .agent.md file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Deleted the duplicate file in d6b7fc5.
|
🎉 Yo ho ho! Smoke Copilot Safe Inputs found the treasure and completed successfully! ⚓💰 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS. |
|
✅ Firewall validation complete... Smoke Codex Firewall confirmed network sandboxing is operational. 🛡️ |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Status: PASS (4/4 core tests)
|
Smoke Test Results (Claude Sonnet 4.5)Last 2 merged PRs:
Tests: Status: PASS (5/6 tests passed)
|
|
Smoke Test Results for Copilot Engine Last 2 Merged PRs:
Test Results:
Overall: PASS cc @pelikhan
|
|
Recent merged PRs: Document CLI version changes: Codex 0.74.0+ and GitHub MCP Server v0.26.0+; [WIP] Fix markdown lint issues and inconsistencies
|
Smoke Test ResultsLast 2 Merged PRs: Unable to retrieve (GitHub MCP not configured) Overall Status: PARTIAL PASS (3/5 tests passed)
|
|
Smoke test results:
|
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>
Fix create-agentic-workflow agent prompting patterns
✅ All Requirements Implemented
1. Workflow .md file location in .github/workflows folder
.github/workflows/folder2. Do not recommend GitHub remote mode
3. Use fuzzy schedule syntax for daily/weekly schedules
cron: dailytoschedule: daily, addedschedule: weeklysupport4. Copilot is the default, do not add to template
engine: copilotfrom example templates, updated guidance text5. Add close-older-issue/discussion flag for daily reporting workflows
6. Use skip-if-match for daily improver workflows that create PRs
7. Always add workflow_dispatch trigger
Files Modified
.github/agents/create-agentic-workflow.agent.mdpkg/cli/templates/create-agentic-workflow.agent.md(deleted - duplicate file)pkg/cli/templates/create-agentic-workflow.prompt.mdTesting & Verification
make buildmake test-unitAdditional Improvements
.prompt.mdfile per feedbackOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.