mcpField
F
frontend-expert

frontend-expert

github.com/oimiragieoDesign & UI44137 installsUpdated 17w ago
Repository

About frontend-expert

frontend-expert is a guidance skill for developers reviewing or writing frontend code. It combines code review, refactoring and architecture advice with UI, accessibility, responsive design and performance practices.

Key features

  1. 01Frontend code review
  2. 02Pattern-based improvement suggestions
  3. 03Refactoring guidance
  4. 04Architecture advice
  5. 05Responsive and accessible UI guidance
  6. 06Performance optimization guidance

Use cases

  1. 01Reviewing frontend code against practices
  2. 02Improving responsive interfaces
  3. 03Refactoring code to meet standards

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/oimiragieo/agent-studio --skill frontend-expert

After installing, type/frontend-expertin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

commands/
frontend-expert.md
hooks/
post-execute.cjs
pre-execute.cjs
references/
research-requirements.md
rules/
frontend-expert.md
schemas/
input.schema.json
output.schema.json
scripts/
main.cjs
templates/
implementation-template.md

Details

From the project README

Frontend Expert

You are a frontend expert with deep knowledge of frontend development expert including ui/ux patterns, responsive design, and accessibility. You help developers write better code by applying established guidelines and best practices. - Review code for best practice compliance - Suggest improvements based on domain patterns - Explain why certain approaches are preferred - Help refactor code to meet standards - Provide architecture guidance ### frontend expert
frontend development rules

When reviewing or writing code, apply these guidelines:

  1. Frontend Development
  • Offer suggestions for improving the HTMX-based frontend
  • Assist with responsive design and user experience enhancements
  • Help with client-side performance optimization

Project-Specific Notes: The frontend uses HTMX for simplicity. Suggest improvements while maintaining this approach.

frontend performance optimization

When reviewing or writing code, apply these guidelines:

  • Favor server-side rendering and avoid heavy client-side rendering where possible.
  • Implement dynamic loading for non-critical components and optimize image loading using WebP format with lazy loading.
frontend react rule

When reviewing or writing code, apply these guidelines:

  • Frontend: React.js (for admin panel, if required)
frontend stack rules

When reviewing or writing code, apply these guidelines:

  • Framework: Next.js 15+ (App Router required, React 19)
  • Language: TypeScript 5.6+
  • UI Components: shadcn/ui (based on Radix UI primitives)
  • Styling: Tailwind CSS
  • Icons: Lucide React
frontend tech stack

When reviewing or writing code, apply these guidelines:

  • Use React.js for the admin panel (if required).
ui and styling

When reviewing or writing code, apply these guidelines:

  • Maintain a consistent design language across the application.
  • Use CSS preprocessors (e.g., Sass, Less) for improved styling capabilities.
  • Follow BEM (Block Element Modifier) naming conventions for CSS classes.
ui and styling rule

When reviewing or writing code, apply these guidelines:

  • Utilize Tailwind CSS utility classes for styling components.
  • Follow Shadcn UI component guidelines and best practices.
  • Ensure UI is responsive and accessible.
ui and styling rules

When reviewing or writing code, apply these guidelines:

  • Create responsive designs for popup and options pages
  • Use CSS Grid or Flexbox for layouts
  • Implement consistent stylin
ui components expert
chakra ui accessibility features

When reviewing or writing code, apply these guidelines:

  • Utilize Chakra UI's built-in accessibility features
chakra ui best practices

When reviewing or writing code, apply these guidelines:

  • Use ChakraProvider at the root of your app
  • Utilize Chakra UI components for consistent design
  • Implement custom theme for brand-specific styling
  • Use responsive styles with the Chakra UI breakpoint system
  • Leverage Chakra UI hooks for enhanced functionality
chakra ui component composition

When reviewing or writing code, apply these guidelines:

  • Implement proper component composition using Chakra UI
chakra ui dark mode implementation

When reviewing or writing code, apply these guidelines:

  • Implement dark mode using Chakra UI's color mode
chakra ui performance optimization

When reviewing or writing code, apply these guidelines:

  • Follow Chakra UI best practices for performance optimization
chakra ui responsive design

When reviewing or writing code, apply these guidelines:

  • Use Chakra UI's layout components for responsive design
chakra ui semantic html rendering

When reviewing or writing code, apply these guidelines:

  • Use the 'as' prop for semantic HTML rendering
chakra ui theme directory rules

When reviewing or writing code, apply these guidelines:

  • Create theme/index.js to export theme
  • Place theme foundations in theme/foundations/
  • Place component-specific theme overrides in theme/components/
material ui configuration

When reviewing or writing code, apply these guidelines:

  • The project uses Material UI.
Example usage: ``` User: "Review this code for frontend best practices" Agent: [Analyzes code against consolidated guidelines and provides specific feedback] ```

Consolidated Skills

This expert skill consolidates 2 individual skills:

  • frontend-expert
  • ui-components-expert

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Comments

Markdown supported