github-release
Skill4 starsChanged 6 months agoMITView on GitHub
Publish a GitHub release using gh CLI. Use when creating a new version tag, writing release notes, or fixing garbled/corrupted characters in release notes. Covers standard release flow, ASCII-safe notes file approach, and Unicode homoglyph prevention.
- Commits and pushes
9 other projects use a version of this.
Adopted by
Most recently taken up by
- h2cone/agent-packstheir own version, first seen Nov 1, 2026
- github/awesome-copilottheir own version, first seen Oct 25, 2026
- like-a-freedom/rusty-intervals-mcptheir own version, first seen Oct 13, 2026
- decentpaste/decentpastetheir own version, first seen Oct 8, 2026
- BenedictKing/ccxtheir own version, first seen Sep 17, 2026
- hjdspace/SpaceCodetheir own version, first seen Jul 21, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- github/awesome-copilot★ 41ksame name
- BenedictKing/ccx★ 4ksame name
- decentpaste/decentpaste★ 249same name
- atman-33/multi-agent-ff15★ 4same name
- hjdspace/SpaceCode★ 4same name
- like-a-freedom/rusty-intervals-mcp★ 4same name
- gauravv-g/claude-skills-collection★ 1same name
- h2cone/agent-packs★ 0same name
- zarvent/v2m-skills★ 0same 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_claude/CLAUDE.mdCLAUDE.md
- dot_claude_legacy/CLAUDE.mdCLAUDE.md
- cache-designSkill
- db-schema-designSkill
- go-new-moduleSkill
- go-perf-diagnoseSkill
- mq-designSkill
- rpc-designSkill
- system-design-docSkill
- npm-codex-enotempty-repairSkill
- middleware-opsSkill
- open-supports-installSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Write notes to .release_notes_tmp.md using create_file tool -- never inline in the shell command.
- Distinctive: line 53
If any characters are found, consult ascii-replacements.md and fix before continuing.
- Very specific: line 77
Always: use --notes-file with a file that has passed the ASCII verification step.
- Very specific: line 78
Keep .release_notes_tmp.md out of version control (add to .gitignore).
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Release
When to Use
- Publishing a new version (patch / minor / major)
- Writing or updating release notes for an existing tag
- Fixing garbled characters (question marks, mojibake) in release notes caused by Unicode homoglyphs
Procedure
Step 1: Collect changes since last tag
git log --oneline <last-tag>..HEAD
git diff <last-tag>..HEAD --stat
gh release view <last-tag> # reference previous notes formatStep 2: Create and push tag
git tag -a <new-tag> -m "release: <new-tag>"
git push origin <new-tag>Step 3: Write release notes to a temp file
Write notes to .release_notes_tmp.md using create_file tool -- never inline in the shell command.
See release-notes-template.md for the recommended structure.
Step 4: Verify pure ASCII (required)
python3 -c "
import sys
data = open('.release_notes_tmp.md', encoding='utf-8').read()
bad = [(i, c, ord(c)) for i, c in enumerate(data) if ord(c) > 127]
print(f'Non-ASCII count: {len(bad)}')
for idx, ch, cp in bad:
print(f' index {idx}: U+{cp:04X} repr={ch!r}')
if bad: sys.exit(1)
"Expected output: Non-ASCII count: 0 and exit code 0.
If any characters are found, consult ascii-replacements.md and fix before continuing.
Step 5: Create release
gh release create <new-tag> --title "<new-tag>" --notes-file .release_notes_tmp.mdStep 6: Cleanup
rm .release_notes_tmp.mdStep 7 (fix existing release): Edit release notes
gh release edit <tag> --notes-file .release_notes_tmp.md
rm .release_notes_tmp.mdKey Constraints
- Never pass AI-generated text as an inline
--notes "..."argument -- Unicode homoglyphs (e.g. CyrillicaU+0430 disguised as Latina) survive copy-paste and corrupt the published notes. - Always use
--notes-filewith a file that has passed the ASCII verification step. - Keep
.release_notes_tmp.mdout of version control (add to.gitignore).
References
- release-notes-template.md -- recommended notes structure
- ascii-replacements.md -- common Unicode-to-ASCII replacement table
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.

