setup-registry-workflow
Installation
SKILL.md
Setup Registry Workflow
Hooks
- PostToolUse (
ui-registry-warn.sh): warn once/session when edit UI component dirs | prompt upstream PR - Stop (
registry-check.sh): block if redpanda-ui modified without updateregistry.json+ add changeset
Component Taxonomy (Atomic Design)
Classify every registry component one level. Drive test depth.
| Level | useState | Registry imports | Custom kbd handlers | Portal | Test count |
|---|---|---|---|---|---|
| Atom | 0-1 | 0 | 0 | No | 3-4 |
| Molecule | 2 | 1-2 | 1-10 lines | Maybe | 5-8 |
| Organism | 3+ | 3+ | 10+ lines | Often | 8-15 |
Tiebreaker: highest-scoring signal win. Radix-provided kbd nav no count.