Agent skill

frontend-skill

Build frontend user interfaces including pages, components, layouts, and styling. Use for UI development and presentation layers.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/frontend-skill

SKILL.md

Frontend Skill – UI Pages & Components

Instructions

  1. Pages & Routing

    • Create structured pages and routes
    • Organize UI by feature or domain
    • Support responsive layouts
  2. Component Development

    • Build reusable, composable components
    • Separate presentation and logic
    • Manage component state cleanly
  3. Layout Structure

    • Implement consistent layouts
    • Use grid and flexbox appropriately
    • Ensure responsiveness across devices
  4. Styling

    • Apply modern CSS or styling frameworks
    • Maintain consistent design tokens
    • Support theming and accessibility

Best Practices

  • Use reusable and modular components
  • Follow mobile-first design principles
  • Keep styles consistent and maintainable
  • Ensure accessibility standards
  • Optimize UI for performance

Example Structure

html
<main class="layout">
  <header class="navbar">Navigation</header>
  <section class="content">
    <Card />
  </section>
</main>

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results