Using chrisbanes skills

Core principle

Route by the decision the code needs, not by the number of APIs mentioned in the prompt. Load one cluster when its shared procedure owns the concern; add a specialist only when its independent behavior changes the same work.

Routing procedure

  1. Read the task and the Kotlin source that makes the code-design concern concrete.
  2. If one focused skill clearly matches, load it directly and stop routing.
  3. Otherwise, match each observed code signal to the table below and load the smallest skill set that covers the work.
  4. Combine skills only when separate concerns affect the same change; do not load adjacent skills speculatively.
  5. Finish routing when every material concern has one focused owner and those skills are loaded before advice or edits.

Common routes

Task signalStart with
Broad Compose screen review, local or hoisted UI state, screen state holders, effect APIs, navigation, snackbar, analytics, focus requests, or event Flow collectioncompose-state-and-effects
Recomposition, jank, compiler reports, skippability, unstable parameters, frame-rate State reads, back-writing, or @ReadOnlyComposablecompose-performance
Modifier parameters, root layout placement, variable visual content, primitive content parameters, optional content, or Boolean shape flagscompose-component-design
Compose visibility, value, color, size, transition, content swap, or choosing an animation APIcompose-animations
Keyboard, TV, desktop, D-pad, FocusRequester, focusProperties, key events, or initial focus behaviorcompose-focus-navigation
Compose UI tests, screenshot tests, previews, semantics, fake image loading, keyboard input, focus assertions, or interaction state testscompose-ui-testing-patterns
Coroutine scope ownership, init { launch }, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, or one-shot eventskotlin-concurrency-and-flow
Kotlin branching, when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, or complex if/else chainskotlin-control-flow
Kotlin function placement, member versus top-level or extension functions, factories, single-field domain types, value classes, Kotlin Multiplatform source sets, expect/actual, or platform serviceskotlin-api-design
One ready GitHub issue or confirmed conversation specification needs repository-aware planning before a separate implementation sessionto-plan
Polling or shepherding PRs/MRs, triaging review comments, fixing CI failures, or keeping reviews movingshepherd

Combining skills

RED/GREEN agent scenarios

  1. RED loads every Compose skill for a screen with local state and a snackbar. GREEN loads compose-state-and-effects first and adds another skill only for an evidenced concern.
  2. Novel case: a reusable card has a modifier problem and animated height. GREEN uses compose-component-design plus compose-animations, not the state cluster by default.
  3. Counterexample: a request only changes a guard condition in common Kotlin. GREEN loads kotlin-control-flow and does not route through API design.