Add Tracks release skill#363
Draft
mokagio wants to merge 1 commit into
Draft
Conversation
The release workflow here is specific to this Swift Package: release branches carry the version change, and GitHub Releases create the release tags consumed by Swift Package Manager. --- Generated with the help of Codex, https://openai.com/codex Co-Authored-By: Codex GPT-5 <noreply@openai.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a repo-local “release-tracks” skill under .claude/skills/ and links it from AGENTS.md so release runs follow this repository’s Swift Package release flow (release branch + changelog-driven versioning + GitHub Release-created tags).
Changes:
- Add
.claude/skills/release-tracks/SKILL.mddocumenting the Tracks release contract and workflow. - Add an agent descriptor at
.claude/skills/release-tracks/agents/openai.yaml. - Update
AGENTS.mdto reference the new release skill and fix a formatting issue in “Common pitfalls”.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
AGENTS.md |
Adds a “Releases” section pointing to the new release skill; adjusts a pitfall list item formatting. |
.claude/skills/release-tracks/SKILL.md |
Introduces the release contract/workflow for Tracks releases. |
.claude/skills/release-tracks/agents/openai.yaml |
Adds an agent UI config and default prompt for the release skill. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+66
to
+67
| Target `trunk` so GitHub creates the tag on the merge commit. | ||
| `gh release create <version> --target trunk --title <version> --notes-file <notes-file>` is acceptable when the notes file contains only the released changelog section. |
Comment on lines
+72
to
+76
| ```bash | ||
| git fetch origin --tags | ||
| git rev-parse <version> | ||
| git rev-parse origin/trunk | ||
| ``` |
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.
Adds a repo-local release skill for Tracks so release runs follow this repository's Swift Package flow: release branch, changelog-only versioning, and GitHub Releases creating tags.
CHANGELOG.mdif necessary.How to test:
python3 /Users/gio/.codex/skills/.system/skill-creator/scripts/quick_validate.py .claude/skills/release-tracksruby -e "require 'yaml'; YAML.load_file('.claude/skills/release-tracks/agents/openai.yaml')"git diff --checkmise exec ruby@3.2.2 -- ruby -S bundle installPosted by Codex (GPT-5) on behalf of @mokagio with approval.