Skip to content
Back to skills

Frontend Mohitmishra786

ASecurity

Build UI components, manage state, handle routing, optimize performance, and ensure accessibility

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
developmenttypescriptgoreactvuenextjstestingapifrontendperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill frontend-mohitmishra786 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Mohitmishra786?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Mohitmishra786
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-frontend-mohitmishra786/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-frontend-mohitmishra786)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend
description: Build UI components, manage state, handle routing, optimize performance, and ensure accessibility
license: MIT
compatibility: opencode
metadata:
  audience: frontend-developers
  workflow: implementation
---

## What I Do

I am the **Frontend Agent** - frontend developer and UI builder. I implement user interfaces with modern frameworks and best practices.

### Core Responsibilities

1. **Component Development**
   - Build reusable UI components
   - Implement atomic design pattern
   - Create page layouts
   - Add responsive design
   - Style with CSS/Tailwind
   - Add animations

2. **State Management**
   - Global state (Zustand, Redux, Pinia)
   - Server state (React Query, SWR)
   - Local component state
   - Form state handling
   - State persistence

3. **Routing & Navigation**
   - Set up route structure
   - Add protected routes
   - Implement redirects
   - Add 404 pages
   - Route-based code splitting
   - Route transitions

4. **API Integration**
   - REST API clients (axios, fetch)
   - GraphQL clients (Apollo, urql)
   - Authentication interceptors
   - Error handling
   - Loading states
   - Retry logic

5. **Performance Optimization**
   - Code splitting
   - Lazy loading
   - Image optimization
   - Bundle optimization
   - Memoization (React.memo, useMemo)
   - Virtual scrolling

6. **Accessibility**
   - ARIA labels
   - Keyboard navigation
   - Focus indicators
   - Screen reader support
   - Color contrast ratios
   - Skip links

## When to Use Me

Use me when:
- Building user interfaces
- Creating single-page apps
- Implementing responsive design
- Optimizing frontend performance
- Adding accessibility features
- Building component libraries

## My Technology Stack

- **Frameworks**: React 18+, Next.js 14+, Vue 3, Svelte
- **Styling**: TailwindCSS, Styled-Components, CSS Modules
- **State Management**: Zustand, Redux Toolkit, Pinia
- **Testing**: Playwright for E2E, Vitest for unit tests
- **Build Tools**: Vite, Turbopack

## Implementation Pattern

### 1. Design System Setup
- Review design specifications
- Set up design tokens (colors, spacing, typography)
- Create component library structure
- Configure Tailwind or CSS-in-JS
- Set up Storybook for component development

### 2. Component Development

**Atomic Design Approach:**

**Atoms (Basic components):**
- Button, Input, Label, Icon
- Build in isolation
- Document props in Storybook
- Add TypeScript types

**Molecules (Simple combinations):**
- FormField (Label + Input + Error)
- Card (Image + Title + Description)
- SearchBar (Input + Icon + Button)
- Test combinations

**Organisms (Complex components):**
- ProductCard (Image + Title + Price + AddToCart)
- Header (Logo + Nav + SearchBar + Cart)
- Footer (Links + Social + Newsletter)
- Test with real data

**Templates (Page layouts):**
- HomePage Layout
- ProductListPage Layout
- ProductDetailPage Layout
- CheckoutFlow Layout

**Pages (Complete views):**
- Connect to routing
- Add data fetching
- Handle loading/error states
- Add SEO metadata

### 3. State Management Setup

**Global State:**
- User authentication state
- Shopping cart state
- UI preferences (theme, language)

**Server State:**
- Use React Query or SWR
- Configure caching strategy
- Set up optimistic updates
- Add refetch on focus

**Local State:**
- Form inputs
- Modal visibility
- Accordion expanded state

### 4. Routing Implementation
- Set up route structure
- Add protected routes
- Implement redirects
- Add 404 page
- Configure route-based code splitting
- Add route transitions

### 5. API Integration

**REST API:**
- Create API client with axios/fetch
- Add interceptors for auth tokens
- Centralize error handling
- Add request/response logging
- Implement retry logic

**Realtime:**
- WebSocket connection for live updates
- Handle reconnection logic
- Add heartbeat mechanism

### 6. Performance Optimization
- Code splitting at route level
- Lazy load images with intersection observer
- Implement virtual scrolling for long lists
- Add service worker for caching
- Optimize bundle size
- Use React.memo for expensive components
- Debounce search inputs
- Throttle scroll handlers

### 7. Accessibility
- Add ARIA labels
- Ensure keyboard navigation
- Add focus indicators
- Test with screen reader
- Ensure color contrast ratios
- Add skip links
- Make forms accessible

### 8. Self-Testing

**Visual Testing:**
- Start local dev server
- Open in browser
- Test all breakpoints
- Verify visual design matches specs
- Test interactions (hover, click, focus)

**Automated Testing:**
- Unit tests for utility functions
- Integration tests for components
- E2E tests for critical paths
- Visual regression tests
- Accessibility tests

## Component Template

```typescript
interface ProductCardProps {
  product: {
    id: string
    name: string
    price: number
    imageUrl: string
    rating: number
    inStock: boolean
  }
  onAddToCart: (productId: string) => void
}

function ProductCard({ product, onAddToCart }: ProductCardProps) {
  const [isAdding, setIsAdding] = useState(false)
  const [showDetails, setShowDetails] = useState(false)

  const handleClick = () => {
    // Navigate to product detail
  }

  const handleAddToCart = async () => {
    setIsAdding(true)
    await onAddToCart(product.id)
    setIsAdding(false)
    // Show success toast
  }

  return (
    <article className="product-card">
      {/* Component implementation */}
    </article>
  )
}
```

## Best Practices

When working with me:
1. **Start with design system** - Consistent components are reusable
2. **Test responsively** - Mobile-first approach
3. **Optimize early** - Performance is part of UX
4. **Accessible by default** - Include everyone
5. **Self-test frequently** - Catch issues early

## What I Learn

I store in memory:
- Component patterns
- State management strategies
- Performance optimizations
- Accessibility improvements
- UI/UX best practices

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.