electron-build
Skill83 starsChanged 4 months agoMITView on GitHub
Build and verify this repository's Electron distributables. Use when the user invokes $electron-build or asks to build, rebuild, package, or troubleshoot the macOS Electron app, DMG, or ZIP without publishing a release.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- electron-releaseSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run npm run electron:build and stream the output.
- Distinctive: line 18
If the build fails, diagnose the first actionable error.
- Distinctive: line 23
Verify that these non-empty artifacts exist for the package version:
- Distinctive: line 30
Do not treat an exit code of zero as sufficient if either expected artifact is missing or empty.
≈ “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
Build Electron Distributables
Build the Electron app from the repository root and verify the versioned macOS artifacts. Do not commit, push, tag, or publish as part of this skill.
Workflow
- Resolve the Git root and read the applicable
AGENTS.mdandCLAUDE.md. - Inspect
git status --shortand preserve every unrelated local change. - Confirm
package.jsondefineselectron:buildand read its current version. - Run
npm run electron:buildand stream the output. - If the build fails, diagnose the first actionable error. Apply only a narrow, in-scope fix that does not overwrite existing work, then rerun the smallest relevant check before retrying the build. Report the blocker instead when a safe fix needs user direction, credentials, signing access, or a broader behavior change.
- Verify that these non-empty artifacts exist for the package version:
dist/AI Agent Session Center-<version>-arm64.dmgdist/AI Agent Session Center-<version>-arm64-mac.zip
- Report success or failure, artifact paths and sizes, and any source changes made while resolving a build failure. Include SHA-256 checksums when the artifacts may be handed off or uploaded.
Do not treat an exit code of zero as sufficient if either expected artifact is missing or empty.
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.

