agentleFS
CheshiAICheshiAI/Cheshi/.agents/skills/desktop-build/SKILL.md

desktop-build

Skill19 starsChanged 47 days agoMITView on GitHub

Build a Cheshi desktop app into a dated out folder, verify the package, and reveal the new build in Finder without changing view or sort settings. Use when asked to build or rebuild the app; not for renderer-only checks or publishing a release.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this repository's shared packaging command from its root:

    line 8
  2. Distinctive:

    Run directly affected tests and typechecks for changes not already validated.

    line 19
  3. Distinctive:

    If working through the development app, defer automatic main-process restarts while editing so the active conversation survives.

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

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

Desktop build

Use this repository's shared packaging command from its root:

bun run desktop:package
  • The command creates out/YYYYMMDD-HHmmss/ using Asia/Seoul time. Concurrent or same-second builds receive a numeric suffix. Preserve previous builds.
  • Builds remain in hidden .building-* folders until packaging and verification succeed. Report a failed build's staging path; never present it as a completed app or delete unrelated output.
  • On macOS the app is inside Cheshi-darwin-arm64/Cheshi.app (use the actual platform/architecture printed by the command). build.json records the revision, dirty state, version and archive hash. Uncommitted approved changes are included; a commit is not a prerequisite.
  • Local macOS packages use the single valid Developer ID Application certificate in the keychain, or the exact name/fingerprint selected by MACOS_SIGNING_IDENTITY. Keep the same signing team and bundle identity across builds to preserve macOS permission recognition. Missing or ambiguous certificates stop the build; do not fall back to ad-hoc signing. Local builds do not notarize. CHESHI_SIGN_RELEASE=1 retains the explicit release signing and notarization workflow. build.json also records the verified signing team and designated requirement. Switching from old ad-hoc builds may require one new permission grant; permission retention itself requires user testing across updates.
  • The command checks packaged resources and macOS signing, then reveals and selects the new build folder in Finder. Preserve the user's existing view and sort settings. It does not launch the app. If Finder automation fails, report that separately from build success. Use --no-finder only for headless checks or when requested.
  • Run directly affected tests and typechecks for changes not already validated. Packaging alone does not verify rendered behavior.
  • If working through the development app, defer automatic main-process restarts while editing so the active conversation survives. Restore any temporarily paused watcher once the work is complete. Do not terminate the active app in the middle of a build.
  • Report a clickable absolute app path, build verification results and any limitations. Launching the app, UI review, release signing/notarization, commits and pushes require their own task authorization.

Implementation: package runner, output allocation and Finder reveal.

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.