ronjunevaldoz/kmp-agent-skills/kmp-compose-design-system-extended

Claude Code and agent skill by ronjunevaldoz/kmp-agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extends :core:designsystem (from kmp-compose-design-system) with 28 production-ready components using the Compose Styles API. Covers: Icon, IconButton, Label, Separator, Avatar, TopAppBar, NavigationBar, Tabs, Checkbox, RadioButton, Switch, Slider, Select/Dropdown, Progress (linear + circular), Skeleton, Spinner, Alert, Toast/Snackbar system (AppToastHostState + Scaffold slot), Dialog, AlertDialog, Sheet (BottomSheet), Tooltip, Popover, Accordion/Collapsible, ScrollArea (Desktop-only scrollbar…

Install

npx vskill@latest install ronjunevaldoz/kmp-agent-skills/kmp-compose-design-system-extended

SKILL.md

The same SKILL.md was published earlier as ronjunevaldoz/kmp-agent-skills/kmp-compose-design-system-extended.

When to Use This Skill

Use after kmp-compose-design-system has been applied. Use when the user asks to:

  • Add Dialog, BottomSheet, Toast/Snackbar, Tabs, TopAppBar, or BottomNav
  • Add form controls: Checkbox, RadioButton, Switch, Slider, Select/Dropdown
  • Add loading states: Progress, Skeleton, Spinner
  • Add Tooltip, Popover, Accordion/Collapsible, Avatar, Separator
  • Complete the design system for production use

Trigger keywords: dialog, bottom sheet, toast, snackbar, tabs, top app bar, bottom navigation, checkbox, radio, switch, slider, select, dropdown, progress bar, loading, skeleton, spinner, tooltip, popover, accordion, collapsible, avatar, divider, separator, icon button, form label, extended design system, redesign, visual consistency, UI components, component library, page components, add components, component set, UI kit, component design, redesign page, button, component, use component, add button, create component, show dialog, show toast, loading state, empty state, error state, circular progress, progress ring, determinate progress, indeterminate progress.

Freshness rule: @ExperimentalStylesApi and CMP primitive APIs change between releases — recheck the Compose docs and apply the same freshness check as kmp-compose-design-system.


Recommendation First

Default to using a pre-built extended component before building a custom one.

Why:

  • all 28 components are built on CMP primitives with no Material dependency — they are safe to

use alongside the base design system

  • they follow the same sealed variant pattern as the core components, so the token layer stays consistent
  • building a custom component takes longer and may drift from the design system tokens

Only build a custom component when none of the 27 extended components fit the design requirement, and apply the same @ExperimentalStylesApi token pattern as the core system.


Prerequisites

  • kmp-compose-design-system skill already applied (tokens, AppTheme, StyleScopeExtensions, 6 core components present)
  • :core:designsystem module exists with GROUP_ID.core.designsystem package
  • The project's component prefix already resolved via the base skill's Step 0 —

App below is the same placeholder token (AppIconButton → GuildBaseIconButton, AppToastHost → GuildBaseToastHost, etc.), never a hardcoded literal


Ownership Model

Skill-owned. All extended components are updateable via /kmp-update-design-system.
Project-owned files (tokens/, theme/) are never touched.

Component Overview

GroupComponentsStability
PrimitivesAppIcon, AppIconButton, AppLabel, AppSeparatorStable
DisplayAppAvatar, AppSpinner, AppSkeleton, AppProgress, AppCircularProgressStable
NavigationAppTopAppBar, AppNavigationBar, AppScaffoldStable
TabsAppTabsStable
Form ControlsAppCheckbox, AppRadioButton, AppSwitch, AppSliderStable
Form ControlsAppSelectExperimental — API may change
FeedbackAppAlert, AppToastHost (with AppToastHostState + AppScaffold)Stable
OverlaysAppDialog, AppAlertDialog, AppSheetStable
OverlaysAppTooltip, AppPopoverExperimental — positioning varies by platform
ExpandableAppAccordionExperimental — animation API in flux

Stability tiers:

  • Stable — API locked; breaking changes come with a migration note in the Changelog.
  • Experimental — API may change between skill versions; review diffs before accepting updates.
Style API coverage

Not every component should expose a style: Style override — see the base skill's Component API Placement table. This is the honest per-component status so the audit doesn't flag correctly-exempt components as gaps:

ComponentStyle API statusWhy
AppIconButton✅ WiredInteractive leaf control — rememberUpdatedStyleState + styleable
AppAvatar✅ WiredStatic leaf control — style escape hatch for one-off overrides (e.g. status ring)
AppIcon, AppLabel, AppSeparator⚠️ Not yet wiredSimple data+param leaf controls; a style escape hatch would still be valid — candidates for a future pass
AppSpinner✅ Correctly exemptInfinite rotation animation — Styles API does not support infinite animations (see the base skill's references/compose-styles-api-reference.md §10); uses rememberInfiniteTransition instead, as documented in its own docstring
AppSkeleton, AppProgress⚠️ Not yet wiredSame infinite-animation constraint may apply to the shimmer/indeterminate variants — verify per-variant before wiring
AppCheckbox, AppRadioButton, AppSwitch⚠️ Not yet wiredCustom Canvas-drawn glyphs (checkmark, dot, thumb) sit outside the Style property set (no arbitrary path-drawing property) — per Styles-vs-Modifiers guidance this is legitimately Modifier/Canvas territory; only the container chrome (background/border color per checked/enabled state) is a real Style candidate, not yet extracted
AppSlider✅ Correctly exemptContinuous drag value, not a discrete interaction state — doesn't fit the StyleState model
AppSelect⚠️ Not yet wiredLeaf control candidate — dropdown chrome (background/border/shape) is stylable
AppTopAppBar, AppNavigationBar, AppScaffold, AppTabs✅ Correctly exemptSlot API / app-shell chrome per the base skill's Component API Placement table — caller owns content, shell stays fixed
AppAlert, AppToastHost⚠️ Not yet wiredVariant-driven leaf controls (info/success/warning/error) — good Style candidates
AppCircularProgress⚠️ Not yet wiredSame status as its sibling AppProgress (linear) — track/fill colors are plain params, not yet Style-driven
AppDialog, AppAlertDialog, AppSheet, AppTooltip, AppPopover✅ Correctly exemptSlot API — overlay chrome, not a themed variant leaf control
AppAccordion⚠️ Not yet wiredAnimation API is still in flux (Experimental tier); revisit once stabilized

Reading this table: ✅ means the current state is correct and should not be flagged. ⚠️ means a real gap — a future pass should extract the container chrome (background, border, shape) into a Style value and expose a style: Style = Style parameter, following the AppAvatar pattern above for static components or the base skill's AppButton pattern (rememberUpdatedStyleState + custom state keys) for interactive ones.


Implementation Steps

Each step's full component code lives in its own reference file — load only the step(s) relevant to the current task, not all of them.

StepReference fileComponents
1. Stylesreferences/step1-styles.mdCheckboxStyles, SwitchStyles, TabStyles, AlertStyles
2. Primitivesreferences/step2-primitives.mdAppIcon, AppIconButton, AppLabel, AppSeparator, AppAvatar
3. Loading statesreferences/step3-loading-state.mdAppSpinner, AppProgress, AppCircularProgress, AppSkeleton
4. Navigationreferences/step4-navigation.mdAppTopAppBar, AppNavigationBar, AppTabs
5. Form controlsreferences/step5-form-controls.mdAppCheckbox, AppRadioButton, AppSwitch
5b. Form controls (cont.)references/step5b-slider-select.mdAppSlider, AppSelect
6. Feedbackreferences/step6-feedback.mdAppAlert, AppToast, AppScaffold
7. Overlaysreferences/step7-overlays.mdAppDialog, AppSheet, AppTooltip, AppPopover
8. Expandablereferences/step8-expandable.mdAppAccordion, AppScrollArea, AppResizablePanelGroup

Implement steps in order — later steps' usage examples assume earlier components exist (e.g. Step 6's AppScaffold composes AppToastHost from the same step; Step 9 below wires it at the app entry point).


Step 9: Wire AppScaffold at entry points

Replace existing entry-point AppTheme wrappers:

kotlin
// androidApp/src/main/kotlin/.../MainActivity.kt
setContent {
AppTheme(darkTheme = isSystemInDarkTheme()) {
val toastState = remember { AppToastHostState() }
AppScaffold(toastHostState = toastState) { _ ->
AppNavHost()
}
}
}
// Anywhere in the app — show a toast:
val toastState = LocalAppToastHostState.current
LaunchedEffect(saveResult) {
if (saveResult.isSuccess) {
toastState.show("Saved successfully", variant = AppToastVariant.Success)
}
}

Step 10: Usage examples

Form screen
kotlin
@Composable
fun ProfileForm() {
var name by remember { mutableStateOf("") }
var email by remember { mutableStateOf("") }
var bio by remember { mutableStateOf("") }
var notifications by remember { mutableStateOf(true) }
var frequency by remember { mutableStateOf<String?>(null) }
var showDeleteDialog by remember { mutableStateOf(false) }
val toast = LocalAppToastHostState.current
Column(modifier = Modifier.padding(16.dp), verticalArrangement = Arrangement.spacedBy(16.dp)) {
Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
AppLabel(text = "Name", required = true)
AppTextField(value = name, onValueChange = { name = it }, placeholder = "Your name")
}
Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
AppLabel(text = "Email")
AppTextField(value = email, onValueChange = { email = it }, placeholder = "you@example.com")
}
AppSwitch(checked = notifications, onCheckedChange = { notifications = it }, label = "Email notifications")
Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
AppLabel(text = "Digest frequency")
AppSelect(
options = listOf("Daily", "Weekly", "Monthly"),
selected = frequency,
onSelect = { frequency = it },
placeholder = "Select frequency",
)
}
AppProgress(progress = 0.65f)
Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
AppButton(onClick = { toast.show("Profile saved", variant = AppToastVariant.Success) }) {
AppText("Save changes")
}
AppButton(onClick = { showDeleteDialog = true }, variant = ButtonVariant.Destructive) {
AppText("Delete account")
}
}
}
if (showDeleteDialog) {
AppAlertDialog(
onDismiss = { showDeleteDialog = false },
onConfirm = { deleteAccount() },
title = "Delete account",
description = "This action cannot be undone. All your data will be permanently removed.",
confirmText = "Delete account",
)
}
}
Settings page with Accordion

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ronjunevaldoz/kmp-agent-skills/kmp-compose-design-system-extended/badge)](https://verified-skill.com/skills/ronjunevaldoz/kmp-agent-skills/kmp-compose-design-system-extended)

Something wrong with this skill or its page? Tell us.