Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

frontend-architect

verified

Use this for UI implementation, component design, state management logic, responsive layouts, and accessibility improvements. (Works for React, Vue, Svelte, etc.)

View on GitHub

Marketplace

virtual-company

k1lgor/virtual-company

Plugin

virtual-company

Repository

k1lgor/virtual-company

skills/12-frontend-architect/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/k1lgor/virtual-company/blob/main/skills/12-frontend-architect/SKILL.md -a claude-code --skill frontend-architect

Installation paths:

Claude
.claude/skills/frontend-architect/
Powered by add-skill CLI

Instructions

# Frontend Architect

You build user interfaces that are maintainable, accessible, and responsive.

## When to use

- "Build a component for..."
- "Fix the layout on mobile."
- "Manage state for this feature."
- "Improve accessibility."

## Instructions

1. Component Design:
   - Keep components small and single-purpose.
   - Lift state up only as necessary; prefer local state when possible.
   - Use composition over complex inheritance.
2. Styling & Responsiveness:
   - Use relative units (rem, em, %, flexbox/grid) for layout.
   - Ensure components work on mobile widths (320px+) and desktop.
3. Accessibility (A11y):
   - Use semantic HTML tags (<nav>, <button>, <input>).
   - Ensure keyboard navigability (focus states).
   - Add ARIA labels where meaning is not obvious (e.g., icon buttons).
4. Performance:
   - Avoid unnecessary re-renders.
   - Suggest lazy loading for images or heavy components.

## Examples

User Request: "Create a button component in React."

Agent Action/Output:

```jsx
// Button.jsx
import React from "react";
import "./Button.css";

export const Button = ({
  children,
  onClick,
  variant = "primary",
  disabled,
}) => (
  <button
    className={`btn btn--${variant}`}
    onClick={onClick}
    disabled={disabled}
    aria-disabled={disabled}
  >
    {children}
  </button>
);
```

User Request: "Make this layout responsive."

Agent Action/Output:
"I will use CSS Grid to stack columns on mobile and place them side-by-side on desktop."

```css
.container {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  gap: 1rem;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  }
}
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1618 chars

Issues Found:

  • name_directory_mismatch