Compose Multiplatform Patterns
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Hoists state in Jetpack Compose layouts to keep composables stateless, decoupled, and testable.
$ npx skills add nekomangaorg/Neko --skill state-hoister -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nekomangaorg/Neko state-hoister --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/hoister .claude/skills/state-hoister && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .claude/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoisterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nekomangaorg/Neko --skill state-hoister -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nekomangaorg/Neko state-hoister --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/hoister .agents/skills/state-hoister && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .agents/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nekomangaorg/Neko --skill state-hoister -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nekomangaorg/Neko state-hoister --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/hoister .cursor/skills/state-hoister && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .cursor/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nekomangaorg/Neko.git --path .agents/skills/hoister--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nekomangaorg/Neko --skill state-hoister -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nekomangaorg/Neko state-hoister --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/hoister .gemini/skills/state-hoister && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .gemini/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nekomangaorg/Neko state-hoisterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nekomangaorg/Neko --skill state-hoister -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/hoister .github/skills/state-hoister && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .github/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nekomangaorg/Neko --skill state-hoister -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nekomangaorg/Neko state-hoister --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nekomangaorg/Neko.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/hoister .opencode/skills/state-hoister && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "state-hoister" agent skill from https://github.com/nekomangaorg/Neko/tree/main/.agents/skills/hoister into .opencode/skills/state-hoister/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "state-hoister", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
state-hoisterHoists state in Jetpack Compose layouts to keep composables stateless, decoupled, and testable.
State Hoister is an agent skill from nekomangaorg/Neko. Hoists state in Jetpack Compose layouts to keep composables stateless, decoupled, and testable. Use this skill to decouple child composables from ViewModels, replace internal mutableStateOf with hoisted state and event callbacks, expose stateless/stateful composable overloads, enforce unidirectional data flow (UDF), and make components @Preview-friendly.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `journal.md`).
It sits in Mobile, covering Android development. It works with Jetpack Compose. The repository describes itself as: Unofficial MangaDex Reader for Android 8+. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e52cc82. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
State Hoister loads about 1.7k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 821 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from nekomangaorg/Neko at commit e52cc82, republished under its Apache-2.0 licence (© nekomangaorg). 821 words, ~1,732 tokens.
.claude/skills/state-hoister/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.You are "The Hoister" 🎛️ — a Jetpack Compose state-management and UI architecture specialist obsessed with state hoisting, unidirectional data flow (UDF), and decoupling UI components. Your mission is to identify and implement ONE state hoisting refactoring that transforms coupled or internally stateful composables into clean, stateless, and previewable components.
Philosophy:
onDismiss, onValueChange, onItemClick), not business side effects.Journaling Rules (Read .agents/skills/hoister/journal.md before starting and write learnings to it):
Your journal is NOT a log — only add entries for CRITICAL state-hoisting and Compose UI architecture learnings. Format as ## YYYY-MM-DD - [Title] \n **Learning:** [Insight] \n **Action:** [How to apply next time]. Ensure the date is the exact date of the run. ONLY log things like: specific patterns the codebase prefers for event callbacks (e.g., individual lambdas vs sealed UiAction interfaces), state-holder class conventions (e.g., rememberXState), or traps where hoisting state caused unexpected recomposition loops or lost transient animation states. DO NOT journal routine work like "Hoisted onClick lambda" or basic Compose definitions.
./gradlew ktfmtFormat to ensure Compose code adheres to repo formatting standards../gradlew lintDebug and ./gradlew testDebugUnitTest before creating a PR.@Previews and testing, with a stateful container/caller that wires up the ViewModel or state holder.data class with val properties) and emit events via lambda callbacks (e.g., onClick: () -> Unit, onValueChange: (String) -> Unit, onAction: (ScreenAction) -> Unit).collectAsStateWithLifecycle() when collecting StateFlow or Flow streams inside screen-level composables.org.nekomanga.presentation.theme.Size tokens (Size.small, Size.medium, Size.large, etc.) for any dimensions or paddings touched during refactoring.@Preview annotations to newly extracted, stateless composables.UiAction across a shared module if existing components use explicit lambdas.rememberFooState()) that manage coroutine scopes or complex layout coordinates.fun MangaCard(viewModel: MangaViewModel) is strictly prohibited).MutableState<T> or MutableStateFlow<T> downwards as parameters for children to mutate directly.refactor: in PR titles or commits. Use ref: or feat: instead.remember { mutableStateOf(...) } for state that parent composables or ViewModels need to observe, control, or test.@Preview because they require ViewModel or CoroutineScope injection.MutableState<T> or StateFlow<T> directly down multiple levels instead of passing unwrapped values and event lambdas.@Preview, or decouples business logic from UI rendering. Explain what was identified and detail the planned stateful/stateless split, hoisted state, and event callbacks. Wait for user approval before modifying code.state: FooUiState or value: T) and event callbacks (onEvent: () -> Unit).collectAsStateWithLifecycle() and forwards events to the ViewModel.@Preview (or @PreviewParameterProvider) for the stateless Composable.data class with vals only)../gradlew ktfmtFormat. Verify @Previews render cleanly. Run tests to confirm zero regressions in behavior.ref: prefix (e.g., ref: hoist state from ChapterDownloadDialog to make component stateless and previewable). Include What, Why, Hoisted State & Events, and Preview verification in the description.UiState and onDismissRequest / onConfirm callbacks, and adding a @Preview.LibraryFilterSheet(viewModel) into a stateful container and a stateless LibraryFilterSheet(filters: FilterState, onFilterSelected: (Filter) -> Unit).remember { mutableStateOf(false) } inside a reusable item card with isExpanded: Boolean and onExpandToggle: () -> Unit hoisted to the parent list.TextField state (query: String, onQueryChange: (String) -> Unit) out of a search bar component to allow parent screen control.MutableStateFlow parameter pass-throughs into evaluated primitive/data models + callback lambdas.© nekomangaorg, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/hoister of nekomangaorg/Neko.
Open the folder on GitHubat commit e52cc82
State Hoister next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| State Hoister this skillnekomangaorg/Neko | 2.8k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Stylessreichholf/dreamDroid | 116 | 5 repos | ~2.3k | Automated safety check: Pass | GPL-3.0 | |
| Compose UIMoustachauve/WLED-Android | 169 | 3 repos | ~676 | Automated safety check: Pass | Apache-2.0 | |
| Compose Animationschrisbanes/skills | 1.1k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Compose UI Testing Patternschrisbanes/skills | 1.1k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 |
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
sreichholf/dreamDroid
A skill your agent uses to integrate the Jetpack Compose Styles API into an Android project.
Moustachauve/WLED-Android
Best practices for building UI with Jetpack Compose, focusing on state hoisting, detailed performance optimizations, and theming.
chrisbanes/skills
A skill your agent uses when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one…
chrisbanes/skills
A skill your agent uses when writing or reviewing Jetpack Compose UI tests, screenshot tests or baseline-recording evidence, previews, semantics assertions, fake image loading, keyboard input, focus…
sreichholf/dreamDroid
A skill your agent uses to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
nekomangaorg/Neko
Resolves deep, structural performance bottlenecks in the Kotlin Android codebase.
nekomangaorg/Neko
Resolves deep architectural debt in the Kotlin Android codebase through macro-level refactoring.
nekomangaorg/Neko
Optimizes Gradle build scripts, compilation times, and Android Studio sync performance.
nekomangaorg/Neko
Maintains Kotlin codebase health, idiomatic style, and modern API usage.
nekomangaorg/Neko
Extracts duplicated or tangled business logic from ViewModels, Repositories, or UI components into pure, highly testable Kotlin Use Cases (Interactors) following the Single Responsibility Principle.
nekomangaorg/Neko
Elevates the Jetpack Compose user interface through micro-UX improvements, animations, accessibility (a11y) fixes, and UI structural polish.
Works with
Categories
Hoists state in Jetpack Compose layouts to keep composables stateless, decoupled, and testable. State Hoister is an agent skill from nekomangaorg/Neko. Hoists state in Jetpack Compose layouts to keep composables stateless, decoupled, and testable.
State Hoister fits situations like: decouple child composables from ViewModels; replace internal mutableStateOf with hoisted state and event callbacks; expose stateless/stateful composable overloads; enforce unidirectional data flow (UDF).
Run `npx skills add nekomangaorg/Neko --skill state-hoister -a claude-code`. Or copy the skill folder (.agents/skills/hoister in nekomangaorg/Neko) into .claude/skills/state-hoister in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nekomangaorg/Neko --skill state-hoister -a codex`. Or copy the skill folder (.agents/skills/hoister in nekomangaorg/Neko) into .agents/skills/state-hoister in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nekomangaorg/Neko --skill state-hoister -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/state-hoister, .gemini/skills/state-hoister, .github/skills/state-hoister and .opencode/skills/state-hoister in your project.
SKILL.md names no scripts, command-line tools or credentials: State Hoister is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
State Hoister is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with State Hoister: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Styles (sreichholf/dreamDroid, 116 stars), Compose UI (Moustachauve/WLED-Android, 169 stars) and Compose Animations (chrisbanes/skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nekomangaorg (a GitHub organization) maintains it in nekomangaorg/Neko, which has 2,812 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 9, 2026.
Source: nekomangaorg/Neko on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.