electron-release
Skill83 starsChanged 4 months agoMITView on GitHub
Prepare and publish a new macOS arm64 Electron release for this repository. Use only when the user explicitly invokes $electron-release or directly asks to version, build, commit, push, and publish an Electron release to GitHub.
- Commits and pushes
3 other projects use a version of this.
Adopted by
Most recently taken up by
- laststance/skillstheir own version, first seen Sep 21, 2026
- FelipeAngeli/skillstheir own version, first seen Apr 10, 2026
- pedronauck/skillstheir own version, first seen Apr 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- pedronauck/skills★ 633same name
- FelipeAngeli/skills★ 2same name
- laststance/skills★ 1same 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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- electron-buildSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
8
Distinctive
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
- Distinctive: line 14
Treat explicit invocation or a direct release request as authorization for this release sequence, not for unrelated local files.
- Distinctive: line 20
Stop for user direction when a dirty file's inclusion is ambiguous or the current branch, remote, or release target is unexpected.
- Distinctive: line 22
Never delete or overwrite a remote release, tag, or pushed commit as automatic error recovery.
- Very specific: line 33
Verify GitHub CLI authentication with gh auth status.
- Very specific: line 41
Read the version from package.json.
- Very specific: line 42
Run npm version patch --no-git-tag-version so package.json and an existing package-lock.json advance together.
- Distinctive: line 44
Verify the top-level versions match and inspect the version-file diff.
- Distinctive: line 50
Run targeted tests appropriate to the reviewed changes and any additional checks required by AGENTS.md.
- Very specific: line 52
Run npm run electron:build.
- Distinctive: line 55
Verify these non-empty artifacts for the new version:
- Distinctive: line 60
Do not create the release commit when required validation or artifact checks fail.
- Very specific: line 86
Create the GitHub release with gh release create, targeting the pushed release commit and attaching only the verified DMG and ZIP.
- Very specific: line 88
Verify the release with gh release view: confirm its URL, target commit, tag, and both downloadable assets.
- Distinctive: line 91
If publishing fails after the commit was pushed, report the exact remote state and retry only the failed release step when safe.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Release Electron Build
Release the reviewed repository changes as the next patch version. This workflow changes version files, creates a commit, pushes it, and creates a public GitHub release, so keep every step scoped and verifiable.
Safety Rules
- Treat explicit invocation or a direct release request as authorization for this release sequence, not for unrelated local files.
- Inspect the worktree before changing it. Preserve unrelated edits and never
use
git add -Aorgit add .. - Exclude local-only state such as
.codex/audit/, root-level generated bundles, screenshots, caches, credentials, and environment files. - Stop for user direction when a dirty file's inclusion is ambiguous or the current branch, remote, or release target is unexpected.
- Never delete or overwrite a remote release, tag, or pushed commit as automatic error recovery.
1. Preflight
- Resolve the Git root and read the applicable
AGENTS.mdandCLAUDE.md. - Inspect
git status --short, the complete relevant diff, the current branch, its upstream, and the configured GitHub remote. - Classify every changed and untracked file as release content, required version metadata, generated artifact, or unrelated local state. Record the exact paths intended for the commit.
- Verify GitHub CLI authentication with
gh auth status. - Refresh tags from the release remote and query the latest published release
with
gh release list. Do not rely only on potentially stale local tags. - Confirm that the next patch version and its
v<version>tag do not already exist locally or on GitHub.
2. Version
- Read the version from
package.json. - Run
npm version patch --no-git-tag-versionsopackage.jsonand an existingpackage-lock.jsonadvance together. - Verify the top-level versions match and inspect the version-file diff. Do not continue if the command changed dependencies or unrelated metadata.
3. Validate and Build
- Run
npm run typecheck. - Run targeted tests appropriate to the reviewed changes and any additional
checks required by
AGENTS.md. - Run
npm run electron:build. Diagnose failures and apply only narrow fixes that remain inside the approved release scope; rerun affected checks after a fix. - Verify these non-empty artifacts for the new version:
dist/AI Agent Session Center-<version>-arm64.dmgdist/AI Agent Session Center-<version>-arm64-mac.zip
- Compute SHA-256 checksums for both artifacts.
Do not create the release commit when required validation or artifact checks fail.
4. Commit and Push
- Stage only the reviewed release-content paths and required version files by explicit filename.
- Inspect
git diff --cached --statand the full staged diff for accidental local artifacts, secrets, unresolved placeholders, and missing release changes. - Choose
feat: <summary>orfix: <summary>from the actual staged behavior and create one release commit. - Push the current branch to its expected upstream. Do not publish a GitHub release unless the push succeeds and the remote commit matches the local release commit.
5. Publish
- Set the tag and title to
v<version>. - Derive release notes from the latest published release through the new commit, cross-checking the reviewed working diff so no shipped change is omitted.
- Include:
## What's Newwith only relevant Features, Bug Fixes, and Improvements subsections;### Downloadslisting the exact DMG and ZIP filenames;- the repository's Gatekeeper bypass note for the unsigned macOS build.
- Create the GitHub release with
gh release create, targeting the pushed release commit and attaching only the verified DMG and ZIP. - Verify the release with
gh release view: confirm its URL, target commit, tag, and both downloadable assets.
If publishing fails after the commit was pushed, report the exact remote state and retry only the failed release step when safe. Do not claim completion until the release and both assets are visible on GitHub.
Report
Return the version, commit hash, release URL, artifact filenames, checksums, and validation results. Separately list any preserved dirty files that were excluded from the release commit.
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.

