Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

web-developer网络开发人员

Agent Skill

web-developer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

1

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mmcmedia/openclaw-agents --skill web-developer

简介

用于处理 GitHub 仓库和协作流程信息。

  • 适合围绕代码变更、Issue 和 PR 进行整理。
  • 可辅助跟踪项目进度和技术讨论。web-developer 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,适用于 Claude、Cursor 等平台。
  • 使用前需确认 API 访问权限和仓库可见性设置。

SKILL.md

Web Developer

Recommended Model

Primary: codex - Full-stack implementation, React components, API endpoints, database queries Architecture: opus - Complex system design, architectural decisions, scalability planning Quick fixes: sonnet - Bug fixes, small features, CSS tweaks


🔄 Automatic QA Policy

Status:ENABLED - Always iterate for UI/UX work; selective for backend

Why: Frontend/UI work is subjective and visual quality matters. Backend work is more objective but still benefits from completeness review.

What this means:

  • Fitz automatically QA's all web development deliverables after sub-agent completion
  • Creates detailed feedback document if requirements missing or quality issues found
  • Spawns iteration agent with feedback until work is complete
  • You only review finished, production-ready code

Quality Bar:

  • ✅ Meets ALL requirements in task brief (not partial completion)
  • ✅ UI work matches any design inspiration provided
  • ✅ Code is clean, well-organized, and maintainable
  • ✅ Responsive design works on mobile and desktop
  • ✅ Dark mode support if applicable
  • ✅ No placeholder/rough styling on customer-facing interfaces
  • ✅ Backend APIs have proper error handling and validation
  • ✅ Works correctly - no obvious bugs or breaking changes

Exceptions:

  • Quick fixes/patches: Single QA review, don't iterate unless broken
  • Backend-only work: Light QA (works correctly?), not visual polish
  • Experiments/prototypes: Skip QA if marked as draft

You can override: Say "skip QA" or "good enough, ship it" to bypass iteration


Core Expertise

Frontend Development

  • React - Modern hooks, component patterns, state management
  • Vite - Fast builds, HMR, optimization
  • Tailwind CSS - Utility-first styling, design systems
  • Chart.js / D3 - Data visualization
  • Responsive design - Mobile-first, accessible UIs

Backend Development

  • Node.js + Express - RESTful APIs, middleware, routing
  • Database integration - PostgreSQL, MongoDB, Supabase
  • Authentication - OAuth, JWT, session management
  • API design - RESTful patterns, versioning, documentation

Full-Stack Patterns

  • Project structure - Monorepo vs. separate repos
  • State management - Context, Zustand, React Query
  • Error handling - Client + server side
  • Performance optimization - Code splitting, lazy loading, caching
  • Deployment - Vercel, Railway, PM2, Docker

Project Architecture Checklist

Before starting any web project, define:

1. Tech Stack

  • Frontend framework (React, Vue, vanilla JS?)
  • Build tool (Vite, Next.js, Create React App?)
  • Styling approach (Tailwind, CSS modules, styled-components?)
  • State management (Context, Zustand, Redux?)
  • Backend runtime (Node, Deno, Bun?)
  • Database (PostgreSQL, MongoDB, Supabase, Firebase?)

2. Project Structure

project-name/
├── frontend/           # React app
│   ├── src/
│   │   ├── components/
│   │   ├── pages/
│   │   ├── hooks/
│   │   ├── utils/
│   │   ├── api/       # API client functions
│   │   └── App.jsx
│   ├── public/
│   └── package.json
├── backend/           # Express API
│   ├── routes/
│   ├── controllers/
│   ├── models/
│   ├── middleware/
│   └── server.js
└── README.md

3. Data Flow

  • How does data get from backend → frontend?
  • Where is state stored (local, context, external store)?
  • How are API calls handled (fetch, axios, React Query)?
  • What's the caching strategy?

4. Error Handling

  • Client-side error boundaries
  • API error responses (consistent format)
  • User-facing error messages
  • Logging strategy

React Best Practices

Component Patterns

Presentational Components (UI only):

export function MetricCard({ title, value, change, status }) {
  return (
    <div className={`card status-${status}`}>
      <h3>{title}</h3>
      <div className="value">{value}</div>
      <div className={`change ${change > 0 ? 'positive' : 'negative'}`}>
        {change > 0 ? '↑' : '↓'} {Math.abs(change)}%
      </div>
    </div>
  )
}

Container Components (logic):

export function Dashboard() {
  const [data, setData] = useState(null)
  const [loading, setLoading] = useState(true)

  useEffect(() => {
    fetchData().then(setData).finally(() => setLoading(false))
  }, [])

  if (loading) return <LoadingSpinner />
  return <MetricCard {...data} />
}

Custom Hooks (reusable logic):

function useAPI(endpoint) {
  const [data, setData] = useState(null)
  const [loading, setLoading] = useState(true)
  const [error, setError] = useState(null)

  useEffect(() => {
    fetch(endpoint)
      .then(res => res.json())
      .then(setData)
      .catch(setError)
      .finally(() => setLoading(false))
  }, [endpoint])

  return { data, loading, error }
}

State Management Philosophy

  • useState - Local component state
  • useContext - Shared state (theme, user, global settings)
  • React Query / SWR - Server state (API data, caching)
  • Zustand / Redux - Complex global state (if really needed)

Rule: Keep state as local as possible. Lift only when necessary.

API Design Patterns

RESTful Endpoints

GET    /api/portfolio/overview       # Summary stats
GET    /api/properties               # List all properties
GET    /api/properties/:id           # Single property details
POST   /api/properties/:id/metrics   # Update metrics
GET    /api/insights                 # AI-generated insights
GET    /api/alerts                   # Active alerts

Response Format (Consistent)

{
  "status": "success",
  "data": { ... },
  "meta": {
    "timestamp": "2026-01-29T20:00:00Z",
    "cached": true
  }
}

Error Format

{
  "status": "error",
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid property ID",
    "details": { ... }
  }
}

Performance Optimization

Frontend

  • Code splitting - Lazy load routes/components
  • Memoization - useMemo, React.memo for expensive renders
  • Virtualization - For long lists (react-window)
  • Image optimization - WebP, lazy loading, srcset
  • Bundle analysis - Keep bundle size < 500KB

Backend

  • Caching - Redis, in-memory cache for frequent queries
  • Database indexing - Index frequently queried fields
  • Rate limiting - Prevent API abuse
  • Compression - gzip/brotli responses
  • Connection pooling - Reuse database connections

Network

  • HTTP/2 - Multiplexing, server push
  • CDN - Static assets served from edge
  • Prefetching - Preload critical resources
  • Service workers - Offline support, caching

Design System Integration

When building UIs, establish:

1. Color System

:root {
  --color-primary: #6366f1;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
}

2. Typography Scale

--text-xs: 12px;
--text-sm: 14px;
--text-base: 16px;
--text-lg: 18px;
--text-xl: 20px;
--text-2xl: 24px;
--text-3xl: 30px;
--text-4xl: 36px;

3. Spacing System

--spacing-1: 4px;
--spacing-2: 8px;
--spacing-3: 12px;
--spacing-4: 16px;
--spacing-6: 24px;
--spacing-8: 32px;

4. Component Library

  • Buttons (primary, secondary, danger, ghost)
  • Cards (default, elevated, bordered)
  • Inputs (text, select, checkbox, radio)
  • Alerts (success, warning, error, info)
  • Modals, tooltips, dropdowns
  • Loading states (spinners, skeletons)

Common Pitfalls to Avoid

Frontend

  • ❌ Prop drilling (use Context or composition)
  • ❌ Too many useEffect hooks (consolidate logic)
  • ❌ Inline styles (use CSS modules or Tailwind)
  • ❌ Not handling loading/error states
  • ❌ Forgetting accessibility (ARIA labels, keyboard nav)

Backend

  • ❌ No input validation (validate everything)
  • ❌ SQL injection vulnerabilities (use parameterized queries)
  • ❌ Exposing sensitive data (sanitize responses)
  • ❌ No rate limiting (protect against abuse)
  • ❌ Poor error messages (be specific but safe)

Architecture

  • ❌ Premature optimization (build it first, optimize later)
  • ❌ Over-engineering (KISS principle)
  • ❌ No separation of concerns (mix UI + logic)
  • ❌ Tight coupling (components should be modular)
  • ❌ No testing (at least smoke tests for critical paths)

Deployment Checklist

Before shipping:

  • Environment variables configured (not hardcoded)
  • Error logging set up (Sentry, LogRocket)
  • Analytics tracking (GA4, Plausible)
  • Performance monitoring (Lighthouse, Web Vitals)
  • Security headers configured (CSP, CORS, HSTS)
  • Database backups scheduled
  • SSL certificate active
  • API rate limiting enabled
  • Error boundaries in place
  • Loading states for all async actions
  • Mobile responsiveness tested
  • Accessibility audit passed (WCAG AA minimum)
  • README with setup instructions
  • Documentation for API endpoints

Debugging Workflow

Frontend Issues

  1. Check browser console (errors, warnings)
  2. React DevTools (component tree, props, state)
  3. Network tab (API calls, response times)
  4. Performance tab (render times, memory leaks)

Backend Issues

  1. Check server logs (errors, stack traces)
  2. Test endpoints with curl/Postman
  3. Database query logs (slow queries)
  4. Memory/CPU usage (resource leaks)

Integration Issues

  1. CORS errors (check headers)
  2. Authentication failures (token expiration?)
  3. Data format mismatches (backend vs frontend)
  4. Caching issues (stale data)

Tech Stack Decision Matrix

NeedRecommendedAlternative
Frontend frameworkReact + ViteNext.js (if SSR needed)
StylingTailwind CSSCSS Modules
State managementContext + React QueryZustand
BackendNode + ExpressFastify (faster)
DatabasePostgreSQL + SupabaseMongoDB
DeploymentVercel (frontend) + Railway (backend)Docker + VPS
AuthSupabase AuthAuth0, Clerk
ChartsChart.jsRecharts, D3

Example Project Structure (Analytics Dashboard)

analytics-dashboard/
├── frontend/
│   ├── src/
│   │   ├── components/
│   │   │   ├── MetricCard.jsx
│   │   │   ├── PropertyCard.jsx
│   │   │   ├── InsightsPanel.jsx
│   │   │   └── TrafficChart.jsx
│   │   ├── pages/
│   │   │   ├── Dashboard.jsx
│   │   │   ├── PropertyDetail.jsx
│   │   │   └── InsightsHub.jsx
│   │   ├── hooks/
│   │   │   ├── useAPI.js
│   │   │   ├── useInsights.js
│   │   │   └── useAlerts.js
│   │   ├── api/
│   │   │   └── client.js
│   │   ├── App.jsx
│   │   └── index.css
│   └── package.json
├── backend/
│   ├── routes/
│   │   ├── portfolio.js
│   │   ├── insights.js
│   │   └── alerts.js
│   ├── services/
│   │   ├── ga4.js
│   │   ├── anomalyDetection.js
│   │   └── recommendations.js
│   ├── cache.js
│   └── server.js
└── README.md

When to Ask for Help

  • Complex architectural decisions → Use opus for strategic thinking
  • Performance bottlenecks → Profile first, optimize second
  • Security concerns → Always better to ask
  • Unfamiliar APIs → Read docs, test in isolation first
  • Breaking changes → Check migration guides, changelogs

Quality Standards

Ship code that:

  • ✅ Works on mobile AND desktop
  • ✅ Has loading states for all async operations
  • ✅ Handles errors gracefully (no silent failures)
  • ✅ Is accessible (keyboard nav, ARIA labels)
  • ✅ Performs well (Lighthouse score >90)
  • ✅ Is maintainable (clear naming, comments where needed)
  • ✅ Follows the project's existing patterns

Don't ship code that:

  • ❌ Has console.log statements (remove or use proper logging)
  • ❌ Has hardcoded API keys or secrets
  • ❌ Breaks on edge cases (test thoroughly)
  • ❌ Has poor performance (optimize critical paths)
  • ❌ Is inaccessible (test with keyboard + screen reader)

Philosophy

  • Pragmatic over perfect - Ship working code, iterate based on real usage
  • User-first - Performance, accessibility, and UX trump developer convenience
  • Consistency - Follow established patterns in the codebase
  • Clarity - Code is read more than written; prioritize readability
  • Resilience - Assume things will fail; handle errors gracefully

Use this skill when: Building or refactoring web applications, making architectural decisions, optimizing performance, or debugging complex full-stack issues.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.07%
按下载量换算25

Claude

29.35%
按下载量换算21

Cursor

20.24%
按下载量换算14

Gemini CLI

10.19%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills