Development
Command
/desktop-run
Build and run the desktop app
Install
$ npx -y skills add vitorpamplona/amethyst --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/desktop-run
Context preview
What this command does when you run it.
Build and run the desktop app
Command definition
desktop-run.mddescription: Build and run the desktop app
Build and run the Amethyst Desktop application:
./gradlew :desktopApp:run
Troubleshooting
If the build fails, check:
1. **JDK Version**: Requires JDK 21+ (`jvmToolchain(21)` in `desktopApp/build.gradle.kts`)
java -version
2. **Compose Multiplatform Plugin**: Verify version in `gradle/libs.versions.toml`
3. **Quartz Build**: Ensure Quartz compiles first
./gradlew :quartz:build
4. **Desktop Dependencies**: Check `desktopApp/build.gradle.kts` has:
implementation(compose.desktop.currentOs)
Creating Distributable
# macOS ./gradlew :desktopApp:packageDmg # Windows ./gradlew :desktopApp:packageMsi # Linux ./gradlew :desktopApp:packageDeb # or :desktopApp:packageRpm
Outputs will be in `desktopApp/build/compose/binaries/main/`

