Improve create-pr skill with cross-platform support and best practices#15748
Improve create-pr skill with cross-platform support and best practices#15748
Conversation
- Add keyword-rich description for better agent discovery - Add example requests, prerequisites, and error handling - Show both bash and PowerShell commands with explanation - Add GH_PAGER explanation and temp file cleanup step
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15748Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15748" |
There was a problem hiding this comment.
Pull request overview
Updates the .github/skills/create-pr skill documentation to better guide agents in creating pull requests using the repo template, with clearer discovery keywords and cross-platform (bash/PowerShell) command guidance.
Changes:
- Expands skill metadata and adds “Example requests” to improve intent matching/discovery.
- Adds prerequisite checks (
ghinstalled + authenticated) and a more structured step-by-step procedure. - Documents bash + PowerShell variants for
gh pr create, addsGH_PAGERrationale, cleanup guidance, and an error-handling table.
- Standardize temp file name to 'pr-body.md' (remove 'e.g.') - Move cleanup step after 'Handle existing PRs' so the temp file is available for gh pr edit
|
No documentation PR is required for this change. Reason: This PR improves an internal AI skill (
|
Description
Improve the
create-prAI skill to follow best practices and work cross-platform.Changes:
ghCLI and auth before startingGH_PAGER=catis bash-only; PowerShell needs$env:GH_PAGER)GH_PAGERexplanation so agents understand why it's neededghnot found, auth issues, push rejected)Checklist