What problem does it solve?
Podman Desktop extensions can advertise named capabilities, but wiring those declarations through the main process registry, IPC events, and renderer stores is easy to get wrong. This Skill explains the full mechanism so features are declared, propagated, and detected correctly.
Core Features & Use Cases
- Feature Declaration: Add a
features array under contributes in an extension's package.json, automatically registered and unregistered on activation/deactivation.
- Registry and IPC Flow: Understand how FeatureRegistry stores features per extension and pushes
feature-registry:features-updated events to the renderer.
- Renderer Detection Patterns: Use the
registeredFeatures Svelte store or onDidChangeRegisteredFeatures event target to react to feature changes in components.
- Use Case: When building an extension like kube-context that contributes
kubernetes-contexts-manager, write a Svelte component that hides built-in navigation sections only while that feature is active.
Quick Start
Ask the AI to add a new feature declaration to your extension manifest and write a Svelte component that reacts when that feature becomes active or inactive.