Token导航 LogoToken导航

Agent Skill · 前端设计

frontend-dev(前端开发)

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

frontend-dev 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,853。

总安装 447周安装 19GitHub Stars 16下载 157核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

frontend-dev 用于辅助前端页面、组件、样式和交互逻辑的开发与维护,适合生成或审查 React、Vue 等相关代码。适用于前端开发和组件结构优化场景。通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。使用时需结合项目路由和构建方式,配合本地预览确认视觉效果。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/frontend-dev

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill frontend-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

frontend-dev 怎么安装?

在终端执行 npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill frontend-dev。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

frontend-dev 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

frontend-dev 需要什么权限?

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

frontend-dev 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

frontend-dev 用的人多吗?

公开数据是累计安装 447 次,近一周安装 19 次,下载 157 次,GitHub 16 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

frontend-dev 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
frontend-dev

前端开发 · 本页

44716操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

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