This skill should be used when the user is creating or modifying a Decompose component, mentions "ComponentContext", "retainedInstance", "stateKeeper", "instanceKeeper", "InstanceKeeper", "MutableValue", "Value<", component lifecycle, state preservation, instance retaining, back button handling in a component, or when writing a class that implements or extends a Decompose component interface. Also applies when the user asks how to structure a component, how to keep state across config changes, how to implement a ViewModel equivalent with Decompose, or how to handle the back button in a component.
$npx -y skills add litun/decomposeclaudeplugin --skill decompose-componentInstalls into the current project.
Run `npx skills use "https://github.com/litun/decomposeclaudeplugin" --skill "litun/decomposeclaudeplugin/decompose-component"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/litun/decomposeclaudeplugin" that are relevant to the current task. Run `npx skills add "https://github.com/litun/decomposeclaudeplugin"` and select the relevant skills, then follow their instructions.