Component Contract

Design a UI component's public interface — props/slots/events, controlled vs. uncontrolled ownership, composition patterns, lifecycle contract, and usage documentation — before writing any implementation. Triggers on "design the public contract for a shared date picker", "define the props, events, and slots before we build this component", "review this shared component's API before we publish it".

eugenelim Updated 28 repo stars

File contents

eugenelim/agent-ready-repo commit 8bccd9208f

Frequently asked questions

npx get-skill add eugenelim/component-contract