agentleFS
coding-by-fengcoding-by-feng/ai-agent-session-center/.agents/skills/electron-release/SKILL.md

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

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. pedronauck/skills★ 633same name
    2. FelipeAngeli/skills★ 2same name
    3. 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.

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
  1. Distinctive:

    Treat explicit invocation or a direct release request as authorization for this release sequence, not for unrelated local files.

    line 14
  2. Distinctive:

    Stop for user direction when a dirty file's inclusion is ambiguous or the current branch, remote, or release target is unexpected.

    line 20
  3. Distinctive:

    Never delete or overwrite a remote release, tag, or pushed commit as automatic error recovery.

    line 22
  4. Very specific:

    Verify GitHub CLI authentication with gh auth status.

    line 33
  5. Very specific:

    Read the version from package.json.

    line 41
  6. Very specific:

    Run npm version patch --no-git-tag-version so package.json and an existing package-lock.json advance together.

    line 42
  7. Distinctive:

    Verify the top-level versions match and inspect the version-file diff.

    line 44
  8. Distinctive:

    Run targeted tests appropriate to the reviewed changes and any additional checks required by AGENTS.md.

    line 50
  9. Very specific:

    Run npm run electron:build.

    line 52
  10. Distinctive:

    Verify these non-empty artifacts for the new version:

    line 55
  11. Distinctive:

    Do not create the release commit when required validation or artifact checks fail.

    line 60
  12. Very specific:

    Create the GitHub release with gh release create, targeting the pushed release commit and attaching only the verified DMG and ZIP.

    line 86
  13. Very specific:

    Verify the release with gh release view: confirm its URL, target commit, tag, and both downloadable assets.

    line 88
  14. Distinctive:

    If publishing fails after the commit was pushed, report the exact remote state and retry only the failed release step when safe.

    line 91

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 -A or git 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

  1. Resolve the Git root and read the applicable AGENTS.md and CLAUDE.md.
  2. Inspect git status --short, the complete relevant diff, the current branch, its upstream, and the configured GitHub remote.
  3. 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.
  4. Verify GitHub CLI authentication with gh auth status.
  5. 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.
  6. Confirm that the next patch version and its v<version> tag do not already exist locally or on GitHub.

2. Version

  1. Read the version from package.json.
  2. Run npm version patch --no-git-tag-version so package.json and an existing package-lock.json advance together.
  3. 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

  1. Run npm run typecheck.
  2. Run targeted tests appropriate to the reviewed changes and any additional checks required by AGENTS.md.
  3. 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.
  4. Verify these non-empty artifacts for the new version:
    • dist/AI Agent Session Center-<version>-arm64.dmg
    • dist/AI Agent Session Center-<version>-arm64-mac.zip
  5. Compute SHA-256 checksums for both artifacts.

Do not create the release commit when required validation or artifact checks fail.

4. Commit and Push

  1. Stage only the reviewed release-content paths and required version files by explicit filename.
  2. Inspect git diff --cached --stat and the full staged diff for accidental local artifacts, secrets, unresolved placeholders, and missing release changes.
  3. Choose feat: <summary> or fix: <summary> from the actual staged behavior and create one release commit.
  4. 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

  1. Set the tag and title to v<version>.
  2. Derive release notes from the latest published release through the new commit, cross-checking the reviewed working diff so no shipped change is omitted.
  3. Include:
    • ## What's New with only relevant Features, Bug Fixes, and Improvements subsections;
    • ### Downloads listing the exact DMG and ZIP filenames;
    • the repository's Gatekeeper bypass note for the unsigned macOS build.
  4. Create the GitHub release with gh release create, targeting the pushed release commit and attaching only the verified DMG and ZIP.
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.