nemo-component-patterns
Installation
SKILL.md
Nemo Component Patterns
Use this skill when writing, modifying, or debugging Nemo UI components. It covers the conventions, patterns, and common pitfalls for the component system.
The 4-File Pattern
Every component touches exactly 4 files:
crates/nemo/src/components/<name>.rs— struct +RenderOnceimplcrates/nemo/src/components/mod.rs—mod+pub usecrates/nemo-registry/src/builtins.rs— schema registrationcrates/nemo/src/app.rs— render dispatch match arm
Component Struct Convention
use gpui::*;
use nemo_macros::NemoComponent;