Command Palette

Search for a command to run...

Назад к скиллам
скилл № 06003

kitflow

Build responsive and adaptive Kotlin Multiplatform (KMP) and Compose Multiplatform UIs using the KitFlow SDK (in.kitflow:kit-flow). Use when adding KitFlow to…

БесплатноБез исполняемых скриптов
vedangj72от vedangj72★ 34 звезды на GitHub

Установить kitflow в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

KitFlow Agent Skill

KitFlow is a Kotlin Multiplatform & Compose Multiplatform adaptive UI SDK (in.kitflow:kit-flow:1.1.1) for Android, iOS, Desktop (JVM), and Web (JS & Wasm).


When to Use KitFlow

Activate this skill whenever the user asks to:

  • Install or configure KitFlow in a Kotlin Multiplatform or Android Compose project.
  • Build responsive layouts that adapt across phone, tablet, desktop, and browser viewports.
  • Implement adaptive navigation (top bar on Web/Desktop, bottom bar on Mobile/Tablet, or collapsible/permanent drawer).
  • Resolve screen-class vs. layout-width breakpoints (Adaptive.value vs Adaptive.layoutValue).
  • Create responsive multi-column grids (AdaptiveFlowGrid).
  • Support cross-platform accessibility (AdaptiveAccessibilityInfo, AdaptiveAccessibleLayout, AdaptiveIconButton, adaptiveAnimationSpec, adaptiveTouchTarget, adaptiveSemantics).

Recommended Implementation Workflow

  1. Add Dependency: Add mavenCentral() and in.kitflow:kit-flow:1.1.1 in commonMain.dependencies (or Android dependencies). See installation.md.
  2. Provide Adaptive Context: Wrap the root Composable UI once in AdaptiveKitProvider { ... }.
  3. Choose Navigation Scaffold (if needed):
    • Use KitNavScaffold for SPA layouts with a top navbar on Web/Desktop and bottom bar on Mobile/Tablet.
    • Use KitDrawerScaffold for dashboard/app layouts with a collapsible or permanent (nonClosing = true) navigation drawer.
    • See components.md for exact parameters and defaults.
  4. Apply Responsive Values & Grids:
    • Use Adaptive.value(...) for stable properties tied to shortest side (e.g., padding, typography, corner radii that shouldn't jump on phone rotation).
    • Use Adaptive.layoutValue(...) for layout-width decisions that should react to rotation, split-screen, or desktop window resizing.
    • Use AdaptiveFlowGrid(...) for responsive card/metric grids.
    • See adaptive-layout.md.
  5. Apply Accessibility Helpers: Use AdaptiveIconButton, Modifier.adaptiveTouchTarget(), AdaptiveAccessibleLayout, and adaptiveAnimationSpec(...) where appropriate.
  6. Verify Build: Run the project's Gradle compile/test tasks (e.g., ./gradlew :shared:desktopTest or target compile tasks) after edits.

Component Selection Guide

Need KitFlow API Package
Root adaptive & accessibility provider AdaptiveKitProvider com.adaptive.kit_flow
Responsive values (stable vs width-driven) Adaptive.value / Adaptive.layoutValue com.adaptive.kit_flow
Window metrics & orientation rememberWindowInfo(), Adaptive.currentInfo com.adaptive.kit_flow
Orientation branching Adaptive.onOrientationChange com.adaptive.kit_flow
Responsive multi-column grid AdaptiveFlowGrid com.adaptive.kit_flow.layout
Top-bar (Web/Desktop) + Bottom-bar (Mobile) scaffold KitNavScaffold com.adaptive.kit_flow.modules.kitcomponent.scaffoldings
Drawer (Web/Desktop) + Bottom-bar/Drawer (Mobile) scaffold KitDrawerScaffold com.adaptive.kit_flow.modules.kitcomponent.scaffoldings
Navigation item model KitNavItem com.adaptive.kit_flow.modules.kitcomponent.utils
Font-scale / motion / touch target accessibility AdaptiveAccessibleLayout, AdaptiveIconButton, adaptiveAnimationSpec com.adaptive.kit_flow.accessibility

Reference Documentation

Examples

  • Getting Started — Minimal commonMain setup with AdaptiveKitProvider and Adaptive.value.
  • Drawer Navigation — KitDrawerScaffold with collapsible/permanent drawer and extra toolbar items.
  • [SPA Navigation](ex
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • examples/dashboard.md
  • examples/drawer.md
  • examples/getting-started.md
  • examples/navigation.md
  • references/adaptive-layout.md
  • references/architecture.md
  • references/best-practices.md
  • references/components.md
  • references/installation.md
  • references/platform-support.md
  • references/troubleshooting.md

FAQ

Что делает скилл kitflow?

Build responsive and adaptive Kotlin Multiplatform (KMP) and Compose Multiplatform UIs using the KitFlow SDK (in.kitflow:kit-flow). Use when adding KitFlow to a project, wrapping apps with AdaptiveKitProvider, resolving breakpoint/orientation values via Adaptive, laying out responsive grids with AdaptiveFlowGrid, building adaptive navigation with KitNavScaffold or KitDrawerScaffold, or handling cross-platform accessibility across Android, iOS, Desktop, and Web.

Как установить скилл kitflow?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл kitflow запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить kitflow с