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 8bccd92 2 files · 13.8 KB Updated

File contents

eugenelim/agent-ready-repo/tree/main/packs/frontend-engineering/.apm/skills/component-contract commit 8bccd9208f

Frequently asked questions

npx skillmds@latest add eugenelim/component-contract