Command Palette

Search for a command to run...

Back to skills
skill № 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…

FreeNo executable scripts
vedangj72by vedangj72★ 34 GitHub stars

Install kitflow in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

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
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • 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

What does the kitflow skill do?

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.

How do I install the kitflow skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the kitflow skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare kitflow with