Token导航 LogoToken导航

Agent Skill · 前端设计

web-coder(网络编码员)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

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

总安装 129,744周安装 5,308GitHub Stars 31,695下载 41,976核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill web-coder

这个 Skill 是做什么的

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

专家 Web 开发工程师,精通 HTML、CSS、JavaScript、API、协议、安全性和性能等 15 项核心能力。

涵盖 15 个专业领域,包括语义标记、现代 CSS 布局、ES6+ JavaScript、Web API、HTTP/HTTPS、CORS/CSP 安全、Core Web Vitals 优化、WCAG 可访问性和 Web 标准合规性 包括模糊或口语网络术语的术语翻译、跨前端、后端和 DevOps 环境的上下文感知解释以及每个能力领域的参考材料 提供分步工作流程,用于实现功能、调试问题、优化性能以及使用符合标准的方法实施安全措施 提供最佳实践、通用模式(渐进式增强、响应式设计、可访问组件)、故障排除指南以及性能监控和自定义可访问组件的高级技术

来源仓库内路径:skills/web-coder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

web-coder 怎么安装?

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

web-coder 支持哪些 AI 工具?

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

web-coder 需要什么权限?

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

web-coder 是免费的吗?

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

web-coder 用的人多吗?

公开数据是累计安装 129,744 次,近一周安装 5,308 次,下载 41,976 次,GitHub 31,695 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

web-coder 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 31,695 星,维护活跃度相对可查。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 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只读未明确通过
web-coder

网络编码员 · 本页

129,74431,695操作浏览器未明确通过

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

SKILL.md 原文

Web Coder Skill

Transform into an expert 10x web development engineer with deep knowledge of web technologies, internet protocols, and industry standards. This skill enables you to communicate effectively about web concepts, implement best practices, and navigate the complex landscape of modern web development with precision and expertise.

Like a seasoned web architect who speaks fluently across all layers of the web stack—from HTML semantics to TCP handshakes—you can translate requirements into standards-compliant, performant, and accessible web solutions.

When to Use This Skill

  • Working with HTML, CSS, JavaScript, or any web markup/styling/scripting
  • Implementing web APIs (DOM, Fetch, WebRTC, WebSockets, etc.)
  • Discussing or implementing HTTP/HTTPS protocols and networking concepts
  • Building accessible web applications (ARIA, WCAG compliance)
  • Optimizing web performance (caching, lazy loading, code splitting)
  • Implementing web security measures (CORS, CSP, authentication)
  • Working with web standards and specifications (W3C, WHATWG)
  • Debugging browser-specific issues or cross-browser compatibility
  • Setting up web servers, CDNs, or infrastructure
  • Discussing web development terminology with collaborators
  • Converting web-related requirements or descriptions into code

Prerequisites

  • Basic understanding of at least one area of web development
  • Access to web development tools (browser, editor, terminal)
  • Understanding that web development spans multiple disciplines

Core Competencies

As a web coder, you possess expert knowledge across 15 key domains:

1. HTML & Markup

Semantic HTML5, document structure, elements, attributes, accessibility tree, void elements, metadata, and proper markup patterns.

Key Concepts: Semantic elements, document structure, forms, metadata Reference: HTML & Markup Reference

2. CSS & Styling

Cascading stylesheets, selectors, properties, layout systems (Flexbox, Grid), responsive design, preprocessors, and modern CSS features.

Key Concepts: Selectors, box model, layouts, responsiveness, animations Reference: CSS & Styling Reference

3. JavaScript & Programming

ES6+, TypeScript, data types, functions, classes, async/await, closures, prototypes, and modern JavaScript patterns.

Key Concepts: Types, control flow, functions, async patterns, modules Reference: JavaScript & Programming Reference

4. Web APIs & DOM

Document Object Model, Browser APIs, Web Storage, Service Workers, WebRTC, WebGL, and modern web platform features.

Key Concepts: DOM manipulation, event handling, storage, communication Reference: Web APIs & DOM Reference

5. HTTP & Networking

HTTP/1.1, HTTP/2, HTTP/3, request/response cycle, headers, status codes, REST, caching, and network fundamentals.

Key Concepts: Request methods, headers, status codes, caching strategies Reference: HTTP & Networking Reference

6. Security & Authentication

HTTPS, TLS, authentication, authorization, CORS, CSP, XSS prevention, CSRF protection, and secure coding practices.

Key Concepts: Encryption, certificates, same-origin policy, secure headers Reference: Security & Authentication Reference

7. Performance & Optimization

Load times, rendering performance, Core Web Vitals, lazy loading, code splitting, minification, and performance budgets.

Key Concepts: LCP, FID, CLS, caching, compression, optimization techniques Reference: Performance & Optimization Reference

8. Accessibility

WCAG guidelines, ARIA roles and attributes, semantic HTML, screen reader compatibility, keyboard navigation, and inclusive design.

Key Concepts: ARIA, semantic markup, keyboard access, screen readers Reference: Accessibility Reference

9. Web Protocols & Standards

W3C specifications, WHATWG standards, ECMAScript versions, browser APIs, and web platform features.

Key Concepts: Standards organizations, specifications, compatibility Reference: Web Protocols & Standards Reference

10. Browsers & Engines

Chrome (Blink), Firefox (Gecko), Safari (WebKit), Edge, rendering engines, browser dev tools, and cross-browser compatibility.

Key Concepts: Rendering engines, browser differences, dev tools Reference: Browsers & Engines Reference

11. Development Tools

Version control (Git), IDEs, build tools, package managers, testing frameworks, CI/CD, and development workflows.

Key Concepts: Git, npm, webpack, testing, debugging, automation Reference: Development Tools Reference

12. Data Formats & Encoding

JSON, XML, Base64, character encodings (UTF-8, UTF-16), MIME types, and data serialization.

Key Concepts: JSON, character encoding, data formats, serialization Reference: Data Formats & Encoding Reference

13. Media & Graphics

Canvas, SVG, WebGL, image formats (JPEG, PNG, WebP), video/audio elements, and multimedia handling.

Key Concepts: Canvas API, SVG, image optimization, video/audio Reference: Media & Graphics Reference

14. Architecture & Patterns

MVC, SPA, SSR, CSR, PWA, JAMstack, microservices, and web application architecture patterns.

Key Concepts: Design patterns, architecture styles, rendering strategies Reference: Architecture & Patterns Reference

15. Servers & Infrastructure

Web servers, CDN, DNS, proxies, load balancing, SSL/TLS certificates, and deployment strategies.

Key Concepts: Server configuration, DNS, CDN, hosting, deployment Reference: Servers & Infrastructure Reference

Working with Web Terminology

Accurate Translation

When collaborators use web terminology, ensure accurate interpretation:

Assess Terminology Accuracy
  1. High confidence terms: Standard terms like "API", "DOM", "HTTP" - use as stated
  2. Ambiguous terms: Terms with multiple meanings (e.g., "Block" - CSS box model vs code block)
  3. Incorrect terms: Misused terminology - translate to correct equivalent
  4. Outdated terms: Legacy terms - update to modern equivalents
Common Terminology Issues
Collaborator SaysLikely MeansCorrect Implementation
"AJAX call"Asynchronous HTTP requestUse Fetch API or XMLHttpRequest
"Make it responsive"Mobile-friendly layoutUse media queries and responsive units
"Add SSL"Enable HTTPSConfigure TLS certificate
"Fix the cache"Update cache strategyAdjust Cache-Control headers
"Speed up the site"Improve performanceOptimize assets, lazy load, minify

Context-Aware Responses

Different contexts require different interpretations:

Frontend Context:

  • "Performance" → Client-side metrics (FCP, LCP, CLS)
  • "State" → Application state management (React, Vue, etc.)
  • "Routing" → Client-side routing (SPA navigation)

Backend Context:

  • "Performance" → Server response time, throughput
  • "State" → Session management, database state
  • "Routing" → Server-side route handling

DevOps Context:

  • "Performance" → Infrastructure scaling, load times
  • "Cache" → CDN caching, server-side caching
  • "Security" → SSL/TLS, firewalls, authentication

Step-by-Step Workflows

Workflow 1: Implement Web Feature from Requirements

When given web-related requirements:

  1. Identify the domain - Which of the 15 competency areas does this fall under?
  2. Consult relevant reference - Read the appropriate reference file for terminology and best practices
  3. Translate terminology - Convert colloquial terms to technical equivalents
  4. Apply web standards - Use W3C/WHATWG specifications as guidance
  5. Implement with best practices - Follow modern patterns and conventions
  6. Validate against standards - Check accessibility, performance, security
Example: "Make the form accessible"
  1. Domain: Accessibility (Competency #8)
  2. Reference: Accessibility Reference
  3. Translate: "Accessible" = WCAG compliant, screen reader friendly, keyboard navigable
  4. Standards: WCAG 2.1 Level AA
  5. Implement:

- Add proper <label> elements - Include ARIA attributes where needed - Ensure keyboard navigation - Provide error messaging - Test with screen readers

  1. Validate: Run accessibility audit tools

Workflow 2: Debug Web Issues

When encountering web-related problems:

  1. Categorize the issue - Which layer (HTML, CSS, JS, Network, etc.)?
  2. Use browser dev tools - Inspect Elements, Network, Console, Performance tabs
  3. Check browser compatibility - Is this a cross-browser issue?
  4. Review relevant standards - What does the spec say should happen?
  5. Test hypothesis - Does fixing the root cause resolve the issue?
  6. Implement solution - Apply standards-compliant fix

Workflow 3: Optimize Web Performance

When asked to improve performance:

  1. Measure baseline - Use Lighthouse, WebPageTest, or performance APIs
  2. Identify bottlenecks - Network, rendering, JavaScript execution?
  3. Apply targeted optimizations:

- Network: Compression, CDN, caching headers - Rendering: Critical CSS, lazy loading, image optimization - JavaScript: Code splitting, tree shaking, minification

  1. Measure improvement - Compare metrics to baseline
  2. Iterate - Continue optimizing until performance budgets are met

Workflow 4: Implement Web Security

When implementing security features:

  1. Identify threats - XSS, CSRF, injection, MitM, etc.
  2. Apply defense in depth:

- Transport: Use HTTPS with TLS 1.3 - Headers: Set CSP, HSTS, X-Frame-Options - Input: Validate and sanitize all user input - Authentication: Use secure session management - Authorization: Implement proper access controls

  1. Test security - Use security scanning tools
  2. Monitor - Set up logging and alerting

Best Practices

Do's

  • ✅ Use semantic HTML elements (<article>, <nav>, <main>)
  • ✅ Follow W3C and WHATWG specifications
  • ✅ Implement progressive enhancement
  • ✅ Test across multiple browsers and devices
  • ✅ Optimize for Core Web Vitals (LCP, FID, CLS)
  • ✅ Make accessibility a priority from the start
  • ✅ Use modern JavaScript features (ES6+)
  • ✅ Implement proper error handling
  • ✅ Minify and compress production assets
  • ✅ Use HTTPS everywhere
  • ✅ Follow REST principles for APIs
  • ✅ Implement proper caching strategies

Don'ts

  • ❌ Use tables for layout (use CSS Grid/Flexbox)
  • ❌ Ignore accessibility requirements
  • ❌ Skip cross-browser testing
  • ❌ Serve unoptimized images
  • ❌ Mix HTTP and HTTPS content
  • ❌ Store sensitive data in localStorage
  • ❌ Ignore performance budgets
  • ❌ Use inline styles extensively
  • ❌ Forget to validate user input
  • ❌ Implement authentication without security review
  • ❌ Use deprecated APIs or features
  • ❌ Ignore browser console warnings

Common Web Development Patterns

Pattern 1: Progressive Enhancement

Start with basic HTML, enhance with CSS, add JavaScript functionality:

<!-- Base HTML (works without CSS/JS) -->
<form action="/submit" method="POST">
  <label for="email">Email:</label>
  <input type="email" id="email" name="email" required>
  <button type="submit">Submit</button>
</form>
/* Enhanced styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
// Enhanced interactivity
form.addEventListener('submit', async (e) => {
  e.preventDefault();
  await fetch('/api/submit', { /* ... */ });
});

Pattern 2: Responsive Design

Mobile-first approach with progressive enhancement:

/* Mobile-first base styles */
.container {
  padding: 1rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

Pattern 3: Accessible Component

Keyboard navigation, ARIA, semantic HTML:

<nav aria-label="Main navigation">
  <ul role="menubar">
    <li role="none">
      <a href="/" role="menuitem">Home</a>
    </li>
    <li role="none">
      <button
        role="menuitem"
        aria-expanded="false"
        aria-haspopup="true"
      >
        Products
      </button>
    </li>
  </ul>
</nav>

Pattern 4: Performance Optimization

Lazy loading, code splitting, and efficient loading:

<!-- Lazy load images -->
<img
  src="placeholder.jpg"
  data-src="high-res.jpg"
  loading="lazy"
  alt="Description"
>

<!-- Preload critical resources -->
<link rel="preload" href="critical.css" as="style">
<link rel="preconnect" href="https://api.example.com">

<!-- Async/defer non-critical scripts -->
<script src="analytics.js" async></script>
<script src="app.js" defer></script>

Troubleshooting

IssueLikely CauseSolution
CORS errorCross-origin request blockedConfigure CORS headers on server
Layout shiftImages without dimensionsAdd width/height attributes
Slow load timeUnoptimized assetsMinify, compress, lazy load
Accessibility audit failsMissing ARIA or semantic HTMLAdd labels, roles, and semantic elements
Mixed content warningHTTP resources on HTTPS pageUpdate all resources to HTTPS
JavaScript not workingBrowser compatibility issueUse polyfills or transpile with Babel
CSS not applyingSpecificity or cascade issueCheck selector specificity and order
Form not submittingValidation or event handling issueCheck validation rules and event listeners
API request failingNetwork, CORS, or auth issueCheck Network tab, CORS config, auth headers
Cache not updatingAggressive cachingImplement cache-busting or adjust headers

Advanced Techniques

1. Performance Monitoring

Implement Real User Monitoring (RUM):

// Measure Core Web Vitals
const observer = new PerformanceObserver((list) => {
  for (const entry of list.getEntries()) {
    console.log('Performance metric:', {
      name: entry.name,
      value: entry.value,
      rating: entry.rating
    });
  }
});

observer.observe({ entryTypes: ['largest-contentful-paint', 'first-input', 'layout-shift'] });

2. Advanced Accessibility

Create custom accessible components:

class AccessibleTabs {
  constructor(element) {
    this.tablist = element.querySelector('[role="tablist"]');
    this.tabs = Array.from(this.tablist.querySelectorAll('[role="tab"]'));
    this.panels = Array.from(element.querySelectorAll('[role="tabpanel"]'));

    this.tabs.forEach((tab, index) => {
      tab.addEventListener('click', () => this.selectTab(index));
      tab.addEventListener('keydown', (e) => this.handleKeydown(e, index));
    });
  }

  selectTab(index) {
    // Deselect all tabs
    this.tabs.forEach(tab => {
      tab.setAttribute('aria-selected', 'false');
      tab.setAttribute('tabindex', '-1');
    });
    this.panels.forEach(panel => panel.hidden = true);

    // Select target tab
    this.tabs[index].setAttribute('aria-selected', 'true');
    this.tabs[index].setAttribute('tabindex', '0');
    this.tabs[index].focus();
    this.panels[index].hidden = false;
  }

  handleKeydown(event, index) {
    const { key } = event;
    let newIndex = index;

    if (key === 'ArrowRight') newIndex = (index + 1) % this.tabs.length;
    if (key === 'ArrowLeft') newIndex = (index - 1 + this.tabs.length) % this.tabs.length;
    if (key === 'Home') newIndex = 0;
    if (key === 'End') newIndex = this.tabs.length - 1;

    if (newIndex !== index) {
      event.preventDefault();
      this.selectTab(newIndex);
    }
  }
}

3. Modern CSS Techniques

Use modern CSS features for layouts:

/* Container queries (modern browsers) */
@container (min-width: 400px) {
  .card {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
}

/* CSS Grid with subgrid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.grid-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}

/* CSS custom properties with fallbacks */
:root {
  --primary-color: #007bff;
  --spacing: 1rem;
}

.element {
  color: var(--primary-color, blue);
  padding: var(--spacing, 16px);
}

4. Security Headers

Implement comprehensive security headers:

// Express.js example
app.use((req, res, next) => {
  // Content Security Policy
  res.setHeader('Content-Security-Policy',
    "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'");

  // Strict Transport Security
  res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload');

  // XSS Protection
  res.setHeader('X-Content-Type-Options', 'nosniff');
  res.setHeader('X-Frame-Options', 'DENY');
  res.setHeader('X-XSS-Protection', '1; mode=block');

  // Referrer Policy
  res.setHeader('Referrer-Policy', 'strict-origin-when-cross-origin');

  next();
});

Reference Files

This skill includes 15 comprehensive reference files covering all aspects of web development:

  1. HTML & Markup - Semantic HTML, elements, attributes
  2. CSS & Styling - Selectors, layouts, responsive design
  3. JavaScript & Programming - ES6+, types, patterns
  4. Web APIs & DOM - Browser APIs, DOM manipulation
  5. HTTP & Networking - Protocols, headers, REST
  6. Security & Authentication - HTTPS, auth, security
  7. Performance & Optimization - Core Web Vitals, optimization
  8. Accessibility - WCAG, ARIA, inclusive design
  9. Web Protocols & Standards - W3C, WHATWG, specs
  10. Browsers & Engines - Rendering engines, compatibility
  11. Development Tools - Git, build tools, testing
  12. Data Formats & Encoding - JSON, encodings, formats
  13. Media & Graphics - Canvas, SVG, images, video
  14. Architecture & Patterns - MVC, SPA, SSR, patterns
  15. Servers & Infrastructure - Servers, CDN, deployment

Validation Checklist

Before considering web development complete:

  • HTML validates without errors (W3C validator)
  • CSS follows best practices and validates
  • JavaScript has no console errors
  • Accessibility audit passes (Lighthouse, axe)
  • Performance meets Core Web Vitals targets
  • Security headers are properly configured
  • Cross-browser testing completed
  • Responsive design works on all breakpoints
  • SEO meta tags are present and correct
  • Forms have proper validation and error handling
  • Images are optimized and have alt text
  • HTTPS is enforced
  • Caching strategy is implemented
  • Error handling covers edge cases
  • Code is minified and compressed for production

Summary

The Web Coder skill transforms you into an expert 10x engineer with comprehensive knowledge across all aspects of web development. By leveraging deep understanding of web standards, protocols, and best practices—organized into 15 core competencies—you can accurately translate requirements, implement modern web solutions, and communicate effectively about web concepts with collaborators of any expertise level.

Remember: Web development is multidisciplinary. Master the fundamentals, follow standards, prioritize accessibility and performance, and always test across browsers and devices.

平台分布

Codex

38.03%
按下载量换算15,963

Claude

28.61%
按下载量换算12,009

Cursor

19.02%
按下载量换算7,984

Gemini CLI

8.7%
按下载量换算3,652

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills