Move breaking-change-doc scripts into scripts/ and use bare skill-relative paths#127977
Open
lewing wants to merge 2 commits intodotnet:mainfrom
Open
Move breaking-change-doc scripts into scripts/ and use bare skill-relative paths#127977lewing wants to merge 2 commits intodotnet:mainfrom
lewing wants to merge 2 commits intodotnet:mainfrom
Conversation
Aligns the breaking-change-doc skill with the agentskills.io recommended layout: executable code goes in scripts/, not at the skill root. Get-VersionInfo.ps1 -> scripts/Get-VersionInfo.ps1 Build-IssueComment.ps1 -> scripts/Build-IssueComment.ps1 Updated all references: - 4 invocation paths in SKILL.md - 1 usage example comment in each script (2 total) Pure file moves preserved via git mv (similarity 100% before the in-script comment edit). No behavioral change.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reorganizes the breaking-change-doc GitHub skill to follow the conventional scripts/ layout by moving the two PowerShell helper scripts under a scripts/ subdirectory and updating all in-repo references accordingly.
Changes:
- Relocated
Get-VersionInfo.ps1andBuild-IssueComment.ps1into.github/skills/breaking-change-doc/scripts/. - Updated invocation paths in
SKILL.mdto reference the newscripts/locations. - Updated the usage-example header comments inside both scripts to match the new paths.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/skills/breaking-change-doc/SKILL.md | Updates documentation and command examples to use the new scripts/ paths. |
| .github/skills/breaking-change-doc/scripts/Get-VersionInfo.ps1 | Updates the header usage example to the new script location (no functional change). |
| .github/skills/breaking-change-doc/scripts/Build-IssueComment.ps1 | Updates the header usage example to the new script location (no functional change). |
The agentskills.io spec shows skill-relative paths (e.g. scripts/foo.py) rather than repo-relative ones. Switch the two pwsh invocation examples in SKILL.md to that form. The 'files in this skill' table on lines 46-48 keeps repo-relative paths because it also lists files outside the skill (workflow files), and mixing styles in one table would be jarring.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns the
breaking-change-docskill with the agentskills.io spec:scripts/subdirectory (the spec's recommended layout).scripts/Get-VersionInfo.ps1) in the two pwsh invocation examples in SKILL.md, to match the sample in the spec.The "files in this skill" table at lines 46-48 keeps its repo-relative paths because it also lists files outside the skill (the workflow .md and .lock.yml), and mixing styles in one table would be jarring.
No behavioral change; pure path/layout updates.