Dev Loop Packaging
Developmentdev-loop-packagingDev Loop Packaging is an Agent Skill for development published in the sozercan/kaset repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when you need a fresh packaged `.app` bundle, a fast build-package-relaunch loop, or a packaged runtime repro for Kaset instead of a compile-only verification.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sozercan/kaset/blob/HEAD/.agents/skills/dev-loop-packaging/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/dev-loop-packaging, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Dev Loop Packaging
Use this skill when you need a fresh .app bundle, a fast build-package-relaunch loop, or a packaged runtime repro instead of a compile-only check.
Default Loop
- Prefer
swift buildfor the fastest compile verification. - Prefer
swift test --skip KasetUITestsfor the default non-UI test pass. - Escalate to packaging only when you need a runnable app bundle, login/WebView/runtime inspection, or bundle verification.
Common Commands
swift build
Scripts/build-app.sh
Scripts/compile_and_run.sh
Scripts/compile_and_run.sh --test
Scripts/compile_and_run.sh --lint
Scripts/compile_and_run.sh --wait
What The Scripts Do
Scripts/build-app.shbuilds the app and assembles.build/app/Kaset.app.Scripts/compile_and_run.shkills existing Kaset processes, optionally runs tests and linting, packages the app, relaunches it, and checks that it stays running.Scripts/compile_and_run.sh --testruns the SwiftPM test target before packaging; it does not invoke the separate Xcode UI-test project.Scripts/build-app.shcan also build for custom architectures viaARCHES.
Landmarks
Scripts/build-app.shScripts/compile_and_run.sh.build/app/Kaset.app