sickn33/agentic-awesome-skills/senior-frontend
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/senior-frontendSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sickn33/agentic-awesome-skills/senior-frontend.
Senior Frontend
Frontend development patterns, performance optimization, and automation tools for React/Next.js applications.
When to Use
- Use when scaffolding a new React or Next.js project with TypeScript and Tailwind CSS.
- Use when generating new components or custom hooks.
- Use when analyzing and optimizing bundle sizes for frontend applications.
- Use to implement or review advanced React patterns like Compound Components or Render Props.
- Use to ensure accessibility compliance and implement robust testing strategies.
Table of Contents
- Project Scaffolding
- Component Generation
- Bundle Analysis
- React Patterns
- Next.js Optimization
- Accessibility and Testing
Project Scaffolding
Generate a new Next.js or React project with TypeScript, Tailwind CSS, and best practice configurations.
Workflow: Create New Frontend Project
- Run the scaffolder with your project name and template:
``bash python scripts/frontend_scaffolder.py my-app --template nextjs ``
- Add optional features (auth, api, forms, testing, storybook):
``bash python scripts/frontend_scaffolder.py dashboard --template nextjs --features auth,api ``
- Navigate to the project and install dependencies:
``bash cd my-app && npm install ``
- Start the development server:
``bash npm run dev ``
Scaffolder Options
| Option | Description | |
|---|---|---|
--template nextjs | Next.js 14+ with App Router and Server Components | |
--template react | React + Vite with TypeScript | |
--features auth | Add NextAuth.js authentication | |
--features api | Add React Query + API client | |
--features forms | Add React Hook Form + Zod validation | |
--features testing | Add Vitest + Testing Library | |
--dry-run | Preview files without creating them |
Generated Structure (Next.js)
Component Generation
Generate React components with TypeScript, tests, and Storybook stories.
Workflow: Create a New Component
- Generate a client component:
``bash python scripts/component_generator.py Button --dir src/components/ui ``
- Generate a server component:
``bash python scripts/component_generator.py ProductCard --type server ``
- Generate with test and story files:
``bash python scripts/component_generator.py UserProfile --with-test --with-story ``
- Generate a custom hook:
``bash python scripts/component_generator.py FormValidation --type hook ``
Generator Options
| Option | Description | |
|---|---|---|
--type client | Client component with 'use client' (default) | |
--type server | Async server component | |
--type hook | Custom React hook | |
--with-test | Include test file | |
--with-story | Include Storybook story | |
--flat | Create in output dir without subdirectory | |
--dry-run | Preview without creating files |
Generated Component Example
Bundle Analysis
Analyze package.json and project structure for bundle optimization opportunities.
Workflow: Optimize Bundle Size
- Run the analyzer on your project:
``bash python scripts/bundle_analyzer.py /path/to/project ``
- Review the health score and issues:
``` Bundle Health Score: 75/100 (C)
HEAVY DEPENDENCIES: moment (290KB) Alternative: date-fns (12KB) or dayjs (2KB)
lodash (71KB) Alternative: lodash-es with tree-shaking ```
- Apply the recommended fixes by replacing heavy dependencies.
- Re-run with verbose mode to check import patterns:
``bash python scripts/bundle_analyzer.py . --verbose ``
Bundle Score Interpretation
| Score | Grade | Action | |
|---|---|---|---|
| 90-100 | A | Bundle is well-optimized | |
| 80-89 | B | Minor optimizations available | |
| 70-79 | C | Replace heavy dependencies | |
| 60-69 | D | Multiple issues need attention | |
| 0-59 | F | Critical bundle size problems |
Heavy Dependencies Detected
The analyzer identifies these common heavy packages:
| Package | Size | Alternative | |
|---|---|---|---|
| moment | 290KB | date-fns (12KB) or dayjs (2KB) | |
| lodash | 71KB | lodash-es with tree-shaking | |
| axios | 14KB | Native fetch or ky (3KB) | |
| jquery | 87KB | Native DOM APIs | |
| @mui/material | Large | shadcn/ui or Radix UI |
React Patterns
Reference: references/react_patterns.md
Compound Components
Share state between related components:
Custom Hooks
Extract reusable logic:
Render Props
Share rendering logic:
Next.js Optimization
Reference: references/nextjs_optimization_guide.md
Server vs Client Components
Use Server Components by default. Add 'use client' only when you need:
- Event handlers (onClick, onChange)
- State (useState, useReducer)
- Effects (useEffect)
- Browser APIs
Image Optimization
Data Fetching Patterns
Accessibility and Testing
Reference: references/frontend_best_practices.md
Accessibility Checklist
- Semantic HTML: Use proper elements (
<button>,<nav>,<main>) - Keyboard Navigation: All interactive elements focusable
- ARIA Labels: Provide labels for icons and complex widgets
- Color Contrast: Minimum 4.5:1 for normal text
- Focus Indicators: Visible focus states
Testing Strategy
Quick Reference
Common Next.js Config
Tailwind CSS Utilities
TypeScript Patterns
Resources
- React Patterns:
references/react_patterns.md - Next.js Optimization:
references/nextjs_optimization_guide.md - Best Practices:
references/frontend_best_practices.md
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Snapshot limitations
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/agentic-awesome-skills-claude/skills/senior-frontend/SKILL.md
Popularity
- Repository stars
- 47,167
- Repository forks
- 6,871
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/senior-frontend)