一键导入
compose-ui-skill
AI-optimized instructions for developing Jetpack Compose UI in the :compose module. Focuses on KMP-ready state management and component patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
AI-optimized instructions for developing Jetpack Compose UI in the :compose module. Focuses on KMP-ready state management and component patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Core architectural principles and agentic workflows for the EventCalendar project. Optimized for KMP readiness.
AI-optimized instructions for developing View-based XML UI in the :xml module. Updated for KMP-compatible models.
Technical instructions for the custom View components in the :xml module, including EventCalendarView and EventCalendarSingleWeekView.
Guidelines for XML styling, custom attributes (attrs.xml), drawables, and programmatic UI updates in the :xml module.
| name | compose-ui-skill |
| description | AI-optimized instructions for developing Jetpack Compose UI in the :compose module. Focuses on KMP-ready state management and component patterns. |
| metadata | {"author":"Michael Winkler","version":"1.3"} |
This skill provides deep technical guidance for the :compose module, emphasizing KMP readiness and
reactive patterns.
EventCalendarCompose (in com.nmd.eventCalendar.compose).kotlinx-datetime and the internal YearMonth model for all date operations.internal for all sub-components and controllers.CalendarEventsStore and sends events
back via callbacks.java.time in Composables. Use kotlinx-datetime for data and the toStringRes()
extensions for localized names (day/month) via string resources.android.os.Parcelable in models.internal. Only the main entry
points should be public.@Preview composables must be internal.ui.components: Small elements (DayItem, EventChip, MonthHeader).ui.controller: Logic for calendar navigation (CalendarController).ui.events: Store abstractions (CalendarEventsStore).viewmodel: Standard Android ViewModels for state processing.internal @Preview function.ui.components or a relevant sub-package.internal @Preview function.CalendarEventsViewModel (in viewmodel/). Ensure it uses
kotlinx-datetime for grouping.CalendarEventsStore if the data contract needs to change..collectAsStateWithLifecycle() for reactive updates.kotlinx.datetime.Clock.System.todayIn(TimeZone.currentSystemDefault()) for current dates.YearMonth class for month-level operations.String.format in common code; use string templates or KMP-friendly formatting.