component-api-design

Installation
SKILL.md

Component API Design — Engineering Skill

Standards for the surface a reusable component exposes to the code that uses it: which props exist, how variation is expressed, who owns the state, and how the API changes over time. Framework-neutral — the principles hold for React, Vue, and Angular; examples are TSX with the slot equivalent noted.

Builds on. architecture-and-design for the design principles underneath (SOLID — especially open/closed, cohesion, dependency direction) and react / angular / vue for the framework's actual props, slots, and ref API. On a conflict, architecture-and-design decides the principle, the framework skill decides the API syntax, and this skill decides the shape of the component's public contract. Load a sibling only when the task turns on its layer; if it is not loaded, apply that layer from general knowledge and do not block.

This SKILL.md is self-sufficient: the Ruleset below is the complete, enforceable list. Each references/<topic>.md holds that group's reasoning and ❌ / ✅ code, and references/worked-example.md a full review pass; open them for depth when your runtime allows.


Installs
30
GitHub Stars
3
First Seen
Sep 4, 2026