# senior-frontend

Build React and Next.js scaffolds and components, inspect dependencies, and apply accessibility practices. Useful when starting a project or extending an existing app.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 345 installs · ★ 980
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/senior-frontend/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-senior-frontend

## What it does

The skill can scaffold a Next.js App Router or React+Vite project, then generate components or hooks with optional test and Storybook files. Its bundle checker scans `package.json` and imports to flag heavy dependencies and suggest lighter alternatives. The check is static, not a measurement of a built app.

Guidance covers React component patterns, Server and Client Components, image and data loading, semantic HTML, and accessibility tests. Before generation, choose a project template, optional features, and whether the target is a new project or an existing app. The scope is frontend work; API development and Cypress or Playwright end-to-end tests sit outside it.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill senior-frontend -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill senior-frontend -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill senior-frontend -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills senior-frontend
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill senior-frontend -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/senior-frontend
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill senior-frontend -a opencode
```

### 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/borghei/Claude-Skills/tree/HEAD/engineering/senior-frontend/SKILL.md

## When to use it
- scaffold a Next.js or React+Vite project with TypeScript and Tailwind
- generate a component or hook with a test file
- spot heavy dependencies through `package.json` and imports
- review a component for accessibility and React patterns

## Example prompts
- Create a Next.js project with TypeScript, Tailwind, and auth.
- Add a ProductCard component with a test and Storybook story.
- Scan this project’s dependencies and imports for heavy packages.

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1200000 installs
- [hyperframes-cli](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes-cli.md) — skill · 1300000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs

## Other versions with the same name
- [senior-frontend · alirezarezvani](https://affpapa.org/en/nevibecode/skills/senior-frontend.md) — 1630 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 17 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
