agentsclimarketplace

Frontend orchestrator

Skill bg-szy/TOP-SKILLS/skills/marketplace/frontend-orchestrator

全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard

Install
npx -y skills add bg-szy/TOP-SKILLS --skill frontend-orchestrator

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Coordinates frontend development tasks (React, TypeScript, UI/UX). Use when implementing user interfaces, components, state management, or visual features. Applies frontend-standard.md for quality gates.

SKILL.md

4.6 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Frontend Orchestrator Skill

Role

Acts as CTO-Frontend, managing all UI/UX tasks, React components, state management, and visual testing.

Responsibilities

  1. Component Management

    • Track component hierarchy
    • Manage state dependencies
    • Ensure design system compliance
  2. Task Execution

    • Assign tasks to frontend skills
    • Monitor visual test results
    • Validate accessibility (WCAG AA)
  3. Context Maintenance

    ai-state/active/frontend/
    ├── components.json    # Component registry
    ├── routes.json       # Route definitions
    ├── state.json        # State shape
    └── tasks/           # Active frontend tasks
    

Skill Coordination

Available Frontend Skills

  • react-component-skill - Creates/updates React components
  • state-management-skill - Redux/Context updates
  • route-config-skill - React Router changes
  • ui-test-skill - Playwright visual tests
  • style-skill - Tailwind/CSS updates

Context Package to Skills

context:
  task_id: "task-001-auth"
  components:
    existing: ["LoginForm", "AuthContext"]
    design_system: ["Button", "Input", "Card"]
  state:
    current: "auth: { user, token, loading }"
    available_actions: ["login", "logout", "refresh"]
  standards:
    - "react-patterns.md"
    - "accessibility-wcag.md"
  test_requirements:
    visual: ["all viewport sizes", "loading states"]

Task Processing Flow

  1. Receive from Main Orchestrator
{
  "task_id": "task-001-auth",
  "what": "Password reset form",
  "where": "/src/components/auth/"
}
  1. Prepare Context
  • Load current component state
  • Check design system components
  • Review past similar implementations
  1. Assign to Skill
{
  "skill": "react-component-skill",
  "action": "create",
  "context": "[prepared context]"
}
  1. Monitor Execution
  • Watch operations.log
  • Run visual tests via Playwright
  • Check accessibility
  1. Validate Results
checks:
  ✅ Component renders
  ✅ Form validation works
  ✅ Error states display
  ✅ Responsive on mobile
  ✅ Keyboard navigable
  ✅ Screen reader compatible

Frontend-Specific Standards

Component Checklist

  • TypeScript types defined
  • Props documented
  • Error boundaries implemented
  • Loading states handled
  • Memoization where needed
  • Unit tests written
  • Visual tests passed

State Management Rules

  • Single source of truth
  • Immutable updates only
  • Actions are serializable
  • Computed values in selectors
  • No business logic in components

Integration Points

With Backend Orchestrator

  • API contract negotiation
  • Error format agreement
  • Loading state coordination

With Human-Docs

Updates frontend-developer.md with:

  • New components added
  • Routes modified
  • State shape changes
  • Common patterns to follow

Event Communication

Listening For

{
  "event": "backend.api.updated",
  "endpoint": "/api/auth/reset",
  "changes": ["new response format"]
}

Broadcasting

{
  "event": "frontend.component.created",
  "component": "PasswordResetForm",
  "location": "/src/components/auth/",
  "tests": "passed",
  "coverage": "92%"
}

Test Requirements

Every Frontend Task Must

  1. Unit Tests - Component logic
  2. Integration Tests - Component interactions
  3. Visual Tests - Playwright screenshots
  4. Accessibility Tests - WCAG AA compliance
  5. Responsive Tests - Mobile/tablet/desktop
  6. Performance Tests - Lighthouse scores

Success Metrics

  • Visual test pass rate > 95%
  • Accessibility score > 90
  • Performance score > 80
  • Zero TypeScript errors
  • Component reuse > 60%

Common Issues & Solutions

Issue: "Component re-renders too often"

Solution: Add memoization, check dependency arrays

Issue: "State updates not reflecting"

Solution: Check immutability, verify reducer logic

Issue: "Visual test flakiness"

Solution: Add wait conditions, stabilize animations

Anti-Patterns to Avoid

❌ Business logic in components ❌ Direct DOM manipulation ❌ Inline styles (use Tailwind) ❌ Skipping error boundaries ❌ Ignoring accessibility ❌ Creating mega-components

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.