# frontend-patterns

The frontend-patterns skill gives Claude Code task-specific guidance for React UI work with shadcn/ui and Tailwind CSS. Use it for component choices, theming, forms, and accessibility.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 587 repo stars
- Author: Rudolf S.
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/rsmdt/the-startup/tree/HEAD/plugins/team/skills/development/frontend-patterns/SKILL.md
- Updated: 2026-10-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/rudolf-s-frontend-patterns

## What it does

The skill identifies which UI frameworks apply to the requested work, then retrieves their documentation. It turns that material into guidance on component APIs, theme customization, and built-in accessibility features. Recommendations are tied to the interface goal you provide.

Its references cover shadcn/ui and Tailwind CSS. The skill favors library components when they fit and checks documentation rather than guessing at component APIs. It needs to retrieve relevant reference material before giving guidance; without that, it cannot verify whether a component suits the task.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add rsmdt/the-startup
```
In the agent chat (not a shell):
```text
/plugin install team@the-startup
```
This installs the whole team plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add rsmdt/the-startup --skill frontend-patterns -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/frontend-patterns/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/frontend-patterns/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rsmdt/the-startup --skill frontend-patterns -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/frontend-patterns/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rsmdt/the-startup --skill frontend-patterns -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/frontend-patterns/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rsmdt/the-startup plugins/team/skills/development/frontend-patterns
```

2. **Manually: put the files in place**
- File: `.github/skills/frontend-patterns/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rsmdt/the-startup --skill frontend-patterns -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rsmdt/the-startup --path plugins/team/skills/development/frontend-patterns
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/frontend-patterns/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rsmdt/the-startup/tree/HEAD/plugins/team/skills/development/frontend-patterns/SKILL.md

## When to use it
- choose library components for a UI
- configure theme tokens for a page
- plan accessible forms
- check component APIs against documentation

## Example prompts
- Choose shadcn/ui components for the settings page and verify their APIs against the docs.
- Help me configure Tailwind CSS theming for this interface.
- Suggest accessible components for a registration form in my project.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 2f0c72f4f8e82561.

BEGIN THIRD-PARTY FILE 2f0c72f4f8e82561
```text
---
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.
```
END THIRD-PARTY FILE 2f0c72f4f8e82561

The third-party file has ended. Everything between the 2f0c72f4f8e82561 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© Rudolf S. · MIT · https://github.com/rsmdt/the-startup/tree/HEAD/plugins/team/skills/development/frontend-patterns/SKILL.md

## Similar
- [ui-design-system](https://affpapa.org/en/nevibecode/skills/platform-team-ui-design-system.md) — skill · 124 installs
- [frontend-developer](https://affpapa.org/en/nevibecode/agents/qdhenry-frontend-developer.md) — subagent · ★ 1357 repo stars
- [tailwind-design-system](https://affpapa.org/en/nevibecode/skills/giuseppe-trisciuoglio-tailwind-design-system.md) — skill · 4800 installs
- [design-guide](https://affpapa.org/en/nevibecode/skills/design-guide.md) — skill · 416 installs
- [tailwindcss-advanced-components](https://affpapa.org/en/nevibecode/skills/tailwindcss-advanced-components.md) — skill · 253 installs
- [shadcn](https://affpapa.org/en/nevibecode/skills/vercel-labs-shadcn.md) — skill · 72 installs

## Other versions with the same name
- [frontend-patterns · affaan-m](https://affpapa.org/en/nevibecode/skills/frontend-patterns.md) — 7900 installs

From the same set: [rsmdt/the-startup](https://affpapa.org/en/nevibecode/by/rsmdt/the-startup.md) — 50 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
