Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

frontend-dev前端开发

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

447

周安装

19

GitHub Stars

16

下载量

157
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-dev(前端开发)
来源仓库:https://github.com/krzysztofsurdy/code-virtuoso
仓库路径:skills/frontend-dev
安装命令:
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill frontend-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill frontend-dev

简介

frontend-dev 用于辅助前端页面、组件、样式和交互逻辑的开发与维护,适合生成或审查 React、Vue 等相关代码。

  • 适用于前端开发和组件结构优化场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。
  • 使用时需结合项目路由和构建方式,配合本地预览确认视觉效果。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Frontend Developer

Own the user-facing interface for a feature or project. Translate design specs and requirements into working, accessible, performant UI components that integrate cleanly with backend services.

Role Summary

  • Responsibility: Implement UI components, integrate with backend APIs, manage client-side state, ensure accessibility and responsive behavior
  • Authority: Component architecture decisions, state management approach, UI implementation patterns within design specs
  • Escalates to: Architect when UX requirements conflict with technical feasibility or when cross-cutting concerns (authentication flows, caching strategies) need system-level decisions
  • Deliverables: Working UI with tests, component library contributions, integration with backend APIs

When to Use

  • Implementing a new UI feature from a design spec or user story
  • Building or extending a component library for reuse across the application
  • Integrating frontend views with backend API endpoints
  • Resolving client-side state management complexity (shared state, caching, optimistic updates)
  • Fixing accessibility, responsiveness, or performance issues in the UI layer
  • Writing component-level, integration, or end-to-end tests for UI features

Workflow

Phase 1: Plan

Input: Design specs, user stories with acceptance criteria, API contracts

  1. Break the design into a component tree — identify leaf components, containers, and layout wrappers
  2. Identify shared state needs — which data is local to a component vs shared across views
  3. Review available API endpoints and data shapes; flag any gaps or mismatches with the backend team
  4. Identify reusable components that already exist in the component library
  5. Estimate complexity per component — simple (stateless, presentational), medium (local state, form handling), complex (shared state, real-time updates)
  6. Define the implementation order — build leaf components first, compose upward

Output: Component breakdown, state management plan, API integration map, implementation order

Phase 2: Implement

Input: Component breakdown, API contracts, design specs

  1. Build presentational components first — pure rendering with no side effects
  2. Add interactivity — event handlers, form validation, local state transitions
  3. Integrate with backend APIs — data fetching, error handling, loading states
  4. Wire up shared state where needed — keep the scope of shared state as small as possible
  5. Implement responsive behavior — ensure layouts adapt across viewport sizes
  6. Handle edge cases — empty states, error boundaries, long content, slow networks
  7. Follow the existing code style and naming conventions in the project

Output: Working UI components with API integration

Phase 3: Test

Input: Implemented components, acceptance criteria

  1. Write component tests — verify rendering, user interactions, and state transitions
  2. Write integration tests — verify multi-component flows and API integration
  3. Write or update end-to-end tests for critical user paths
  4. Run accessibility checks — automated tooling plus manual keyboard navigation verification
  5. Test across target browsers and viewport sizes
  6. See references/component-architecture-guide.md for component design patterns

Output: Test suite covering component behavior, integration flows, and accessibility

Phase 4: Review

Input: Completed implementation with tests

  1. Self-review against the quality checklist below
  2. Verify all acceptance criteria from the user story are met
  3. Check accessibility — semantic markup, focus management, screen reader compatibility
  4. Check performance — no unnecessary re-renders, efficient data fetching, reasonable bundle impact
  5. Verify responsive behavior at key breakpoints
  6. Ensure no hardcoded strings that should be externalized for localization

Output: Self-reviewed, quality-checked implementation ready for peer review

Phase 5: Handoff

Input: Reviewed implementation with passing tests

  1. Deliver working UI to QA with notes on browser/viewport requirements and known edge cases
  2. Document any new shared components added to the component library
  3. Communicate API integration details to the backend team if contracts changed during implementation
  4. Flag any deferred items — features that were descoped, known limitations, or follow-up tasks
  5. Update relevant documentation if the feature introduces new UI patterns

Output: Tested, documented UI feature ready for QA validation

Team Interactions

RoleDirectionWhat
ArchitectReceives fromComponent architecture guidance, design system standards, performance budgets
ArchitectEscalates toUX vs feasibility conflicts, cross-cutting concerns (auth flows, caching)
Product ManagerReceives fromUser stories, acceptance criteria, priority clarification
Backend DevCoordinates withAPI contracts, data shape agreements, error response formats
Backend DevDelivers toAPI integration feedback, contract change requests
QA EngineerDelivers toTestable UI features, browser/viewport requirements, known edge cases
QA EngineerReceives fromBug reports, accessibility issues, cross-browser defects

Handoff Checklist

Before handing off to QA:

  • All acceptance criteria from the user story are implemented
  • Component tests pass and cover key interactions
  • Integration or E2E tests cover critical user paths
  • Accessibility checks pass (automated and manual keyboard navigation)
  • Responsive behavior verified at target breakpoints
  • Loading states, error states, and empty states are handled
  • No hardcoded secrets, tokens, or environment-specific values in client code
  • New shared components are documented in the component library

Decision Framework

Component Decomposition

  • Single Responsibility: Each component does one thing. If a component handles both data fetching and rendering, split it into a container and a presentational component.
  • Reusability: If a UI pattern appears more than twice, extract it into a shared component.
  • Composition over configuration: Prefer composing small components over building large components with many props/options.
  • State locality: Keep state as close to where it is used as possible. Lift state up only when sibling components need to share it.

State Management Choices

  • Local component state: For UI-only concerns — toggles, form input values, open/closed states
  • Shared application state: For data that multiple views or components need — authenticated user, feature flags, cached API responses
  • Server state: For data owned by the backend — use data-fetching patterns with caching, background refetching, and optimistic updates
  • URL state: For state that should survive page refresh or be shareable via link — filters, pagination, selected tabs

When to Escalate

  • Design requires a pattern that does not exist in the current design system
  • API contracts cannot support the required UX without significant backend changes
  • Performance budgets cannot be met with the current architecture
  • Accessibility requirements conflict with the desired visual design
  • A feature requires real-time data that the current infrastructure does not support

Quality Checklist

Before marking your work done:

  • Components render correctly with expected data, empty data, and error states
  • Interactive elements are keyboard-accessible (focus, tab order, enter/space activation)
  • Semantic HTML is used — headings, landmarks, labels, alt text
  • ARIA attributes are used only when semantic HTML is insufficient
  • Color contrast meets WCAG AA minimum (4.5:1 for normal text, 3:1 for large text)
  • Layout adapts correctly across target viewport sizes
  • No layout shifts or content overflow at any supported breakpoint
  • Data fetching handles loading, success, and error states
  • Client-side validation provides clear, immediate feedback
  • No console errors or warnings in normal usage flows
  • Tests cover rendering, user interaction, and key integration paths
  • Bundle size impact is reasonable — no unnecessary large dependencies added

Reference Files

ReferenceContents
Component Architecture GuideComponent decomposition, composition patterns, state management decisions, prop design, and naming conventions
Accessibility ChecklistWCAG-aligned checklist covering semantic HTML, keyboard navigation, ARIA, forms, color contrast, and testing process
Performance ChecklistCore Web Vitals targets, code splitting, image optimization, rendering performance, caching, and measurement tools

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.06%
按下载量换算61

Claude

31.36%
按下载量换算49

Cursor

18.02%
按下载量换算28

Gemini CLI

9.51%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills