К основному содержанию
скилл CX Codex

using-chrisbanes-skills — скилл для Claude Code: маршрутизация Kotlin

Разбирает задачу по Kotlin или Jetpack Compose и подключает нужный скилл из набора chrisbanes. Полезен, когда в одном изменении пересекаются несколько тем.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add chrisbanes/skills --skill using-chrisbanes-skills -a claude-code
Открыть на GitHub

Что делает using-chrisbanes-skills

Скилл работает как диспетчер. Он читает задачу, смотрит исходники и решает, какой из скиллов набора отвечает за конкретное решение в коде. Если подходит один скилл, маршрутизация на нём и заканчивается.

Внутри — процедура из шагов и таблица соответствий: сигнал в коде слева, стартовый скилл справа. Отдельно описаны границы комбинаций, когда к первому скиллу добавляется второй. Например, дефект доставки во Flow и отдельный catch-all по sealed-маршруту требуют сразу kotlin-concurrency-and-flow и kotlin-control-flow.

Перед загрузкой Compose-скилла нужен конкретный Compose API или composable в исходниках либо явный запрос на создание такого кода. Гипотетический потребитель UI доказательством не считается, поэтому при его отсутствии маршрут остаётся в Kotlin-кластере, даже если в задаче упомянуты UI, маршруты или навигация.

Какие задачи решает

  • выбрать нужный скилл из набора под конкретную задачу
  • развести пересекающиеся темы Kotlin и Compose в одном изменении
  • не подключать лишние скиллы наугад
  • определить, когда нужен второй скилл, а когда хватит одного
  • найти владельца решения для каждого существенного вопроса в коде

Примеры запросов агенту

  • Разбери эту задачу по Kotlin и скажи, какие скиллы из набора загрузить
  • У нас дефект доставки во Flow и catch-all по sealed-маршруту — какие скиллы нужны?
  • Есть отчёты бенчмарка Android, нужно решение по конфигурации — с чего начать?

Как установить using-chrisbanes-skills

1Через Skills CLI (Vercel)

npx skills add chrisbanes/skills --skill using-chrisbanes-skills -a claude-code

2Вручную: положить файлы

~/.claude/skills/using-chrisbanes-skills/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/using-chrisbanes-skills/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о using-chrisbanes-skills

Как установить using-chrisbanes-skills в Claude?

Выполните npx skills add chrisbanes/skills --skill using-chrisbanes-skills -a claude-code. Скилл окажется в ~/.claude/skills/using-chrisbanes-skills/SKILL.md.

Что делает using-chrisbanes-skills?

Маршрутизирует работу по Kotlin и Jetpack Compose: определяет, какой скилл из набора chrisbanes отвечает за решение в коде, и загружает его до правок.

Когда добавляется второй скилл?

Только если он владеет независимым решением в том же изменении. Соседние скиллы заранее не подключаются.

Исходный текст

SKILL.md · Apache-2.0
---
name: using-chrisbanes-skills
description: Use when routing Kotlin or Jetpack Compose work, or physical Android benchmark evidence that needs a configuration decision, especially when several Kotlin or Compose concerns overlap.
---

# Using chrisbanes skills

## Core principle

Route by the decision the code needs, not by the number of APIs mentioned.
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. For Kotlin or Compose work, inspect the source that makes the
   concern concrete. For an Android benchmark comparison, inspect the supplied
   reports, configurations, and traces instead.
2. If one focused skill clearly matches, load it directly and stop routing.
3. Before loading a Compose skill, point to a concrete Compose API or composable
   in the inspected source, or to an explicit request to create or design
   Compose code. A hypothetical UI consumer is not evidence. If neither form
   of evidence exists, stay in the Kotlin cluster even when the task mentions
   UI, routes, or navigation.
4. Match each observed code signal to the table below.
5. Add a second skill only when it owns an independent decision in the same
   change; do not load adjacent skills speculatively. For example, a flow
   delivery defect plus a separate catch-all over a sealed route needs both
   `kotlin-concurrency-and-flow` and `kotlin-control-flow`. Load the latter
   because the branch mapping needs an explicit decision, including whether a
   data-bearing subtype's payload is used through a smart cast or deliberately
   discarded, not merely because a `when` appears in the file.
6. Finish routing when every material concern has one focused owner and those
   skills are loaded before advice or edits.

## Common routes

| Task signal | Start with |
|---|---|
| Evidenced Compose state, effects, screen ownership, or UI event collection | [`compose-state-and-effects`](../compose-state-and-effects/SKILL.md) |
| Recomposition, stability, frame-rate reads, back-writing, or `@ReadOnlyComposable` | [`compose-performance`](../compose-performance/SKILL.md) |
| Component modifiers, caller placement, slots, or public content shape | [`compose-component-design`](../compose-component-design/SKILL.md) |
| Visibility, value, transition, content-swap, or other motion API choice | [`compose-animations`](../compose-animations/SKILL.md) |
| Keyboard, TV, D-pad, focus targets, custom traversal, or key events | [`compose-focus-navigation`](../compose-focus-navigation/SKILL.md) |
| Compose UI, screenshot, semantics, focus/key, or interaction-state tests | [`compose-ui-testing-patterns`](../compose-ui-testing-patterns/SKILL.md) |
| Coroutine ownership, raw `Thread` or `Executor` work, cancellation, Flow state/events, sharing, or replay | [`kotlin-concurrency-and-flow`](../kotlin-concurrency-and-flow/SKILL.md) |
| Kotlin classification, `when`, guards, exhaustiveness, smart casts, or null branches | [`kotlin-control-flow`](../kotlin-control-flow/SKILL.md) |
| Kotlin function ownership, domain types, expect/actual, or platform seams | [`kotlin-api-design`](../kotlin-api-design/SKILL.md) |
| Planned Gradle execution or a Gradle-centered warning/failure workflow | [`gradle-run`](../gradle-run/SKILL.md) |
| Comparing physical Android benchmark configurations, reversed rankings, or an Android default | [`android-benchmark-comparison`](../android-benchmark-comparison/SKILL.md) |
| Kotlin library release preparation, publication, or readiness | [`release-kotlin-library`](../release-kotlin-library/SKILL.md) |
| One ready GitHub issue or in-chat task needs repository-aware planning | [`to-plan`](../to-plan/SKILL.md) |
| Polling PRs/MRs, review comments, CI failures, or routine follow-up | [`shepherd`](../shepherd/SKILL.md) |

## Combination boundaries

- Add [`kotlin-concurrency-and-flow`](../kotlin-concurrency-and-flow/SKILL.md)
  to Compose state work only when delivery, replay, sharing, or cancellation is
  a separate concern. Add state ownership or performance only when animation
  work changes that concern too.
- Pair focus navigation with UI testing when the task also needs a test shape.
  For a focus-aware `AnimatedContent` swap, load Compose animations as well:
  rendering each outgoing and incoming branch from its content-lambda target
  is a separate identity decision from focus timing and the interaction test.
- Add [`kotlin-control-flow`](../kotlin-control-flow/SKILL.md) when a Kotlin
  concern also has an independent branch decision, such as a catch-all over a
  sealed result that hides cases or branch payload. Plain route delivery with
  no separate branching issue does not need it. Do not add Compose without the
  evidence required in step 3.
- Encapsulating a Compose snapshot property behind a read-only public accessor
  remains one state-ownership decision. Do not add `kotlin-api-design` merely
  because the accessor is public; add it when the same change also needs a
  separate function-ownership, domain-type, compatibility, or platform-boundary
  decision.
- Load [`gradle-run`](../gradle-run/SKILL.md) only for planned Gradle execution
  or an existing Gradle workflow, not incidental Kotlin or Compose advice.

© chrisbanes · Apache-2.0 · chrisbanes/skills

Похожие скиллы

Всё по теме «Мобильная разработка» →
android-development dpconde Скилл ведёт агента по официальной архитектуре Android: модули, Jetpack Compose, Hilt, Room. Пригодится, когда проект на Kotlin растёт и пора навести порядок в слоях. CX Codex +1 718установок android-kotlin alinaqi Подсказывает агенту структуру Android-проекта на Kotlin: Coroutines, Jetpack Compose, Hilt, Room и тесты на MockK. Включается сам при работе с файлами .kt. CX Codex +1 3 300установок navigation-3 Google LLC Справочник по Jetpack Navigation 3 для агента: миграция с Navigation 2 и готовые рецепты — deep links, несколько back stack, сцены, Hilt, ViewModel. CX Codex +1 3 200установок android-kotlin-development aj-geddes Скилл для ИИ-агента, который ведёт разработку нативного Android-приложения на Kotlin: MVVM, Compose, Retrofit, Room. CX Codex +1 1 500установок clerk-android clerk Скилл помогает агенту подключить Clerk к нативному Android-приложению на Kotlin и Jetpack Compose — через готовые AuthView/UserButton или свой поток авторизации. CX Codex +1 14 400установок compose-multiplatform-patterns affaan-m Скилл подсказывает паттерны Compose Multiplatform и Jetpack Compose для KMP-проектов: состояние, навигация, темы и UI под разные платформы. CX Codex +1 4 600установок

Из того же набора17

shepherd Отслеживает открытые pull request и merge request, разбирает замечания ревьюеров и падения CI, а также готовит правки к пушу. CX Codex +1 1 200установок kotlin-concurrency-and-flow Скилл для ревью и написания Kotlin-кода с корутинами: разбирает владение scope, отмену, StateFlow, SharedFlow и Channel. CX Codex +1 1 100установок compose-performance Скилл для расследования стоимости рекомпозиции в Jetpack Compose: помогает найти фазу, из-за которой пересчитывается UI, и починить её точечно. CX Codex +1 1 100установок compose-state-and-effects Скилл помогает проектировать и проверять владение состоянием в Jetpack Compose. Он распределяет стейт по уровням и подбирает эффекты под их жизненный цикл. CX Codex +1 1 100установок kotlin-control-flow Скилл для ИИ-агента, который пишет и правит ветвления Kotlin: when, guard-условия, исчерпывающие проверки sealed-типов, smart casts. CX Codex +1 1 100установок compose-component-design Скилл для проектирования и ревью переиспользуемых компонентов Jetpack Compose: слоты, модификаторы, размещение корневого layout. CX Codex +1 1 000установок kotlin-api-design Помогает решить, кому принадлежит функция, где ставить extension, а где хватит value class. Пригодится при проектировании публичного API на Kotlin и в KMP. CX Codex +1 949установок gradle-run Скилл гоняет сборки Gradle через обёртку с компактным выводом и ведёт журнал запусков, чтобы агент не заливал контекст полным логом. CX Codex +1 768установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой