一键导入
xml-components-skill
Technical instructions for the custom View components in the :xml module, including EventCalendarView and EventCalendarSingleWeekView.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Technical instructions for the custom View components in the :xml module, including EventCalendarView and EventCalendarSingleWeekView.
用 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.
AI-optimized instructions for developing View-based XML UI in the :xml module. Updated for KMP-compatible models.
Guidelines for XML styling, custom attributes (attrs.xml), drawables, and programmatic UI updates in the :xml module.
| name | xml-components-skill |
| description | Technical instructions for the custom View components in the :xml module, including EventCalendarView and EventCalendarSingleWeekView. |
| metadata | {"author":"Michael Winkler","version":"1.0"} |
This skill focuses on the logic and lifecycle of the custom UI components within the :xml module.
setMonthAndYear, scrollTo, updateRecyclerView.R.styleable.EventCalendarView.renderWeekView, styleTextViews, updateWeekNumberView.getDaysForCurrentWeek(weekStartDay).Always use context.withStyledAttributes(attrs, R.styleable.ComponentName) { ... } in the init
block.
InfiniteAdapter to bind EcvEventCalendarViewBinding for each
month.EcvTextviewCircleBinding (
days) and manually updates them in styleTextViews().Both views maintain an eventArrayList. When set, they trigger a re-render of the relevant
sub-views or adapters.
java.util.Calendar or Utils helpers.updateLayout() or updateRecyclerView() to reflect changes.:app module.