بنقرة واحدة
new-component
Scaffold a new RikkaUI component following all project conventions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new RikkaUI component following all project conventions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | new-component |
| description | Scaffold a new RikkaUI component following all project conventions |
| disable-model-invocation | true |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash(./gradlew :components:*) |
Scaffold $ARGUMENTS in the :components library.
!ls components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/ui/
!grep "val " components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/theme/RikkaColors.kt | head -20
Create file at:
components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/ui/{lowercase}/{ Name}.kt
Follow conventions (see conventions.md for full details):
zed.rainxch.rikkaui.components.ui.{lowercase}BasicText, clickable, NO Material3resolve*() functions for colors/sizesRikkaTheme.colors, .typography, .spacing, .shapes, .motionRole, label param, disabled() semantics@Immutable on data classesmodifier → optional → trailing contentCompile:
./gradlew :components:compileKotlinWasmJs
Update CLAUDE.md package structure with the new entry.
Ask user if they want a showcase example for the website.