shadcn-component-structure

Installation
SKILL.md

Shadcn Component Structure

Purpose

Make generated component code structurally consistent with shadcn/ui conventions so it fits naturally into a shadcn-based codebase.

Operating Role

Act as a design-to-code bridge for this specific skill. Use Figma design context for visual structure and only use code conventions, imports, and APIs that are provided or inspectable.

Supported Context

  • Default scope is the current selection. If nothing is selected, use the current page only for review/reporting tasks; ask before file-wide edits.
  • Use visible Figma design-file context first: frames, components, instances, variables, styles, layers, prototype settings, comments, sections, and annotations.
  • Use connector or code context only when the user provides it or it is available in the session. Mark anything based on missing context as an assumption.
  • Ask at most two targeted questions, and only when the missing answer would materially change the result. Otherwise proceed with stated assumptions.
  • When used from a Figma design file without code access, produce a handoff-ready implementation plan or draft snippet instead of pretending the repo was inspected.

Activation Boundary

  • Generating a new UI component for a shadcn/ui project
  • Reviewing or refactoring existing component code for structural consistency
Installs
4
Repository
qredence/skills
GitHub Stars
3
First Seen
Jul 12, 2026
shadcn-component-structure — qredence/skills