docs: add self-contained and Copilot debugging prompts to authoring guides and debug.md#20349
docs: add self-contained and Copilot debugging prompts to authoring guides and debug.md#20349
Conversation
…ches Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ned prompts Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in b8e7443. Added a "How to Use This Prompt" section at the top of
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Pull request overview
Updates the documentation to provide copy-pasteable prompts for debugging failing GitHub Actions runs via the agentic-workflows agent (Copilot) or a self-contained debug.md URL that works with other assistants.
Changes:
- Adds a “Debugging Workflows” section to the authoring guide with Copilot and self-contained invocation options.
- Adds a “Self-Contained Debugging (Without Copilot)” section to the custom agent reference, including a copy button for
debug.md. - Enhances the root
debug.mdtemplate with a new “How to Use This Prompt” section showing both invocation approaches.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/src/content/docs/reference/custom-agent-for-aw.mdx | Documents a self-contained debugging prompt (URL-based) alongside existing Copilot examples. |
| docs/src/content/docs/guides/agentic-authoring.mdx | Adds a dedicated debugging section with both Copilot and self-contained flows plus a copy button. |
| debug.md | Adds top-level usage guidance presenting both Copilot and self-contained invocation options. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| ## How to Use This Prompt | ||
|
|
||
| There are two ways to invoke this debugging workflow: | ||
|
|
||
| ### Option A: Through Copilot | ||
|
|
||
| If your repository is configured with the `agentic-workflows` agent, use Copilot Chat: | ||
|
|
There was a problem hiding this comment.
In debug.md, the new “How to Use This Prompt” section is written as end-user instructions, but the file itself is explicitly addressed to “you, a coding agent”. Option A (“Through Copilot”) doesn’t actually use this prompt and may distract/confuse agents consuming the file via the self-contained flow. Consider rewording this section to clearly separate human invocation options from the agent instructions (e.g., rename to “How to Debug a Run”, and/or add a one-line directive like “If you are an AI reading this file as the prompt, skip to Step 1”).
Debugging docs lacked copy-paste prompts showing users how to invoke the agentic workflows agent to diagnose a failing run. Two approaches are now documented in the authoring guide, the agent reference, and the root-level
debug.mdtemplate.Changes
guides/agentic-authoring.mdx— New "Debugging Workflows" section with two sub-sections:/agent agentic-workflows debug <URL>for repos with the agent installeddebug.mdraw URL, works with any AI assistant; includes aCopyEntireFileButtonreference/custom-agent-for-aw.mdx— New "Self-Contained Debugging (Without Copilot)" sub-section added after existing Copilot examples, covering repos not yet set up with the agentdebug.md— New "How to Use This Prompt" section at the top presenting both approaches side by side before the step-by-step instructions:/agent agentic-workflows debug <URL>debug.mdURL with any AI assistantSelf-contained prompt template
Follows the same URL-based pattern already used for repository initialization (
install.md).Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.