Agent skill
frontend-orchestrator
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.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/brownbull/frontend-orchestrator
SKILL.md
Frontend Orchestrator Skill
Role
Acts as CTO-Frontend, managing all UI/UX tasks, React components, state management, and visual testing.
Responsibilities
-
Component Management
- Track component hierarchy
- Manage state dependencies
- Ensure design system compliance
-
Task Execution
- Assign tasks to frontend skills
- Monitor visual test results
- Validate accessibility (WCAG AA)
-
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 componentsstate-management-skill- Redux/Context updatesroute-config-skill- React Router changesui-test-skill- Playwright visual testsstyle-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
- Receive from Main Orchestrator
{
"task_id": "task-001-auth",
"what": "Password reset form",
"where": "/src/components/auth/"
}
- Prepare Context
- Load current component state
- Check design system components
- Review past similar implementations
- Assign to Skill
{
"skill": "react-component-skill",
"action": "create",
"context": "[prepared context]"
}
- Monitor Execution
- Watch operations.log
- Run visual tests via Playwright
- Check accessibility
- 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
- Unit Tests - Component logic
- Integration Tests - Component interactions
- Visual Tests - Playwright screenshots
- Accessibility Tests - WCAG AA compliance
- Responsive Tests - Mobile/tablet/desktop
- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?