From frontend-toolkit
Design React-family and React Native components with clear composition, prop boundaries, and ownership — when to split, when to compose, what to lift, and what to keep local. Use when creating a new component, refactoring a bloated one, deciding a component's props/children API, or reviewing component structure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-toolkit:component-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Stack-agnostic principles, concrete examples in React 19 and React Native.
Stack-agnostic principles, concrete examples in React 19 and React Native. The examples port to Vue/Svelte; the judgments don't change.
Version targets: React 19, React Native 0.81 (current stable). Snippets grounded
against Context7 (/reactjs/react.dev, /facebook/react-native) at authoring time —
see references/snippets.md.
Every component decision reduces to: what does this component own, and what does it merely render? Owned state and behavior justify a component; pure rendering of parent-owned data is often a prop or a child, not a new component.
children and slot props to a growing list
of boolean flags. A component with eight is*/show* props is usually several
components wearing a trench coat.className/style pass-through unless the component is genuinely a primitive).View/Text/Pressable) and that list item
components render many times, so they must be cheap. See references/pitfalls.md.superpowers:brainstorming) and let them
click, instead of asking in prose. "Which of these feels right?" is for the
companion; "what should this do?" stays in the terminal.references/checklist.md against the component you're designing or reviewing.references/snippets.md (composition, compound
components, controlled/uncontrolled, RN list item).references/pitfalls.md before you ship — most component PRs hit at least one.state-managementstyling-systemsaccessibility-auditfrontend-testingsuperpowers:brainstorming (visual companion)Mines projects and conversations into a searchable memory palace. Activates on queries about MemPalace, memory palace, mining, searching, palace setup, wings, rooms, drawers, or recalling past work.
Whole-repo audit for over-engineering: finds dead code, unnecessary abstractions, stdlib-replaceable dependencies. Outputs ranked findings and net line/dep savings.
npx claudepluginhub ravnhq/sasso-hq --plugin frontend-toolkit