Communitygithub.com

gabrielmoreira/agent-skills-mirror

为任意代码仓库生成完整、可直接部署的着陆页。适用于为开源项目创建主页、搭建项目网站、将 README 转换为营销页面,或在多个仓库间统一着陆页样式。

agent-skills-mirror 是什么?

该技能能够自动分析任意代码仓库的文档和结构,生成一个完整、可直接部署的静态着陆页。它通过读取 README.md、CHANGELOG.md、package.json、VERSION 以及 docs/ 和 assets/ 等目录,提取标题、标语、功能特性、安装说明和截图等关键内容,并将其映射到英雄区、功能网格、快速开始、常见问题等标准页面板块中。生成的页面为纯 HTML+CSS+JS,无需构建步骤,并附带 GitHub Pages 的 Actions 工作流,便于立即发布。支持 `--risk-banner`(风险提示横幅)和 `--pricing-table`(定价对比表)等可选特性,并可定制主题颜色(暗色/亮色)、截图路径和搜索功能。该技能支持 Claude Code、Cursor 等 AI 代理工具,旨在帮助开发者快速将项目文档转化为美观的营销网站,提升项目展示效果。

兼容平台✓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. 映射到板块:英雄区、功能特性、安装、常见问题、页脚 (+ 可选的:风险横幅、定价表)
  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>输出目录./[仓库名称]-landing/

工作流程

步骤 1:仓库分析

读取并分析源仓库中的以下文件:

README.md        → 主要内容来源(标题、标语、功能特性、安装说明)
CHANGELOG.md     → 版本信息、最近更改
package.json     → 版本号、依赖项、元数据
VERSION          → 替代版本信息来源
docs/            → 额外文档页面
assets/          → 截图、图片
LICENSE          → 用于徽章的许可证类型

步骤 2:内容提取映射

来源目标板块提取方法
README 标题/徽章英雄区第一个 H1 + shield.io 徽章行
README 摘要英雄区标语标题后的第一个段落或块引用
README 功能特性功能网格H2/H3 板块带有项目列表
README 安装快速开始带有 shell 命令的代码块
README 用法示例带有示例的代码块
README 常见问题常见问题details/summary 或 H3+P 模式
CHANGELOG最新动态最近的 1-3 个版本
assets/*.png截图画廊板块

步骤 3:板块生成

按以下顺序生成板块:

  1. 页头(固定)

    • 项目名称/Logo
    • 导航链接:功能特性、安装、常见问题
    • 操作:搜索(Cmd+K)、GitHub Star、主要 CTA
  2. 风险横幅(如果启用 --risk-banner)

    • 折叠区上方的橙色/警告样式
    • 清晰可见的免责声明文本
    • 链接到详细的披露板块
  3. 英雄区

    • 来自 README H1 的标题
    • 来自摘要/第一段的标语
    • 统计徽章(版本、许可证、平台)
    • CTA:“快速开始”(主要)、“在 GitHub 上查看”(次要)
  4. 架构/概览(如果 README 中有图表)

    • ASCII 图表转换为带样式的块
    • 或者概览卡片
  5. 功能网格

    • 来自 README 功能特性的 4-6 张功能卡片
    • 图标 + 标题 + 描述模式
  6. 定价表(如果启用 --pricing-table)

    • 套餐对比表格
    • 如果存在,包含倍数/用量表
  7. 截图画廊(如果 assets 目录存在)

    • 基于标签页或轮播的画廊
    • 来自 alt 文本的说明
  8. 快速开始板块

    • 一行安装命令(特色代码块)
    • 设置步骤
    • 第一个使用示例
  9. 风险披露(如果启用 --risk-banner)

    • 完整的免责声明板块
    • 服务条款注意事项
    • 建议
  10. 常见问题板块

    • 从 README 常见问题或常见疑问生成
    • 可折叠的 details 模式
  11. 相关项目(如果 README 中有链接)

    • 链接到依赖项/相关仓库的卡片
  12. 页脚

    • 快速链接
    • 许可证徽章
    • 版本信息
    • 作者/仓库链接

步骤 4:输出结构

[项目名称]-landing/
├── index.html              # 主着陆页
├── styles.css              # 完整样式表
├── search.js               # Cmd+K 搜索功能
├── search-data.js          # 搜索索引(常见问题、功能特性)
├── 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 的语言(英语/法语)
  • 检查生成的常见问题板块——可能需要自定义
  • 生成后测试响应式设计

参考

详见 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.

相关技能