Communitygithub.com

gabrielmoreira/agent-skills-mirror

從任何儲存庫生成完整、可部署的著陸頁面。適用於為開源專案建立首頁、建置專案網站、將 README 轉換為行銷頁面,或標準化多個儲存庫的著陸頁面。

agent-skills-mirror 是什麼?

這個技能(Landing Page Generator)能夠自動分析任何軟體儲存庫的內容與結構,並生成一個完整、可直接部署的靜態著陸頁面。它特別適合為 GitHub 儲存庫建立專屬的首頁、將現有文件轉換為展示型網站,或統一多個專案的著陸頁風格。此技能支援多種平台與工作流程,並內建了基於 GitHub Actions 的 GitHub Pages 自動部署功能。運作方式分為五個步驟:首先分析儲存庫中的 README.md、CHANGELOG.md、package.json 等關鍵文件;接著提取標題、標語、功能、安裝方式等內容;然後將內容對應到 Hero、Features、FAQ 等標準區塊;再生成包含 HTML、CSS 和 JS 的完整靜態網站;最後提供可部署的輸出結構。使用者可透過選項自訂輸出,例如加入風險警示橫幅、價格比較表、主題顏色(暗色/亮色)、啟用搜尋功能等。整個過程無需建置工具,純粹依賴 HTML、CSS 和 JS,並確保無障礙與響應式設計。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gabrielmoreira/agent-skills-mirror/tree/HEAD/mirrors/repos/FlorianBruniaux@claude-code-ultimate-guide/examples/skills/landing-page-generator

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

著陸頁面生成器

透過分析任何儲存庫的文件與結構,生成一個完整、可直接部署的著陸頁面。

何時使用此技能

  • 為 GitHub 儲存庫建立著陸頁面
  • 從現有文件生成靜態網站
  • 標準化多個專案的著陸頁面
  • 將 README 內容轉換為行銷/展示頁面

此技能的功能

  1. 分析儲存庫:讀取 README.md、CHANGELOG.md、package.json/VERSION、docs/、assets/
  2. 提取內容:識別標題、標語、功能、安裝方式、螢幕截圖
  3. 對應至區塊:Hero、Features、Install、FAQ、Footer(+ 可選:風險橫幅、價格表)
  4. 生成著陸頁:建立完整的靜態網站(HTML + CSS + JS)
  5. 可部署的輸出:包含用於 GitHub Pages 的 GitHub Actions 工作流程

如何使用

基本用法

/landing-page-generator from ~/path/to/repo

搭配選項

/landing-page-generator from ~/path/to/repo --risk-banner --pricing-table

可用選項

選項說明預設值
--risk-banner在摺疊上方加入顯眼的警告/免責聲明橫幅false
--pricing-table包含價格比較區塊false
--screenshots <path>螢幕截圖資料夾路徑./assets/
--theme [dark|light]顏色主題變體dark
--search啟用 Cmd+K 搜尋true
--output <path>輸出目錄./[repo-name]-landing/

工作流程

步驟 1:儲存庫分析

從來源儲存庫讀取並分析這些檔案:

README.md        → 主要內容來源(標題、標語、功能、安裝)
CHANGELOG.md     → 版本資訊、近期變更
package.json     → 版本號碼、依賴項目、中繼資料
VERSION          → 替代版本來源
docs/            → 其他文件頁面
assets/          → 螢幕截圖、圖片
LICENSE          → 用於徽章的授權類型

步驟 2:內容提取對應表

來源目標區塊提取方法
README 標題/徽章Hero第一個 H1 + shield.io 徽章行
README TL;DRHero 標語標題後的第一個段落或引用區塊
README 功能Features 網格帶有項目符號清單的 H2/H3 區塊
README 安裝Quick Start包含 shell 指令的程式碼區塊
README 用法Examples包含範例的程式碼區塊
README FAQFAQDetails/summary 或 H3+P 模式
CHANGELOGWhat's New最新的 1-3 個版本
assets/*.pngScreenshots圖庫區塊

步驟 3:區塊生成

按順序生成這些區塊:

  1. Header(黏性)

    • 標誌/專案名稱
    • 導覽連結:Features、Install、FAQ
    • 動作:搜尋 (Cmd+K)、GitHub Star、主要 CTA
  2. 風險橫幅(若使用 --risk-banner)

    • 摺疊上方的橘色/警告樣式
    • 清晰、可見的免責聲明文字
    • 連結至詳細的揭露區塊
  3. Hero 區塊

    • 來自 README H1 的標題
    • 來自 TL;DR/第一個段落的標語
    • 統計徽章(版本、授權、平台)
    • CTA:「Quick Start」(主要)、「View on GitHub」(次要)
  4. 架構/概述(若 README 中有圖表)

    • 轉換為樣式化區塊的 ASCII 圖表
    • 或概述卡片
  5. 功能網格

    • 來自 README 功能的 4-6 張功能卡片
    • 圖示 + 標題 + 說明模式
  6. 價格表(若使用 --pricing-table)

    • 方案比較表
    • 若存在,則包含倍數/使用量表
  7. 螢幕截圖圖庫(若 assets 存在)

    • 基於頁籤或輪播的圖庫
    • 來自替代文字的說明
  8. Quick Start 區塊

    • 一行安裝指令(特色程式碼區塊)
    • 設定步驟
    • 第一個使用範例
  9. 風險揭露(若使用 --risk-banner)

    • 完整的免責聲明區塊
    • 服務條款考量
    • 建議
  10. FAQ 區塊

    • 從 README FAQ 或常見問題生成
    • 可折疊的 details 模式
  11. 相關專案(若 README 中有連結)

    • 連結至依賴項目/相關儲存庫的卡片
  12. Footer

    • 快速連結
    • 授權徽章
    • 版本資訊
    • 作者/儲存庫連結

步驟 4:輸出結構

[project-name]-landing/
├── index.html              # 主要著陸頁面
├── styles.css              # 完整樣式表
├── search.js               # Cmd+K 搜尋功能
├── search-data.js          # 搜尋索引(FAQ、功能)
├── favicon.svg             # 生成或複製的
├── robots.txt              # SEO
├── CLAUDE.md               # 專案指令
├── README.md               # 著陸儲存庫文件
├── assets/                 # 複製的螢幕截圖
│   └── [從來源複製]
└── .github/
    └── workflows/
        └── static.yml      # GitHub Pages 部署

步驟 5:驗證檢查點

在最終確定之前,請驗證:

  • 所有區塊在瀏覽器中正確渲染
  • 連結指向有效目標(GitHub 儲存庫、文件、安裝指令)
  • 響應式佈局在手機 (375px)、平板 (768px) 和桌上型電腦 (1280px) 寬度下正常運作
  • 無障礙性:存在跳過連結、互動元素上有 ARIA 標籤、色彩對比度符合 WCAG AA 標準

技術棧

  • 無建置步驟:純 HTML + CSS + JS
  • 搜尋:從 CDN 延遲載入 MiniSearch 並附有備援方案
  • 部署:透過 Actions 的 GitHub Pages
  • 樣式:CSS 自訂屬性、響應式、預設暗色主題
  • 無障礙性:跳過連結、ARIA 標籤、鍵盤導航

CSS 模式(來自已建立的著陸頁)

元件類別

/* 按鈕 */
.btn, .btn-primary, .btn-secondary, .btn-github-star, .btn-outline

/* 卡片 */
.feature-card, .comparison-card, .path-card

/* 佈局 */
.container, .features-grid, .hero, .section

/* 工具 */
.visually-hidden, .skip-link

CSS 變數

:root {
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-border: #30363d;
  --color-text: #c9d1d9;
  --color-text-muted: #8b949e;
  --color-primary: #58a6ff;
  --color-success: #3fb950;
  --color-warning: #d29922;
  --color-danger: #f85149;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --radius: 6px;
}

範例

使用者:/landing-page-generator from ~/projects/my-project --risk-banner --pricing-table

輸出:

建立 ~/projects/my-project-landing/,包含:

  • 展示多供應商路由器的完整著陸頁面
  • 顯眼的服務條款風險橫幅(橘色,在摺疊上方)
  • 供應商卡片(Anthropic、Copilot、Ollama)
  • 來自 README 的價格表
  • 螢幕截圖圖庫
  • 已準備好進行 GitHub Pages 部署

提示

  • 對於有法律/服務條款考量的專案,務必包含 --risk-banner
  • 螢幕截圖能顯著提升著陸頁品質 - 請確保 assets/ 已填滿
  • 此技能會保留 README 的語言(英文/法文)
  • 請審查生成的 FAQ - 可能需要自訂
  • 生成後請測試響應式設計

參考資料

請參閱 references/landing-pattern.md 以取得詳細的模式文件。 請參閱 assets/ 以取得可重複使用的模板和程式碼片段。

Individual skills in this repo

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

gabrielmoreira/agent-skills-mirror

Design exclusive bonus packages that make YOUR affiliate link the obvious choice. Triggers on: "create bonuses for", "bonus stack", "what bonuses should I offer", "bonus ideas for", "exclusive bonuses", "differentiate my affiliate link", "why buy through my link", "affiliate bonuses", "bonus package", "what can I offer as a bonus", "design bonuses", "build a bonus stack".

gabrielmoreira/agent-skills-mirror

Design irresistible affiliate offers using the Hormozi Grand Slam framework. Triggers on: "create an offer for", "design my offer", "grand slam offer", "make an irresistible offer", "why should someone buy through my link", "offer framework", "value proposition for", "Hormozi offer", "offer stack", "make my offer irresistible", "craft an offer", "what makes my offer different", "offer design", "increase perceived value".

gabrielmoreira/agent-skills-mirror

Create YOUR personal guarantee on top of the product's guarantee for risk reversal. Triggers on: "create a guarantee", "guarantee for my affiliate", "risk reversal", "money back guarantee", "what guarantee can I offer", "reduce buyer risk", "guarantee copy", "how to guarantee", "affiliate guarantee", "personal guarantee", "risk-free offer", "satisfaction guarantee", "results guarantee".

gabrielmoreira/agent-skills-mirror

Build high-converting affiliate landing pages as single self-contained HTML files. Triggers on: "create a landing page for", "build a landing page", "product landing page", "affiliate landing page", "comparison page for", "vs page", "single product page", "conversion page", "sales page for affiliate", "landing page HTML", "build me a page for", "create a page to promote [product]", "I need a landing page", "make a page for [product]".

gabrielmoreira/agent-skills-mirror

Build a single-product deep-dive showcase page as a self-contained HTML file. Triggers on: "build a product showcase page", "deep dive landing page for [product]", "create a product spotlight page", "product feature page", "single product page", "detailed page about [product]", "build a page showing everything about [product]", "create a long-form product page", "build a sales page for [product]", "product deep dive page", "make a feature breakdown page for [product]".

gabrielmoreira/agent-skills-mirror

Build email capture landing pages (squeeze pages) as single self-contained HTML files. Triggers on: "build a squeeze page", "email capture page", "lead magnet page", "create an opt-in page", "build an email list page", "lead capture landing page", "create a freebie page", "build a page to collect emails", "opt-in landing page", "email signup page for [product/niche]", "create a lead magnet landing page", "build a page that captures emails before sending to affiliate offer".

gabrielmoreira/agent-skills-mirror

Design the complete free-to-premium value ladder for affiliate promotions. Triggers on: "value ladder", "customer journey", "upsell path", "ascension model", "free to paid funnel", "tripwire offer", "upsell strategy", "downsell", "product ladder", "price ladder", "customer ascension", "funnel architecture", "map my funnel", "design my funnel stages", "monetization path".

gabrielmoreira/agent-skills-mirror

Build a webinar or live event registration page as a self-contained HTML file with countdown timer, speaker bio, agenda, and registration form. Triggers on: "build a webinar registration page", "create a webinar sign-up page", "event registration landing page", "live training registration page", "workshop sign-up page", "create a webinar page", "build an event page", "free webinar landing page", "live demo registration page", "online event page", "create a registration page for my webinar", "build a training event page".

gabrielmoreira/agent-skills-mirror

Audit paid-ad landing pages for message match, mobile experience, performance, accessibility, trust, forms, consent, tracking, security, and conversion friction. Use for landing-page audit, post-click experience, LP audit, conversion-rate optimization, form optimization, ad-to-page message match, redirects, blocked navigation, or requests involving private, loopback, link-local, or metadata IP destinations.

gabrielmoreira/agent-skills-mirror

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

gabrielmoreira/agent-skills-mirror

Review UI code for Web Interface Guidelines compliance.

gabrielmoreira/agent-skills-mirror

Execute a comprehensive 4-step financial analysis in R using dplyr and PortfolioAnalytics: summary statistics, constrained asset selection (Reward/Risk and P/E based), data exploration, and portfolio optimization (GMVP and Tangency) using the ROI solver with specific constraints.

gabrielmoreira/agent-skills-mirror

Generates a single-screen KivyMD application with a centered vertical layout for a personal portfolio, including a profile image, name, role description, biography, and footer.

gabrielmoreira/agent-skills-mirror

Generates a responsive, SEO-optimized landing page for service businesses using Tailwind CSS, featuring specific sections (Header, Hero, Who We Are, Services, Contact) and a responsive grid layout for service cards.

gabrielmoreira/agent-skills-mirror

Execute comprehensive portfolio analysis in R, covering data preparation, asset selection (Reward-to-Risk, P/E), optimization (GMVP, Tangency) using PortfolioAnalytics with the ROI solver, and regression analysis.

gabrielmoreira/agent-skills-mirror

Generate and rewrite marketing content for software services and portfolios. Adapts tone from professional agency to customer-centric, handles style mimicry, formatting constraints, and strictly manages perspective (e.g., removing first-person pronouns for portfolio contexts).

gabrielmoreira/agent-skills-mirror

When the user wants to design, deploy, or measure Apple Custom Product Pages (CPP) — the alternate App Store product pages with different screenshots, preview videos, and promo text shown to users coming from specific URLs (typically ad campaigns or social posts). Use when the user mentions "Custom Product Page", "CPP", "alternate product page", "App Store URL variant", "ASA CPP", "campaign-specific landing page", "product page per audience", "App Store Connect CPP", "ppoUrl", "?cpp=" parameter, or "show different screenshots to different ad audiences". For App Store A/B tests on the default page, see ab-test-store-listing. For paid ad campaigns that route to CPPs, see apple-search-ads or ua-campaign.

gabrielmoreira/agent-skills-mirror

Shapes job-seeking personal sites: thirty-second hero, outcome-led case studies, hybrid home-plus-project routes, and frictionless contact CTAs, with heavy motion that degrades on mobile. Use for developer, designer, or creative portfolio work. Not a SaaS marketing landing page and not a WebGL engine tutorial.

相關技能