[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADNC3S3VWZ1N8M0XN3KXK6":3,"skill-same:01M6ADNC3S3VWZ1N8M0XN3KXK6":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6ADNC3S3VWZ1N8M0XN3KXK6","github-release","GitHub 库版本发布","Guides IA through releasing a new version of a GitHub library end-to-end. Handles SemVer versioning and Keep a Changelog formatting automatically.","引导 IA 端到端完成 GitHub 库的新版本发布。自动处理 SemVer 版本控制和 Keep a Changelog 格式。","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-release\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C78XMS93X21V52649FP9VH","发布经理","PROFESSION","适用职业",[10,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"release","github release","new","cli","keep","ia","guides","end","formatting","version","gh cli","versioning","gh","library","changelog","semver","git","2026-11-10 10:12:30",false,"---\nname: github-release\ndescription: >\n  Guides IA through releasing a new version of a GitHub library end-to-end.\n  Handles SemVer versioning and Keep a Changelog formatting automatically.\ncompatibility: \"requires: gh CLI and git\"\n---\n\n# GitHub Release Skill\n\nThis skill automates the full release workflow for a single-package GitHub repository,\nfrom analysis through changelog authoring and PR creation. It relies exclusively on\n`gh` (GitHub CLI) and `git` no other tools needed.\n\nSteps 1 - 4 are **read-only reconnaissance** nothing is written to the repo until\nStep 5, once the version number is confirmed.\n\n## When to Use This Skill\n\nUse this skill whenever the user wants to cut a new release, publish a new version,\nbump a version, create a release branch, generate a changelog, or open a release PR\non a GitHub repository. Trigger even if the user says something casual like \"let's\nship a new version\" or \"time to release\".\n\n---\n\n## Prerequisites\n\nExamples below include both Bash and PowerShell variants; Windows users should prefer\nthe PowerShell blocks.\n\nBefore starting, verify the environment:\n\n```bash\ngh auth status                        # must be authenticated\ngh repo view --json nameWithOwner     # must be inside a GitHub repo\ngit status                            # working tree should be clean\n```\n\nIf any check fails, stop and tell the user what to fix before continuing.\n\nThen ask the user one question:\n\n> *\"Which directory contains your library's public-facing source code?\n> (e.g. `src\u002F`, `lib\u002F`, `pkg\u002F` - used to focus the diff on what consumers\n> actually see. Press Enter to scan the whole repo.)\"*\n\nStore the answer as `PUBLIC_PATH`. If empty, `PUBLIC_PATH` is `.` (repo root).\nExclude these paths from all diffs regardless: `tests\u002F`, `test\u002F`, `spec\u002F`,\n`__tests__\u002F`, `docs\u002F`, `*.lock`, `*-lock.json`, `*.sum`, generated files\n(files with a \"do not edit\" header comment), and build artefacts.\n\n---\n\n## The 9-Step Release Workflow\n\nWork through every step in order. Show the user what command you're about to run and\nits output. Pause and ask for confirmation only when explicitly noted.\n\n---\n\n### Step 1 - Ensure main is up to date\n\n```bash\ngit checkout main\ngit pull origin main\n```\n\nStay on `main` for now. The release branch is created in Step 5, after the version\nis confirmed.\n\n---\n\n### Step 2 - Grab the latest version tag\n\n> **Why not `gh release list`?** GitHub Releases are an optional layer on top of Git\n> tags. Many repos tag releases with `git tag` without ever creating a GitHub Release,\n> so `gh release list` can return empty even when version tags exist. Reading tags\n> directly from git is the reliable source of truth.\n\n```bash\n# Fetch all tags from remote to ensure local view is current\ngit fetch --tags\n\n# Find the latest version tag, sorted semantically\n# --sort=-version:refname handles 1.10.0 > 1.9.0 correctly (unlike alphabetical)\nPREV_TAG=$(git tag --sort=-version:refname | grep -E '^v?[0-9]+\\.[0-9]+\\.[0-9]+' | head -1)\necho \"Latest tag: $PREV_TAG\"\n```\n\n```PowerShell\n# Fetch all tags from remote to ensure local view is current\ngit fetch --tags\n\n# Find the latest version tag, sorted semantically\n# --sort=-version:refname handles 1.10.0 > 1.9.0 correctly (unlike alphabetical)\n$prevTag = git tag --sort='-version:refname' | `\n  Select-String '^[vV]?\\d+\\.\\d+\\.\\d+' | `\n  Select-Object -First 1 -ExpandProperty Line\n\nif ($prevTag) {\n  $prevSha = git rev-list -n 1 $prevTag\n} else {\n  $prevSha = git rev-list --max-parents=0 HEAD\n}\n\nWrite-Output \"Latest tag: $prevTag\"\n```\n\nThen verify the tag exists on the remote (not just locally):\n\n```bash\ngit ls-remote --tags origin | grep \"refs\u002Ftags\u002F$PREV_TAG$\"\n```\n\nIf the remote check returns nothing, warn the user that the tag appears to be local-only\nand hasn't been pushed - they may want to push it before continuing.\n\n- `PREV_TAG` is the tag name exactly as found (e.g. `v1.4.2`). Strip any leading `v`\n  when doing arithmetic; preserve it when naming things.\n- If **no tags exist at all**, treat `PREV_TAG` as `(none)`, set `PREV_SHA` to the\n  first commit, and default the new version to `1.0.0` (skip Step 4 versioning logic;\n  go straight to Step 5).\n- If the tag does not point to a real commit (orphaned tag), fall back to\n  `git rev-list --max-parents=0 HEAD` and warn the user.\n\n```bash\nPREV_SHA=$(git rev-list -n 1 \"$PREV_TAG\" 2>\u002Fdev\u002Fnull || git rev-list --max-parents=0 HEAD)\n```\n\n---\n\n### Step 3 - Analyse what changed since the last release\n\nThis step uses **two complementary signals**. The code diff is the primary source of\ntruth; commit messages provide supporting context about intent.\n\n#### 3a - Code diff (primary signal)\n\n```bash\n# Focused diff on the public source path, excluding noise\ngit diff \"$PREV_SHA\"..HEAD -- \"$PUBLIC_PATH\" \\\n  ':(exclude)tests\u002F' ':(exclude)test\u002F' ':(exclude)spec\u002F' \\\n  ':(exclude)__tests__\u002F' ':(exclude)docs\u002F' \\\n  ':(exclude)*.lock' ':(exclude)*-lock.json' ':(exclude)*.sum'\n```\n\n```PowerShell\n# Focused diff on the public source path, excluding noise\ngit diff \"$($prevSha)..HEAD\" -- $publicPath `\n  ':(exclude)tests\u002F' ':(exclude)test\u002F' ':(exclude)spec\u002F' `\n  ':(exclude)__tests__\u002F' ':(exclude)docs\u002F' `\n  ':(exclude)*.lock' ':(exclude)*-lock.json' ':(exclude)*.sum'\n```\n\nRead the full diff output. For each changed file, identify:\n\n1. **Removed symbols** - functions, classes, methods, constants, exported names that\n   existed before and are now gone. ? Strong signal for MAJOR.\n2. **Changed signatures** - functions that exist in both versions but with different\n   parameters, return types, or thrown errors. ? Strong signal for MAJOR.\n3. **New exported symbols** - public functions, classes, constants that didn't exist\n   before. ? Signal for MINOR.\n4. **Internal-only changes** - modifications that don't touch any public interface\n   (private helpers, unexported functions, algorithm internals). ? PATCH.\n5. **Bug fixes** - corrections to logic that was provably wrong (e.g. off-by-one,\n   null check, wrong condition), without changing the public API. ? PATCH.\n\nIf the diff is very large (thousands of lines), first run the stat summary to\nprioritise which files to read in full:\n\n```bash\ngit diff \"$PREV_SHA\"..HEAD --stat -- \"$PUBLIC_PATH\"\n```\n\nFocus your detailed reading on files with the most changes and files whose names\nsuggest they define public interfaces (e.g. `index.*`, `api.*`, `exports.*`,\n`public.*`, `mod.*`, `__init__.*`).\n\n#### 3b - Commit log (secondary signal)\n\n```bash\ngit log \"$PREV_SHA\"..HEAD --oneline --no-merges\n```\n\nUse this to:\n- Understand the **intent** behind code changes that aren't self-explanatory from\n  the diff alone (e.g. a one-line security fix labelled as such).\n- Catch changes that may be in paths outside `PUBLIC_PATH` but are still user-visible\n  (e.g. a CLI flag change in a `cmd\u002F` directory).\n- Fill in context for changelog entries where the code alone doesn't tell the whole\n  story.\n\nSee `references\u002Fcommit-classification.md` for mapping message patterns to change types.\n\n#### 3c - Reconcile the two signals\n\nWhen signals agree ? use that classification with confidence.\n\nWhen signals conflict ? **prefer the code diff**. Examples:\n- Commit says `fix: typo` but the diff shows a removed public method ? treat as MAJOR.\n- Commit says `feat: new API` but the diff only touches private internals ? treat as PATCH.\n- Commit says `chore: refactor` but the diff adds new exported symbols ? treat as MINOR.\n\nDocument any conflicts you notice - flag them to the user during the changelog review\nin Step 6.\n\n---\n\n### Step 4 - Determine the next SemVer version\n\nApply these rules to your analysis from Step 3 (full rules in `references\u002Fsemver-rules.md`):\n\n| Condition | Bump |\n|---|---|\n| Any breaking change to public API (removal, signature change, behaviour change) | MAJOR |\n| New exported symbol or feature, no breaking changes | MINOR |\n| Bug fix, perf improvement, security fix, docs, chore only | PATCH |\n\nWhen a release contains a mix, the **highest precedence wins**:\n`MAJOR > MINOR > PATCH`.\n\nCompute `NEXT_VERSION`:\n- Split `PREV_TAG` into `MAJOR.MINOR.PATCH` integers.\n- Apply the appropriate bump.\n- Format as `vMAJOR.MINOR.PATCH`.\n\n**Present the proposed version to the user** with a brief rationale that cites\nspecific code findings, not just commit messages. Example:\n\n> *\"I'm proposing v2.1.0. The diff shows two new exported functions (`NewClient` and\n> `WithTimeout`) in `src\u002Fclient.go`, and no existing public symbols were removed or\n> changed. Commit messages corroborate this as feature additions.\"*\n\nAsk: *\"Does this version look right, or would you like to adjust it?\"*\nWait for confirmation before proceeding.\n\n---\n\n### Step 5 - Create the release branch\n\nNow that the version is confirmed, create the branch with the correct name from the start:\n\n```bash\ngit checkout -b release\u002FvX.Y.Z\ngit push -u origin release\u002FvX.Y.Z\n```\n\n---\n\n### Step 6 - Update CHANGELOG.md\n\nRead the existing `CHANGELOG.md` (or create it if absent). Follow the\n[Keep a Changelog](https:\u002F\u002Fkeepachangelog.com\u002Fen\u002F1.1.0\u002F) format strictly.\n\n**Structure to insert** at the top (just below the `# Changelog` header):\n\n```markdown\n## [X.Y.Z] - YYYY-MM-DD\n\n### Added\n- ...\n\n### Changed\n- ...\n\n### Deprecated\n- ...\n\n### Removed\n- ...\n\n### Fixed\n- ...\n\n### Security\n- ...\n```\n\nRules:\n- Use today's date in `YYYY-MM-DD` format.\n- Omit sections that have no entries - don't leave empty headings.\n- Write entries in **plain English from a user's perspective**, derived primarily\n  from what the code diff shows, supplemented by commit message context.\n  Good: *\"Added `WithTimeout` option to HTTP client constructor.\"*\n  Bad: *\"feat: add timeout cfg param\"*\n- Map findings to sections:\n  - New exported symbol ? Added\n  - Breaking removal ? Removed\n  - Breaking change to existing API ? Changed (flag it as breaking)\n  - Bug\u002Flogic fix, perf ? Fixed\n  - Security fix ? Security\n  - Internal refactor, docs, chore, test ? omit unless user-visible\n- If a commit message revealed intent that the code diff alone wouldn't convey\n  (e.g. a security fix disguised as a one-line change), include that context in\n  the changelog entry.\n- Also update the diff link at the bottom of the file:\n  ```markdown\n  [X.Y.Z]: https:\u002F\u002Fgithub.com\u002FOWNER\u002FREPO\u002Fcompare\u002FvPREV...vNEXT\n  ```\n\n**Show the user the proposed changelog section before writing it to disk.**\nIf any signal conflicts were found in Step 3c, flag them here so the user can verify.\nAsk: *\"Does this changelog look accurate? Any entries to add, remove, or reword?\"*\nIncorporate feedback, then write to disk.\n\n---\n\n### Step 7 - Commit and push\n\n```bash\ngit add CHANGELOG.md\ngit commit -m \"chore: release vX.Y.Z\"\ngit push origin release\u002FvX.Y.Z\n```\n\nConfirm the push succeeded before moving on.\n\n---\n\n### Step 8 - Open a Pull Request\n\n**?? IMPORTANT:** Always use `--body-file` to pass PR body text, never `--body` with inline text.\nInline escape sequences like `\\n` are not interpreted as newlines by PowerShell and will appear\nas literal text in the PR. Using a file ensures proper markdown formatting.\n\n```bash\ngh pr create \\\n  --base main \\\n  --head release\u002FvX.Y.Z \\\n  --title \"Release vX.Y.Z\" \\\n  --body \"$(cat \u003C\u003C'EOF'\n## Release vX.Y.Z\n\nThis PR prepares the **vX.Y.Z** release.\n\n### What's included\n\u003C!-- paste the changelog section here -->\n\n### Checklist\n- [ ] Changelog reviewed\n- [ ] Version bump verified\n- [ ] CI passing\n\nAfter merging, create the tag on the merge commit:\n\\`\\`\\`\ngit tag vX.Y.Z \u003Cmerge-commit-sha>\ngit push origin vX.Y.Z\n\\`\\`\\`\nEOF\n)\"\n```\n\n````PowerShell\n# Create PR body using here-string (preserves actual newlines, not escape sequences)\n$prBody = @\"\n## Release vX.Y.Z\n\nThis PR prepares the **vX.Y.Z** release.\n\n### What's included\n\u003Cpaste changelog here>\n\n### Checklist\n- [ ] Changelog reviewed\n- [ ] Version bump verified\n- [ ] CI passing\n\nAfter merging, create the tag on the merge commit:\n```\ngit tag vX.Y.Z \u003Cmerge-commit-sha>\ngit push origin vX.Y.Z\n```\n\"@\n\n# Write to file and use --body-file (do NOT use inline --body with escape sequences)\n$prBody | Out-File -FilePath release_pr_body.md -Encoding utf8 -NoNewline\ngh pr create --base main --head release\u002FvX.Y.Z --title \"Release vX.Y.Z\" --body-file release_pr_body.md\n````\n\nPaste the changelog section into the PR body's \"What's included\" block (or leave placeholder for manual review).\n\n\n---\n\n### Step 9 - Hand off to the user\n\nTell the user:\n\n> **Release PR is open! ??**\n>\n> New version: **vX.Y.Z**\n>\n> Once the PR is reviewed and merged, you'll need to **create the tag yourself** on\n> the merge commit:\n>\n> ```bash\n> git tag vX.Y.Z \u003Cmerge-commit-sha>\n> git push origin vX.Y.Z\n> ```\n>\n> Then go to GitHub Releases and publish the release from that tag. You can copy the\n> changelog section directly into the release notes.\n\n---\n\n## Error handling\n\n| Situation | What to do |\n|---|---|\n| `gh auth status` fails | Stop; tell user to run `gh auth login` |\n| Not inside a git repo | Stop; tell user to `cd` into their repo |\n| Working tree is dirty | Warn; ask if they want to stash or abort |\n| No commits since last tag | Tell user there's nothing to release |\n| Tag exists but points to no commit | Use first commit as diff base; warn user |\n| Latest tag exists locally but not on remote | Warn user; ask if they want to push the tag first or continue anyway |\n| Diff is empty for `PUBLIC_PATH` but commits exist | Warn; all changes may be internal; ask if they still want to proceed |\n| `git push` fails (e.g. protected branch rules) | Report the error verbatim; suggest they check branch protection settings |\n\n---\n\n## Troubleshooting in PowerShell\n\n- If a command that works locally prints gh usage or treats a subcommand as separate token, ensure you're\n  invoking the gh.exe on PATH (Get-Command gh) and avoid passing unexpanded nested substitutions; use the PowerShell\n  patterns above.\n- Recommend tests: gh --version; git fetch --tags; run the PowerShell snippet to set $prevTag and run git diff --name-only $prevSha..HEAD -- src\u002F\n\n---\n\n## Limitations\n\n- Requires the `gh` CLI to be installed and authenticated.\n- Requires git tags to determine current version.\n\n---\n\n## Reference files\n\n- `references\u002Fsemver-rules.md` - Extended SemVer decision rules and edge cases\n- `references\u002Fcommit-classification.md` - Heuristics for classifying commit messages into change types\n","# GitHub Release Skill\n\nThis skill automates the full release workflow for a single-package GitHub repository,\nfrom analysis through changelog authoring and PR creation. It relies exclusively on\n`gh` (GitHub CLI) and `git` no other tools needed.\n\nSteps 1 - 4 are **read-only reconnaissance** nothing is written to the repo until\nStep 5, once the version number is confirmed.\n\n## When to Use This Skill\n\nUse this skill whenever the user wants to cut a new release, publish a new version,\nbump a version, create a release branch, generate a changelog, or open a release PR\non a GitHub repository. Trigger even if the user says something casual like \"let's\nship a new version\" or \"time to release\".\n\n---\n\n## Prerequisites\n\nExamples below include both Bash and PowerShell variants; Windows users should prefer\nthe PowerShell blocks.\n\nBefore starting, verify the environment:\n\n```bash\ngh auth status                        # must be authenticated\ngh repo view --json nameWithOwner     # must be inside a GitHub repo\ngit status                            # working tree should be clean\n```\n\nIf any check fails, stop and tell the user what to fix before continuing.\n\nThen ask the user one question:\n\n> *\"Which directory contains your library's public-facing source code?\n> (e.g. `src\u002F`, `lib\u002F`, `pkg\u002F` - used to focus the diff on what consumers\n> actually see. Press Enter to scan the whole repo.)\"*\n\nStore the answer as `PUBLIC_PATH`. If empty, `PUBLIC_PATH` is `.` (repo root).\nExclude these paths from all diffs regardless: `tests\u002F`, `test\u002F`, `spec\u002F`,\n`__tests__\u002F`, `docs\u002F`, `*.lock`, `*-lock.json`, `*.sum`, generated files\n(files with a \"do not edit\" header comment), and build artefacts.\n\n---\n\n## The 9-Step Release Workflow\n\nWork through every step in order. Show the user what command you're about to run and\nits output. Pause and ask for confirmation only when explicitly noted.\n\n---\n\n### Step 1 - Ensure main is up to date\n\n```bash\ngit checkout main\ngit pull origin main\n```\n\nStay on `main` for now. The release branch is created in Step 5, after the version\nis confirmed.\n\n---\n\n### Step 2 - Grab the latest version tag\n\n> **Why not `gh release list`?** GitHub Releases are an optional layer on top of Git\n> tags. Many repos tag releases with `git tag` without ever creating a GitHub Release,\n> so `gh release list` can return empty even when version tags exist. Reading tags\n> directly from git is the reliable source of truth.\n\n```bash\n# Fetch all tags from remote to ensure local view is current\ngit fetch --tags\n\n# Find the latest version tag, sorted semantically\n# --sort=-version:refname handles 1.10.0 > 1.9.0 correctly (unlike alphabetical)\nPREV_TAG=$(git tag --sort=-version:refname | grep -E '^v?[0-9]+\\.[0-9]+\\.[0-9]+' | head -1)\necho \"Latest tag: $PREV_TAG\"\n```\n\n```PowerShell\n# Fetch all tags from remote to ensure local view is current\ngit fetch --tags\n\n# Find the latest version tag, sorted semantically\n# --sort=-version:refname handles 1.10.0 > 1.9.0 correctly (unlike alphabetical)\n$prevTag = git tag --sort='-version:refname' | `\n  Select-String '^[vV]?\\d+\\.\\d+\\.\\d+' | `\n  Select-Object -First 1 -ExpandProperty Line\n\nif ($prevTag) {\n  $prevSha = git rev-list -n 1 $prevTag\n} else {\n  $prevSha = git rev-list --max-parents=0 HEAD\n}\n\nWrite-Output \"Latest tag: $prevTag\"\n```\n\nThen verify the tag exists on the remote (not just locally):\n\n```bash\ngit ls-remote --tags origin | grep \"refs\u002Ftags\u002F$PREV_TAG$\"\n```\n\nIf the remote check returns nothing, warn the user that the tag appears to be local-only\nand hasn't been pushed - they may want to push it before continuing.\n\n- `PREV_TAG` is the tag name exactly as found (e.g. `v1.4.2`). Strip any leading `v`\n  when doing arithmetic; preserve it when naming things.\n- If **no tags exist at all**, treat `PREV_TAG` as `(none)`, set `PREV_SHA` to the\n  first commit, and default the new version to `1.0.0` (skip Step 4 versioning logic;\n  go straight to Step 5).\n- If the tag does not point to a real commit (orphaned tag), fall back to\n  `git rev-list --max-parents=0 HEAD` and warn the user.\n\n```bash\nPREV_SHA=$(git rev-list -n 1 \"$PREV_TAG\" 2>\u002Fdev\u002Fnull || git rev-list --max-parents=0 HEAD)\n```\n\n---\n\n### Step 3 - Analyse what changed since the last release\n\nThis step uses **two complementary signals**. The code diff is the primary source of\ntruth; commit messages provide supporting context about intent.\n\n#### 3a - Code diff (primary signal)\n\n```bash\n# Focused diff on the public source path, excluding noise\ngit diff \"$PREV_SHA\"..HEAD -- \"$PUBLIC_PATH\" \\\n  ':(exclude)tests\u002F' ':(exclude)test\u002F' ':(exclude)spec\u002F' \\\n  ':(exclude)__tests__\u002F' ':(exclude)docs\u002F' \\\n  ':(exclude)*.lock' ':(exclude)*-lock.json' ':(exclude)*.sum'\n```\n\n```PowerShell\n# Focused diff on the public source path, excluding noise\ngit diff \"$($prevSha)..HEAD\" -- $publicPath `\n  ':(exclude)tests\u002F' ':(exclude)test\u002F' ':(exclude)spec\u002F' `\n  ':(exclude)__tests__\u002F' ':(exclude)docs\u002F' `\n  ':(exclude)*.lock' ':(exclude)*-lock.json' ':(exclude)*.sum'\n```\n\nRead the full diff output. For each changed file, identify:\n\n1. **Removed symbols** - functions, classes, methods, constants, exported names that\n   existed before and are now gone. ? Strong signal for MAJOR.\n2. **Changed signatures** - functions that exist in both versions but with different\n   parameters, return types, or thrown errors. ? Strong signal for MAJOR.\n3. **New exported symbols** - public functions, classes, constants that didn't exist\n   before. ? Signal for MINOR.\n4. **Internal-only changes** - modifications that don't touch any public interface\n   (private helpers, unexported functions, algorithm internals). ? PATCH.\n5. **Bug fixes** - corrections to logic that was provably wrong (e.g. off-by-one,\n   null check, wrong condition), without changing the public API. ? PATCH.\n\nIf the diff is very large (thousands of lines), first run the stat summary to\nprioritise which files to read in full:\n\n```bash\ngit diff \"$PREV_SHA\"..HEAD --stat -- \"$PUBLIC_PATH\"\n```\n\nFocus your detailed reading on files with the most changes and files whose names\nsuggest they define public interfaces (e.g. `index.*`, `api.*`, `exports.*`,\n`public.*`, `mod.*`, `__init__.*`).\n\n#### 3b - Commit log (secondary signal)\n\n```bash\ngit log \"$PREV_SHA\"..HEAD --oneline --no-merges\n```\n\nUse this to:\n- Understand the **intent** behind code changes that aren't self-explanatory from\n  the diff alone (e.g. a one-line security fix labelled as such).\n- Catch changes that may be in paths outside `PUBLIC_PATH` but are still user-visible\n  (e.g. a CLI flag change in a `cmd\u002F` directory).\n- Fill in context for changelog entries where the code alone doesn't tell the whole\n  story.\n\nSee `references\u002Fcommit-classification.md` for mapping message patterns to change types.\n\n#### 3c - Reconcile the two signals\n\nWhen signals agree ? use that classification with confidence.\n\nWhen signals conflict ? **prefer the code diff**. Examples:\n- Commit says `fix: typo` but the diff shows a removed public method ? treat as MAJOR.\n- Commit says `feat: new API` but the diff only touches private internals ? treat as PATCH.\n- Commit says `chore: refactor` but the diff adds new exported symbols ? treat as MINOR.\n\nDocument any conflicts you notice - flag them to the user during the changelog review\nin Step 6.\n\n---\n\n### Step 4 - Determine the next SemVer version\n\nApply these rules to your analysis from Step 3 (full rules in `references\u002Fsemver-rules.md`):\n\n| Condition | Bump |\n|---|---|\n| Any breaking change to public API (removal, signature change, behaviour change) | MAJOR |\n| New exported symbol or feature, no breaking changes | MINOR |\n| Bug fix, perf improvement, security fix, docs, chore only | PATCH |\n\nWhen a release contains a mix, the **highest precedence wins**:\n`MAJOR > MINOR > PATCH`.\n\nCompute `NEXT_VERSION`:\n- Split `PREV_TAG` into `MAJOR.MINOR.PATCH` integers.\n- Apply the appropriate bump.\n- Format as `vMAJOR.MINOR.PATCH`.\n\n**Present the proposed version to the user** with a brief rationale that cites\nspecific code findings, not just commit messages. Example:\n\n> *\"I'm proposing v2.1.0. The diff shows two new exported functions (`NewClient` and\n> `WithTimeout`) in `src\u002Fclient.go`, and no existing public symbols were removed or\n> changed. Commit messages corroborate this as feature additions.\"*\n\nAsk: *\"Does this version look right, or would you like to adjust it?\"*\nWait for confirmation before proceeding.\n\n---\n\n### Step 5 - Create the release branch\n\nNow that the version is confirmed, create the branch with the correct name from the start:\n\n```bash\ngit checkout -b release\u002FvX.Y.Z\ngit push -u origin release\u002FvX.Y.Z\n```\n\n---\n\n### Step 6 - Update CHANGELOG.md\n\nRead the existing `CHANGELOG.md` (or create it if absent). Follow the\n[Keep a Changelog](https:\u002F\u002Fkeepachangelog.com\u002Fen\u002F1.1.0\u002F) format strictly.\n\n**Structure to insert** at the top (just below the `# Changelog` header):\n\n```markdown\n## [X.Y.Z] - YYYY-MM-DD\n\n### Added\n- ...\n\n### Changed\n- ...\n\n### Deprecated\n- ...\n\n### Removed\n- ...\n\n### Fixed\n- ...\n\n### Security\n- ...\n```\n\nRules:\n- Use today's date in `YYYY-MM-DD` format.\n- Omit sections that have no entries - don't leave empty headings.\n- Write entries in **plain English from a user's perspective**, derived primarily\n  from what the code diff shows, supplemented by commit message context.\n  Good: *\"Added `WithTimeout` option to HTTP client constructor.\"*\n  Bad: *\"feat: add timeout cfg param\"*\n- Map findings to sections:\n  - New exported symbol ? Added\n  - Breaking removal ? Removed\n  - Breaking change to existing API ? Changed (flag it as breaking)\n  - Bug\u002Flogic fix, perf ? Fixed\n  - Security fix ? Security\n  - Internal refactor, docs, chore, test ? omit unless user-visible\n- If a commit message revealed intent that the code diff alone wouldn't convey\n  (e.g. a security fix disguised as a one-line change), include that context in\n  the changelog entry.\n- Also update the diff link at the bottom of the file:\n  ```markdown\n  [X.Y.Z]: https:\u002F\u002Fgithub.com\u002FOWNER\u002FREPO\u002Fcompare\u002FvPREV...vNEXT\n  ```\n\n**Show the user the proposed changelog section before writing it to disk.**\nIf any signal conflicts were found in Step 3c, flag them here so the user can verify.\nAsk: *\"Does this changelog look accurate? Any entries to add, remove, or reword?\"*\nIncorporate feedback, then write to disk.\n\n---\n\n### Step 7 - Commit and push\n\n```bash\ngit add CHANGELOG.md\ngit commit -m \"chore: release vX.Y.Z\"\ngit push origin release\u002FvX.Y.Z\n```\n\nConfirm the push succeeded before moving on.\n\n---\n\n### Step 8 - Open a Pull Request\n\n**?? IMPORTANT:** Always use `--body-file` to pass PR body text, never `--body` with inline text.\nInline escape sequences like `\\n` are not interpreted as newlines by PowerShell and will appear\nas literal text in the PR. Using a file ensures proper markdown formatting.\n\n```bash\ngh pr create \\\n  --base main \\\n  --head release\u002FvX.Y.Z \\\n  --title \"Release vX.Y.Z\" \\\n  --body \"$(cat \u003C\u003C'EOF'\n## Release vX.Y.Z\n\nThis PR prepares the **vX.Y.Z** release.\n\n### What's included\n\u003C!-- paste the changelog section here -->\n\n### Checklist\n- [ ] Changelog reviewed\n- [ ] Version bump verified\n- [ ] CI passing\n\nAfter merging, create the tag on the merge commit:\n\\`\\`\\`\ngit tag vX.Y.Z \u003Cmerge-commit-sha>\ngit push origin vX.Y.Z\n\\`\\`\\`\nEOF\n)\"\n```\n\n````PowerShell\n# Create PR body using here-string (preserves actual newlines, not escape sequences)\n$prBody = @\"\n## Release vX.Y.Z\n\nThis PR prepares the **vX.Y.Z** release.\n\n### What's included\n\u003Cpaste changelog here>\n\n### Checklist\n- [ ] Changelog reviewed\n- [ ] Version bump verified\n- [ ] CI passing\n\nAfter merging, create the tag on the merge commit:\n```\ngit tag vX.Y.Z \u003Cmerge-commit-sha>\ngit push origin vX.Y.Z\n```\n\"@\n\n# Write to file and use --body-file (do NOT use inline --body with escape sequences)\n$prBody | Out-File -FilePath release_pr_body.md -Encoding utf8 -NoNewline\ngh pr create --base main --head release\u002FvX.Y.Z --title \"Release vX.Y.Z\" --body-file release_pr_body.md\n````\n\nPaste the changelog section into the PR body's \"What's included\" block (or leave placeholder for manual review).\n\n\n---\n\n### Step 9 - Hand off to the user\n\nTell the user:\n\n> **Release PR is open! ??**\n>\n> New version: **vX.Y.Z**\n>\n> Once the PR is reviewed and merged, you'll need to **create the tag yourself** on\n> the merge commit:\n>\n> ```bash\n> git tag vX.Y.Z \u003Cmerge-commit-sha>\n> git push origin vX.Y.Z\n> ```\n>\n> Then go to GitHub Releases and publish the release from that tag. You can copy the\n> changelog section directly into the release notes.\n\n---\n\n## Error handling\n\n| Situation | What to do |\n|---|---|\n| `gh auth status` fails | Stop; tell user to run `gh auth login` |\n| Not inside a git repo | Stop; tell user to `cd` into their repo |\n| Working tree is dirty | Warn; ask if they want to stash or abort |\n| No commits since last tag | Tell user there's nothing to release |\n| Tag exists but points to no commit | Use first commit as diff base; warn user |\n| Latest tag exists locally but not on remote | Warn user; ask if they want to push the tag first or continue anyway |\n| Diff is empty for `PUBLIC_PATH` but commits exist | Warn; all changes may be internal; ask if they still want to proceed |\n| `git push` fails (e.g. protected branch rules) | Report the error verbatim; suggest they check branch protection settings |\n\n---\n\n## Troubleshooting in PowerShell\n\n- If a command that works locally prints gh usage or treats a subcommand as separate token, ensure you're\n  invoking the gh.exe on PATH (Get-Command gh) and avoid passing unexpanded nested substitutions; use the PowerShell\n  patterns above.\n- Recommend tests: gh --version; git fetch --tags; run the PowerShell snippet to set $prevTag and run git diff --name-only $prevSha..HEAD -- src\u002F\n\n---\n\n## Limitations\n\n- Requires the `gh` CLI to be installed and authenticated.\n- Requires git tags to determine current version.\n\n---\n\n## Reference files\n\n- `references\u002Fsemver-rules.md` - Extended SemVer decision rules and edge cases\n- `references\u002Fcommit-classification.md` - Heuristics for classifying commit messages into change types\n",{"name":5,"description":53,"compatibility":54},"Guides IA through releasing a new version of a GitHub library end-to-end. Handles SemVer versioning and Keep a Changelog formatting automatically.\n","requires: gh CLI and git","main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fgithub-release",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add github\u002Fawesome-copilot --skill github-release",{"tool":71,"command":72},"bunx","bunx skills add github\u002Fawesome-copilot --skill github-release",{"tool":74,"command":75},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill github-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-release\u002FSKILL.md",true,[79,85,89],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"agents\u002Fopenai.yaml","REFERENCE","参考文档",144,"https:\u002F\u002Fgithub.com\u002FHasarAli\u002Fdotfiles\u002Fblob\u002Fmain\u002Fdot-agents\u002Fskills\u002Fwayfinder\u002Fagents\u002Fopenai.yaml",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fcommit-classification.md",2915,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-release\u002Freferences\u002Fcommit-classification.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fsemver-rules.md",2999,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fgithub-release\u002Freferences\u002Fsemver-rules.md",[94,102,109,119,146,171],{"skillNo":95,"name":96,"nameZh":17,"description":97,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":103,"name":104,"nameZh":17,"description":105,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":101},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":113,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":118},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":120,"name":121,"nameZh":17,"description":122,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":48},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[],[126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],"supabase rls policies","supabase rls","supabase","rls","project","with","when","review","change","read","write","security","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":147,"name":148,"nameZh":17,"description":149,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":48},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[],[153,154,155,156,157,31,158,159,160,161,162,163,164,165,166,167,168,169,40,170],"distribution","skill distribution audit","audit","output","reconcile","template","duplicate","investigate","drift","SET","deterministic","installer","for","discovery","comparison","helper","manifest","collection",{"skillNo":172,"name":173,"nameZh":17,"description":174,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":175,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":48},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[],[179,180,181,182,183,184,185,165,130,186,187,188,189,190,191,192,143,193,194,195],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]