Communitygithub.com

modbender/skill-library-mcp

构建、调试和部署网站,涵盖 HTML、CSS、JavaScript、现代框架及生产最佳实践。

skill-library-mcp 是什么?

此技能是开发全栈网站的全面指南,专为现代 AI 代理(如 Claude Code、Cursor、Codex)设计。它包含快速参考表,用于处理 HTML/CSS、JavaScript 模式、React/Next.js 框架、部署和性能优化。该技能强调了 10 条关键规则,例如正确的 DOCTYPE 声明、CSS 特异性、严格相等运算符、异步循环处理以及 CORS 的服务器端配置,以避免常见陷阱。它还提供了常见任务(如响应式设计、生产部署、CORS 修复、性能提升和 SEO 添加)的实际解决方案。最后,一个框架决策树帮助用户根据项目需求(如静态内容、博客、交互式应用或简单 SPA)选择合适的技术栈,支持 Astro、Next.js、Remix 和 Vite。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/modbender/skill-library-mcp/tree/HEAD/data/web

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

快速参考

需求参考文档
HTML/CSS 问题html-css.md
JavaScript 模式javascript.md
React/Next.js/框架frameworks.md
部署到生产环境deploy.md
性能/SEO/无障碍performance.md

关键规则

  1. DOCTYPE 很重要 — 缺少 <!DOCTYPE html> 会触发怪异模式,导致布局不可预测地崩溃
  2. CSS 特异性胜过级联 — .class 会覆盖元素选择器,无论顺序如何
  3. 使用 === 而不是 == — 类型强制会使 "0" == false 为真
  4. 循环中的异步/等待 — forEach 不等待;使用 for...of 或 Promise.all
  5. CORS 是服务器端问题 — 没有客户端修复方法;在服务器上配置 Access-Control-Allow-Origin
  6. 响应式 = viewport meta — 没有 <meta name="viewport">,移动设备会以桌面宽度渲染
  7. 表单没有 preventDefault — 页面会重新加载;在提交处理程序中调用 e.preventDefault()
  8. 图片需要尺寸 — 缺少 width/height 会导致布局偏移(CLS 惩罚)
  9. HTTPS 否则被阻止 — 混合内容(HTTPS 页面上的 HTTP 资源)会被浏览器阻止
  10. 环境变量泄漏 — NEXT_PUBLIC_* 会暴露给客户端;永远不要为密钥添加前缀

常见请求

"使其响应式" → 移动优先的 CSS,使用媒体查询;在 320px、768px、1024px 处测试 "部署到生产环境" → 查看 deploy.md 了解 Vercel/Netlify/VPS 模式 "修复 CORS 错误" → 服务器必须发送标头;如果无法控制服务器,则通过同源代理 "提高性能" → Lighthouse 审计;关注 LCP、CLS、FID;懒加载折叠下方的图片 "添加 SEO" → 每页的标题/描述、语义化 HTML、OG 标签、sitemap.xml

框架决策树

  • 静态内容,快速构建 → Astro 或纯 HTML
  • 使用 MDX 的博客/文档 → Astro 或 Next.js App Router
  • 需要身份验证的交互式应用 → Next.js 或 Remix
  • 完全控制 SSR/ISR → Next.js
  • 简单的 SPA,无需 SEO → Vite + React/Vue

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

modbender/skill-library-mcp

Paid acquisition strategy, budget allocation, and avoiding common advertising mistakes across platforms

modbender/skill-library-mcp

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all wit...

modbender/skill-library-mcp

Borrow from Aave via credit delegation. Agent self-funds by borrowing against delegator collateral. Supports borrow, repay, health checks. Works on Aave V2/V3.

modbender/skill-library-mcp

Discover and register autonomous AI agents. Use when: browsing the agent registry, submitting an agent for verification, or embedding agent badges. NOT for: general web search or agent capability analysis.

modbender/skill-library-mcp

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human

modbender/skill-library-mcp

AI代码编辑器规则模板集合 - 为Cursor、Windsurf、Claude Code、Cline等AI编辑器提供项目规则配置。适用于需要配置AI编码助手规则的开发者,包含全栈Web、移动端、Vue3+SpringBoot等技术栈模板。

modbender/skill-library-mcp

Generate landing page code from product descriptions

modbender/skill-library-mcp

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

modbender/skill-library-mcp

Generate AI music videos end-to-end. Creates music with Suno (sunoapi.org), generates visuals with OpenAI/Seedream/Google/Seedance, and assembles into music video with ffmpeg. Supports timestamped lyrics (auto SRT), Suno native music video generation, slideshow/video/hybrid modes. Token-based cost tracking per generation.

modbender/skill-library-mcp

Generate AI-powered notes from videos (document, outline, or graphic-text formats)

modbender/skill-library-mcp

The video AI notes tool is provided by Baidu. Based on the video download address provided by the user, it downloads and parses the video, and finally generates AI notes corresponding to the video (a total of three types of notes can be generated: document notes, outline notes, and image-text notes).

modbender/skill-library-mcp

Automated appointment management for beauty salons, clinics, studios, and photo booths. Handles booking requests, calendar sync, conflict detection, reminders, no-show tracking, and waitlist management.

modbender/skill-library-mcp

Bird identification, life list tracking, and trading card generation. Use this skill when the user: sends a bird photo to identify, says "set up my Birdfolio" or "set my region", asks "how's my checklist", asks "Birdfolio progress", asks "how many birds have I found", asks "show my Birdfolio" or "show my life list", asks "what's my rarest bird", or asks "tell me about [bird species]". Handles everything from first-time setup through ongoing life list tracking and visual trading card generation.

modbender/skill-library-mcp

Multi-project task and research management (JSON-first CLI)

modbender/skill-library-mcp

Track stock and crypto portfolios with CLI - real-time prices, P&L, dividend tracking, multiple portfolios

modbender/skill-library-mcp

Track cryptocurrency portfolios with real-time prices, P&L calculations, and allocation analysis. Query Bitcoin, Ethereum, Solana and 10,000+ token holdings.

modbender/skill-library-mcp

加密貨幣Portfolio追蹤 - 支援TRON/ETH/BSC,分析持倉、收益、Gas費用

modbender/skill-library-mcp

Lead strategy with competitive analysis, strategic planning, growth roadmaps, and business portfolio management.

modbender/skill-library-mcp

Create ATS-optimized resumes and CVs with proper structure, metrics, and industry targeting.

modbender/skill-library-mcp

Native video analysis using Google Gemini API. Upload and analyze video files — describe scenes, extract text/UI, answer questions about content, transcribe speech, identify objects and actions. Use when: (1) User sends a video file and wants it analyzed, (2) Video summarization or description needed, (3) Extracting text, UI elements, or information from screen recordings, (4) Answering questions about video content, (5) Comparing multiple videos, (6) Analyzing tutorials, demos, or walkthroughs.

相关技能