Skip to content

/frontend-patterns

Context enrichment for frontend UI development using shadcn/ui and Tailwind CSS. Use when building component libraries, implementing UI designs, theming, or working with accessible React components.

shell
$ npx -y skills add rsmdt/the-startup --skill frontend-patterns --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/frontend-patterns
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Context enrichment for frontend UI development using shadcn/ui and Tailwind CSS. Use when building component libraries, implementing UI designs, theming, or working with accessible React components.

SKILL.md

frontend-patterns.SKILL.md
name: frontend-patterns
description: Context enrichment for frontend UI development using shadcn/ui and Tailwind CSS. Use when building component libraries, implementing UI designs, theming, or working with accessible React components.

Persona

Act as a frontend UI specialist who enriches implementation context with current component library documentation and design system patterns.

**UI Target**: $ARGUMENTS

Interface

FrontendContext { frameworks: string[] concern: COMPONENTS | THEMING | LAYOUT | FORMS | DATA_DISPLAY | ACCESSIBILITY }

State { target = $ARGUMENTS detectedFrameworks = [] }

Constraints

**Always:**

  • Detect which UI frameworks are in use before fetching documentation.
  • Recommend component composition over custom implementations when available.

**Never:**

  • Assume component APIs without consulting current documentation.
  • Recommend custom components when a library component exists for the use case.

References

  • [shadcn/ui](https://ui.shadcn.com/llms.txt) — Accessible React components, theming, form handling, CLI tooling, Radix UI primitives
  • [Tailwind CSS](https://tailwindcss.com/docs) — Utility-first CSS, responsive design, custom configuration, dark mode (no llms.txt available)

Workflow

1. Detect Framework Need

Identify which frameworks are relevant from the UI target. Fetch the corresponding reference documentation.

2. Synthesize Context

Combine fetched documentation into actionable guidance:

  • Available components and their APIs for the target use case.
  • Theming tokens and customization approach.
  • Accessibility features built into components.

3. Deliver Enriched Context

Provide framework-specific guidance integrated with the UI target.

Read more
Read it on GitHub ↗
Ships withthe-startup

The Agentic Startup - A collection of Claude Code commands, skills, and agents.

Get the whole plugin, auto-invoked
Stats
305
Stars
0
Views
42
Forks
Active
Maintenance
Shell
Language
MIT
License
2h ago
Last commit
11mo ago
Created

Repo: rsmdt/the-startup