hex-release
Skill1 starsChanged 8 months agoApache-2.0View on GitHub
Guide interactive Hex package release for AgentJido repositories. Supports automated GitHub Actions and manual release workflows. Use when asked to release, publish to Hex, bump version, or create a new release.
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- agentjido/jido_aitheir own version, first seen Feb 19, 2026
- agentjido/jidotheir own version, first seen Feb 16, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- agentjido/jido★ 1.9ksame name
- agentjido/jido_ai★ 207same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- jido-actionSkill
- jido-agentSkill
- jido-aiSkill
- jido-coreSkill
- jido-testingSkill
- pr-reviewSkill
- hex-releaseSkill
- jido-actionSkill
- jido-agentSkill
- jido-aiSkill
- jido-coreSkill
- jido-testingSkill
- pr-reviewSkill
- hex-releaseSkill
- jido-actionSkill
- jido-agentSkill
- jido-aiSkill
- jido-coreSkill
- jido-testingSkill
- pr-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 18 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Run all pre-flight checks before proceeding with either release path.
- Distinctive: line 40
If any git or path dependencies exist, stop.
- Distinctive: line 52
Must be on main branch
- Distinctive: line 53
Must be up to date with remote: git pull --ff-only
- Distinctive: line 62
If there are no commits since the last tag, there is nothing to release.
- Very specific: line 72
All tests must pass. If mix quality is not available, run:
- Very specific: line 93
Use this path when the repository has a release.yml workflow configured.
- Distinctive: line 135
Use this path when GitHub Actions are not available or when you need more control over the release process.
- Distinctive: line 150
If the proposed bump is not what you want, you can force a specific version:
- Very specific: line 165
Update the version in mix.exs
- Very specific: line 166
Update CHANGELOG.md with categorized commits
- Distinctive: line 167
Create a git commit with the version bump
- Very specific: line 168
Create a git tag vX.Y.Z
- Distinctive: line 179
Commit messages are properly categorized
- Distinctive: line 180
No sensitive information is included
- Distinctive: line 183
If edits are needed:
- Distinctive: line 233
If you haven't pushed yet, undo the release commit and tag:
- Distinctive: line 244
If you've pushed but haven't published to Hex:
- Distinctive: line 261
If you've already published to Hex, you have 24 hours to revert:
- Distinctive: line 267
After 24 hours, a published version cannot be reverted.
- Very specific: line 289
Always run --dry-run first before any actual release
- Very specific: line 290
Verify CHANGELOG.md is accurate and complete before pushing
- Distinctive: line 291
Run the full test suite before releasing
- Distinctive: line 292
Check for git/path dependencies before attempting Hex publish
- Distinctive: line 302
Delete and re-create tags on the remote — this confuses downstream users
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hex Release
Interactive guide for releasing AgentJido packages to Hex.pm. Supports both automated (GitHub Actions) and manual release workflows.
Pre-flight Checks
Run all pre-flight checks before proceeding with either release path. Stop and report if any check fails.
1. Identify Package
# Read mix.exs to get package name and current version
grep -E '(version:|@version|app:)' mix.exsRecord the current version and package name for later steps.
2. Check for Blocked Dependencies
# Look for git or path dependencies that prevent Hex publish
grep -E '(git:|path:|github:)' mix.exs mix.lockIf any git or path dependencies exist, stop. These must be replaced with published Hex dependencies before release.
3. Verify Git Status
# Must be on main branch with a clean working tree
git status --porcelain
git branch --show-current- Working tree must be clean (no uncommitted changes)
- Must be on
mainbranch - Must be up to date with remote:
git pull --ff-only
4. Check for Releasable Commits
# List commits since last tag
git log $(git describe --tags --abbrev=0 2>/dev/null || echo "HEAD~20")..HEAD --onelineIf there are no commits since the last tag, there is nothing to release.
5. Run Tests and Quality Checks
mix deps.get
mix test
mix qualityAll tests must pass. If mix quality is not available, run:
mix format --check-formatted
mix credo --strict
mix dialyzer6. Dry-Run Hex Publish
mix hex.publish --dry-runReview the output carefully:
- Confirm the listed files are correct (no secrets, no build artifacts)
- Confirm the package metadata is accurate
- Confirm the version is what you expect
Path A: Automated Release (GitHub Actions)
Use this path when the repository has a release.yml workflow configured.
1. Trigger the Release Workflow
# Standard release
gh workflow run release.yml
# With options
gh workflow run release.yml -f dry_run=true
gh workflow run release.yml -f hex_dry_run=true
gh workflow run release.yml -f skip_tests=trueAvailable flags:
dry_run— Run the full workflow without publishing or pushinghex_dry_run— Runmix hex.publish --dry-runinstead of actual publishskip_tests— Skip the test suite (use only if tests were just run locally)
Always run with dry_run=true first to verify the workflow completes
successfully before doing a real release.
2. Monitor Workflow Progress
# Watch the most recent run
gh run list --workflow=release.yml --limit=1
gh run watch3. Verify Completion
# Check the release was created
gh release list --limit=1
# Verify the package is on Hex
mix hex.info <package_name>Path B: Manual Release
Use this path when GitHub Actions are not available or when you need more control over the release process.
1. Preview Version Bump
# Dry-run to see what version would be created
mix git_ops.release --dry-runReview the proposed version bump:
fix:commits → patch bump (0.1.0 → 0.1.1)feat:commits → minor bump (0.1.0 → 0.2.0)BREAKING CHANGE:→ major bump (0.1.0 → 1.0.0)
If the proposed bump is not what you want, you can force a specific version:
mix git_ops.release --new-version=X.Y.Z --dry-run2. Execute Version Bump
mix git_ops.release
# or with a specific version:
mix git_ops.release --new-version=X.Y.ZThis will:
- Update the version in
mix.exs - Update
CHANGELOG.mdwith categorized commits - Create a git commit with the version bump
- Create a git tag
vX.Y.Z
3. Review CHANGELOG.md
# Review the generated changelog entry
head -50 CHANGELOG.mdVerify:
- The version header is correct
- Commit messages are properly categorized
- No sensitive information is included
- Breaking changes are clearly documented
If edits are needed:
# Amend the release commit with changelog fixes
# Edit CHANGELOG.md as needed, then:
git add CHANGELOG.md
git commit --amend --no-edit
git tag -f vX.Y.Z4. Push Release
# Push the commit and tag
git push origin main
git push origin vX.Y.Z5. Publish to Hex
mix hex.publishConfirm the publish when prompted. Verify the package is available:
mix hex.info <package_name>6. Create GitHub Release
# Extract the changelog entry for this version
# Create a GitHub release with the changelog as the body
gh release create vX.Y.Z \
--title "vX.Y.Z" \
--notes-file <(awk '/^## v?X\.Y\.Z/{found=1;next} /^## v?[0-9]/{if(found)exit} found' CHANGELOG.md)Alternatively, create the release interactively:
gh release create vX.Y.Z --generate-notesRollback Instructions
Pre-Push Rollback
If you haven't pushed yet, undo the release commit and tag:
git tag -d vX.Y.Z
git reset --soft HEAD~1This preserves your changes in the staging area so you can fix and re-release.
Post-Push Rollback
If you've pushed but haven't published to Hex:
# Revert the release commit
git revert HEAD
git push origin main
# Delete the remote tag
git push origin --delete vX.Y.Z
git tag -d vX.Y.Z
# Delete the GitHub release if created
gh release delete vX.Y.Z --yesPost-Publish Rollback
If you've already published to Hex, you have 24 hours to revert:
mix hex.publish --revert X.Y.ZAfter 24 hours, a published version cannot be reverted. You must publish a new patch version with the fix instead.
Also revert the git and GitHub release:
git revert HEAD
git push origin main
git push origin --delete vX.Y.Z
gh release delete vX.Y.Z --yesInvocation
$ hex-releaseDO / DON'T
DO
- Always run
--dry-runfirst before any actual release - Verify
CHANGELOG.mdis accurate and complete before pushing - Run the full test suite before releasing
- Check for git/path dependencies before attempting Hex publish
- Confirm you are on
mainwith a clean working tree - Review the files included in the Hex package during dry-run
DON'T
- Force-push release commits — use
git revertinstead - Skip pre-flight checks, even for "small" releases
- Release from a branch other than
main - Publish to Hex before pushing the git tag
- Delete and re-create tags on the remote — this confuses downstream users
- Release if any git or path dependencies exist in mix.exs
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

