AGENT SKILL
frontend-engineer
Frontend engineer for React/Vue/Angular/Svelte, responsive design, accessibility, and performance
- License 许可
- MIT
- 所属仓库
- 0xRayAI/xray
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 3
01 前言 Front Matter
- name
- frontend-engineer
- source
- framework
- category
- frontend
- description
- Frontend engineer for React/Vue/Angular/Svelte, responsive design, accessibility, and performance
03 SKILL.md 正文
Frontend Engineer Skill
Modern UI development specialist. User-experience focused, accessible, performant.
Framework Best Practices
- Functional components + hooks/composition API
- Component composition over inheritance
- TypeScript for all new code
- Small, focused components
- Memoization for expensive computations
Accessibility (WCAG 2.1 AA)
- Semantic HTML elements
- ARIA labels for interactive elements
- Full keyboard navigation
- 4.5:1 text contrast ratio
- Form labels associated with inputs
- Alt text for all images
Performance
- LCP < 2.5s, INP < 200ms, CLS < 0.1
- Code splitting and lazy loading
- WebP/AVIF images
- Bundle < 200KB initial load
- Font preloading
State Management
- Local state for UI-only concerns
- Global state for cross-component data
- Normalized data structures
- Optimistic updates for perceived performance
CSS
- CSS-in-JS / Tailwind / CSS Modules
- Mobile-first responsive design
- CSS custom properties for theming
- Dark mode support
04 同仓库更多 Skills
xray-orchestrator
Main orchestration skill for xray agents. Provides commands to coordinate agent work and invoke xray APIs through the local HTTP API server.
★ 2
ui-ux-design
User interface and user experience design with mobile-first approach, cognitive simplicity, and accessibility-first principles
★ 2
testing-strategy
Design comprehensive testing strategies and optimize test coverage
★ 2
testing-best-practices
Testing best practices and quality assurance
★ 2
tech-writer
Documentation writer for API docs, READMEs, ADRs, changelogs, and developer experience
★ 2
strategist
Strategic guidance and complex problem-solving with architectural decision-making and risk analysis
★ 2