add-compiler-option
A developer tool to automate adding new compiler options to the Metro system.
Install
mkdir -p .claude/skills/add-compiler-option && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8539" && unzip -o skill.zip -d .claude/skills/add-compiler-option && rm skill.zipInstalls to .claude/skills/add-compiler-option
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Adds a new compiler option to Metro.Key capabilities
- →Add compiler options to Metro
- →Register new configuration enums
- →Update Gradle DSL properties
- →Implement compiler tests
How it works
Updates specific Kotlin files in the compiler and Gradle plugin modules to register new configuration options.
Inputs & outputs
When to use add-compiler-option
- →Add a new boolean flag to compiler settings
- →Register a new integer-based configuration option
- →Update MetroOptions.kt builder patterns
About add-compiler-option
Updates Metro's compiler options by modifying specific Kotlin files in the compiler and Gradle plugin modules. It guides the addition of new enums, properties, and builders to maintain consistency.
Adds a new compiler option to Metro.
When not to use it
- →Non-Metro compiler changes
Prerequisites
Limitations
- →Requires updates across multiple specific files
How it compares
Provides a structured, multi-file update process for compiler options rather than manual configuration changes.
Compared to similar skills
add-compiler-option side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| add-compiler-option (this skill) | 0 | 6mo | No flags | Advanced |
| kotlin-coroutines | 3 | 7mo | No flags | Advanced |
| extensions-api-migration | 1 | 7mo | No flags | Advanced |
| flowmvi | 1 | 6mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
kotlin-coroutines
vitorpamplona
Advanced Kotlin coroutines patterns for AmethystMultiplatform. Use when working with: (1) Structured concurrency (supervisorScope, coroutineScope), (2) Advanced Flow operators (flatMapLatest, combine, merge, shareIn, stateIn), (3) Channels and callbackFlow, (4) Dispatcher management and context switching, (5) Exception handling (CoroutineExceptionHandler, SupervisorJob), (6) Testing async code (runTest, Turbine), (7) Nostr relay connection pools and subscriptions, (8) Backpressure handling in event streams. Delegates to kotlin-expert for basic StateFlow/SharedFlow patterns. Complements nostr-expert for relay communication.
extensions-api-migration
JetBrains
Migrates IdeaVim extensions from the old VimExtensionFacade API to the new @VimPlugin annotation-based API. Use when converting existing extensions to use the new API patterns.
flowmvi
respawn-app
FlowMVI usage guidance. Use when working with FlowMVI stores/containers, plugin pipelines, composing stores, decorators, or authoring plugins.
trail-sense-database-persistence
kylecorry31
Add new Room database persistence to Trail-Sense Android app. Use when the user asks to create, add, or implement database persistence for a model, including Entity, DAO, Repository, and AppDatabase migration. Covers entity-to-model mapping, index configuration, and standard CRUD operations.
hytale-commands
JBurlison
Documents Hytale's command system for creating custom commands in plugins. Covers AbstractAsyncCommand, AbstractPlayerCommand, AbstractTargetPlayerCommand, AbstractTargetEntityCommand, AbstractCommandCollection, arguments (RequiredArg, OptionalArg, DefaultArg, FlagArg), ArgTypes, argument validators
Android Dependency Injection (Hilt)
li-lance
Standards for Hilt Setup, Scoping, and Modules