一键导入
xml-ui-skill
AI-optimized instructions for developing View-based XML UI in the :xml module. Updated for KMP-compatible models.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
AI-optimized instructions for developing View-based XML UI in the :xml module. Updated for KMP-compatible models.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI-optimized instructions for developing Jetpack Compose UI in the :compose module. Focuses on KMP-ready state management and component patterns.
Core architectural principles and agentic workflows for the EventCalendar project. Optimized for KMP readiness.
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 | xml-ui-skill |
| description | AI-optimized instructions for developing View-based XML UI in the :xml module. Updated for KMP-compatible models. |
| metadata | {"author":"Michael Winkler","version":"1.5"} |
This skill provides specialized instructions for the :xml module, focusing on the
EventCalendarView implementation with KMP-compatible data models.
EventCalendarView (Custom FrameLayout). Manages a RecyclerView with
InfiniteAdapter.java.util.Calendar for legacy Android View logic and
kotlinx-datetime for modern data models.model/ must be plain data classes without Parcelable to
maintain consistency with the :compose module.InstanceState handles saving and restoring view state in-memory.java.util.Calendar for UI logic and kotlinx-datetime for data
models.InstanceState class is crucial. Always update it when adding new
configurable properties.internal.ecv_ prefix for all resources.strings.xml.sMonth/sYear to eMonth/eYear.scrollTo() or scrollToCurrentMonth() in EventCalendarView for programmatic
navigation.events property in EventCalendarView triggers updateRecyclerView().model/Event.kt remains a plain data class without Android-specific
serialization.binding for type-safe access.ecv_ for all resources.Utils helpers for any conversion between Calendar and
kotlinx-datetime.