Communitygithub.com

modbender/skill-library-mcp

使用 HTML、CSS、JavaScript、現代框架和生產環境最佳實踐來建置、除錯和部署網站。

skill-library-mcp 是什麼?

此技能為 AI 代理程式提供了一個全面的指南,用於建立、除錯和部署網站,涵蓋從前端基礎到生產環境最佳實踐的各個方面。它適用於 Claude Code、Cursor 和 Codex 等平台,透過結構化的規則、常見問題解答和框架決策樹,幫助開發者避免常見陷阱。技能中包含的關鍵規則涵蓋了 DOCTYPE 的重要性、CSS 特異性、JavaScript 嚴格相等、非同步循環處理、CORS、響應式設計、表單處理、圖像尺寸、HTTPS 混合內容以及環境變數洩漏等核心概念。此外,它還提供了針對響應式設計、部署、CORS 錯誤、效能優化和 SEO 等常見需求的快速解決方案,並根據專案類型(如靜態內容、部落格或互動式應用)推薦合適的框架(如 Astro、Next.js 或 Vite + React)。

相容平台~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 變為 true
  4. 迴圈中的 Async/await — 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.

相關技能