git-release-craft
Skill0 starsChanged 2 months agoMITView on GitHub
Automates the complete Git release lifecycle: atomic conventional commits, semantic version bumps, mandatory Linux x86_64 GitHub Actions workflows for binary apps, rich aesthetic release descriptions, tag creation, and autonomous closed-loop workflow verification and self-healing.
- Installs packages
- Commits and pushes
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- kurokoSkill
- tayoriSkill
- xerjSkill
- aesthetic-readme-craftSkill
- cli-builderSkill
- codebase-digestSkill
- git-repo-craftSkill
- karakuriSkill
- python-clean-codeSkill
- rust-clean-codeSkill
- rust-style-pythonSkill
- systematic-code-verificationSkill
- compose-clean-codeSkill
- bash-clean-codeSkill
- tui-designSkill
- frontend-designSkill
- web-design-guidelinesSkill
- unslopSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Craft a Proper Description: Never use blank releases or bare --generate-notes.
- Distinctive: line 22
Autonomously Heal Failures: If GitHub Actions or release builds fail, diagnose and fix them immediately without asking for permission to …
- Distinctive: line 29
Before publishing a release for any repository that produces a standalone binary (e.g.
- Very specific: line 32
Check if .github/workflows/release.yml exists.
- Distinctive: line 91
Before tagging or creating a release:
- Very specific: line 97
Update Cargo.toml, pyproject.toml, or package.json to target version vX.Y.Z.
- Distinctive: line 108
Every release must have a rich, beautifully structured description matching this format:
- Very specific: line 174
Wait for all active workflows (Release, CI, Build) to finish:
- Very specific: line 180
If any workflow fails (conclusion: failure):
- Very specific: line 200
Run tests and lints locally (cargo test, cargo clippy, cargo fmt).
- Distinctive: line 225
When cleaning up older development or superseded tags:
- Distinctive: line 241
Always provide a verified release report:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
git-release-craft Skill: Release Lifecycle & Workflow Verification
Automates production releases with aesthetic, well-formatted release notes, mandatory multi-arch GitHub Actions workflows for binary applications, and autonomous verification and self-healing of CI/CD pipelines.
1. The Golden Rules: Never Stop at Git Push & Never Fire-and-Forget
- Mandatory Binary Release Trigger (Never Stop at
git push): For any repository producing or distributing standalone compiled binaries (Rust CLI, Go, C/C++, etc.) or embedding assets at compile time (such askarakuri), a code modification is NEVER complete atgit push. Pushing tomainwithout releasing leaves binary users and installer scripts with stale builds. Every commit modifying code, dependencies, or compile-time embedded assets MUST automatically trigger the complete release lifecycle: version bump, release tag, aesthetic notes, and closed-loop CI verification. Never wait for the user to ask "why didn't you release a tag?". - Ensure Release Workflows Exist: Any project producing standalone compiled binaries must have a verified
.github/workflows/release.yml. - Craft a Proper Description: Never use blank releases or bare
--generate-notes. Every release must follow the aesthetic highlight format. - Actively Monitor Workflows: Watch the triggered GitHub Actions CI/Release pipelines until completion.
- Autonomously Heal Failures: If GitHub Actions or release builds fail, diagnose and fix them immediately without asking for permission to resolve release errors.
- Verify Release Assets: Confirm that compiled binaries, packages, or checksums are physically generated and attached to the release.
2. Mandatory Release Workflow for Binary Projects (Linux x86_64)
Before publishing a release for any repository that produces a standalone binary (e.g. Rust CLI or application, Go, C/C++):
- Verify Workflow Existence:
Check if
.github/workflows/release.ymlexists. If missing, create it before tagging. Releases are strictly targeted to Linuxx86_64(x86_64-unknown-linux-gnu) onubuntu-latest. - Standard Linux x86_64 Release Workflow Template (Rust Example):
Place at
.github/workflows/release.yml:
name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
publish:
name: Build & Publish (x86_64-unknown-linux-gnu)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
with:
key: x86_64-unknown-linux-gnu
cache-all-crates: "true"
- name: Build release binary
run: cargo build --release --target x86_64-unknown-linux-gnu
- name: Package archive & compute checksums
shell: bash
run: |
mkdir -p dist
SRC_BIN="target/x86_64-unknown-linux-gnu/release/<binary_name>"
cp "${SRC_BIN}" <binary_name>
tar -czf "dist/<binary_name>-x86_64-linux.tar.gz" <binary_name>
cd dist
sha256sum * > "<binary_name>-x86_64-linux.tar.gz.sha256"
- name: Upload archives to GitHub Release
uses: softprops/action-gh-release@v2
with:
files: dist/*3. Pre-Release Quality Checklist
Before tagging or creating a release:
- Verify Local Quality:
- Rust:
cargo test --all-targets && cargo clippy --all-targets -- -D warnings && cargo fmt --check - Python:
uv run pytest && uv run ruff check && uv run ruff format --check && uv run mypy .
- Rust:
- Bump Semantic Version:
- Update
Cargo.toml,pyproject.toml, orpackage.jsonto target versionvX.Y.Z.
- Update
- Commit Manifest Changes:
git add Cargo.toml Cargo.lock # or pyproject.toml / uv.lock git commit -m "chore(release): bump to vX.Y.Z"
4. Aesthetic Release Note Template (Mandatory)
Every release must have a rich, beautifully structured description matching this format:
# 🌸 <Project Name> vX.Y.Z ✨
<One-sentence punchy summary highlighting the theme or milestone of this release>
### 🌟 Key Highlights (or 🌸 What's New in vX.Y.Z)
- **• <Icon> <Feature / Fix Name>**: <Clear, concrete explanation of what changed and its user impact>.
- **• <Icon> <Feature / Fix Name>**: <Clear, concrete explanation of what changed and its user impact>.
- **• <Icon> <Feature / Fix Name>**: <Clear, concrete explanation of what changed and its user impact>.
- **• ✒️ Strict Codebase Quality**: <Mention code quality achievements: 100% tests passing, zero warnings, clean architecture>.
### 🚀 Direct Download & Run
```bash
<One-line curl installer, cargo install, or package manager command>
### Example Icons to Use:
- `✨` / `🌟` : Major new features
- `⚡` / `🚀` : Performance boosts, cloud offloading
- `📦` : Standalone binaries, asset bundling
- `🤫` / `🛡️` : Silent clutter-free logging, security, safety
- `🌸` / `🎨` : UI/TUI polish, aesthetics, styling
- `🐛` / `🔧` : Bug fixes, stability patches
---
## 5. Tagging & Publishing the Release
```bash
# 1. Create annotated tag locally
git tag -a vX.Y.Z -m "<Project Name> vX.Y.Z: <Short Summary>"
# 2. Push commit and tag to remote
git push origin <branch>
git push origin vX.Y.Z
# 3. Write release notes to a temporary file
cat << 'NOTES_EOF' > /tmp/release_notes.md
<Aesthetic Release Notes from Section 4>
NOTES_EOF
# 4. Create the official GitHub release
gh release create vX.Y.Z \
--title "🌸 <Project Name> vX.Y.Z ✨" \
--notes-file /tmp/release_notes.md
rm -f /tmp/release_notes.md6. Post-Release Verification & Autonomous Self-Healing
Immediately after publishing the release:
Step 6.1: Retrieve Triggered Actions
gh run list --limit 4 --json databaseId,name,status,conclusion,headBranch,urlStep 6.2: Watch and Verify Workflows
Wait for all active workflows (Release, CI, Build) to finish:
gh run watch <run_id>Step 6.3: Autonomous Failure Recovery Loop (Zero Permission-Seeking)
If any workflow fails (conclusion: failure):
[!IMPORTANT] Do NOT ask the user for permission to fix a failed release workflow! Never ask: "I made a mistake, would you like me to fix it?" or "Do you allow me to fix this?". The error happened during the release execution initiated by the agent. You are 100% responsible for delivering a working, green release. Fix it autonomously.
Autonomous Healing Protocol:
- Inspect Failed Logs:
gh run view <run_id> --log-failed - Diagnose Root Cause:
- Compiler or clippy errors on matrix targets.
- Missing cross-compilation linker (e.g.
aarch64-linux-gnu-gcc). - Packaging path or binary naming mismatch.
- GitHub Actions permission issues (
contents: write).
- Fix Immediately: Apply code or workflow fixes directly in the workspace.
- Verify Locally:
Run tests and lints locally (
cargo test,cargo clippy,cargo fmt). - Update Release Tag & Re-Push:
git add -A git commit -m "fix(ci): resolve release build failure for <target>" git push origin <branch> git tag -fa vX.Y.Z -m "<Project Name> vX.Y.Z: <Summary>" git push origin vX.Y.Z --force - Re-watch & Iterate: Monitor the newly triggered workflow run until all jobs are GREEN. Repeat until successful.
Step 6.4: Inspect Uploaded Assets
Confirm that release artifacts are physically attached to the release:
gh release view vX.Y.ZVerify:
- Pre-compiled binaries/archives exist (e.g.
.tar.gz,.zip,.whl). - Cross-platform targets are present (
x86_64andaarch64).
7. Stale Tag & Release Cleanup (Hygiene)
When cleaning up older development or superseded tags:
# Delete GitHub release
gh release delete <tag> -y
# Delete remote git tag
git push origin --delete <tag>
# Delete local tag
git tag -d <tag>8. Report Format to User
Always provide a verified release report:
- Release tag & title link.
- Summary of published highlights.
- CI/CD workflow status (Jobs passed, run time).
- List of uploaded artifacts with file sizes.
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.

