‹ 首页

saas-landing-gen

@tencentedgeone · 收录于 1 周前 · 上游提交 1 个月前

Generate a complete SaaS landing page with EdgeOne Pages deployment. Includes hero section, features, pricing, testimonials, and CTA sections. Supports React + Tailwind CSS, one-command deploy to EdgeOne Pages.

适合你,如果需要快速搭建并部署一个 SaaS 产品官网。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add tencentedgeone/awesome-website-prompts-and-skills/saas-landing-gen
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tencentedgeone/awesome-website-prompts-and-skills/saas-landing-gen
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tencentedgeone/awesome-website-prompts-and-skills/saas-landing-gen
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
136GitHub stars
~1.1K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 e3f25bd · 表述以原文为准
它做什么

生成一个完整的 SaaS 落地页(包含导航、英雄区、功能、定价、客户评价、行动号召和页脚),并自动部署到 EdgeOne Pages,返回托管 URL 和源代码。

什么时候触发

当你说出“帮我做一个 SaaS 落地页”、“generate a saas landing page”等触发词时,或要求创建软件产品官网时触发。

装好后可以这样说
Claude 会询问更多细节并生成页面。
Claude 会使用这些功能生成 Features 部分。
技能原文 SKILL.md作者撰写 · MIT · e3f25bd

SaaS Landing Page Generator Skill

Trigger Words
  • "帮我做一个 SaaS 落地页"
  • "generate a saas landing page"
  • "创建一个软件产品官网"
  • "landing page for my saas"
What This Skill Does

Generates a complete, production-ready SaaS landing page and deploys it to EdgeOne Pages in one flow.

Output: a hosted URL + full source code.

Tech Stack
  • Framework: React 18 + Vite
  • Styling: Tailwind CSS
  • Deployment: EdgeOne Pages (auto)
  • Optional: Edge Functions for form handling
Workflow
Step 1: Gather Requirements

Ask the user (or infer from context):

  1. Product name / brand
  2. Tagline / one-liner
  3. Key features (3-5)
  4. Pricing tiers (optional)
  5. Color scheme preference

If info is missing, use sensible defaults and proceed.

Step 2: Generate the Code

Create a Vite + React + Tailwind project with the following structure:

saas-landing/
├── index.html
├── package.json
├── vite.config.js
├── tailwind.config.js
├── postcss.config.js
├── src/
│   ├── main.jsx
│   ├── App.jsx
│   ├── index.css
│   └── components/
│       ├── Navbar.jsx
│       ├── Hero.jsx
│       ├── Features.jsx
│       ├── Pricing.jsx
│       ├── Testimonials.jsx
│       ├── CTA.jsx
│       └── Footer.jsx
└── public/
    └── favicon.svg
Step 3: Deploy to EdgeOne Pages

After generating code, run:

# Install EdgeOne Pages CLI
npm install -g edgeone-pages-cli

# Deploy
edgeone-pages deploy . --name <project-name>

Or guide user to connect Git repo to EdgeOne Pages for auto-deploy.

Code Templates
package.json
{
  "name": "saas-landing",
  "private": true,
  "version": "1.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  },
  "devDependencies": {
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "@vitejs/plugin-react": "^4.2.0",
    "autoprefixer": "^10.4.17",
    "postcss": "^8.4.33",
    "tailwindcss": "^3.4.1",
    "vite": "^5.0.0"
  }
}
tailwind.config.js
/** @type {import('tailwindcss').Config} */
export default {
  content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
  theme: {
    extend: {
      colors: {
        brand: {
          50: '#eff6ff',
          100: '#dbeafe',
          200: '#bfdbfe',
          300: '#93c5fd',
          400: '#60a5fa',
          500: '#3b82f6',
          600: '#2563eb',
          700: '#1d4ed8',
          800: '#1e40af',
          900: '#1e3a8a',
        },
      },
    },
  },
  plugins: [],
}
src/App.jsx (Complete Example)
import React from 'react'
import Navbar from './components/Navbar'
import Hero from './components/Hero'
import Features from './components/Features'
import Pricing from './components/Pricing'
import Testimonials from './components/Testimonials'
import CTA from './components/CTA'
import Footer from './components/Footer'

export default function App() {
  return (
    <div className="min-h-screen bg-white">
      <Navbar />
      <main>
        <Hero />
        <Features />
        <Pricing />
        <Testimonials />
        <CTA />
      </main>
      <Footer />
    </div>
  )
}
src/components/Hero.jsx (Key Section)
import React from 'react'

export default function Hero({ productName = "Your SaaS", tagline = "The best solution for your business" }) {
  return (
    <section className="relative bg-gradient-to-br from-brand-600 to-brand-800 text-white py-24 px-6 text-center">
      <div className="max-w-4xl mx-auto">
        <h1 className="text-5xl font-bold mb-6">{productName}</h1>
        <p className="text-xl mb-8 text-brand-100">{tagline}</p>
        <div className="flex gap-4 justify-center">
          <button className="bg-white text-brand-700 px-8 py-3 rounded-lg font-semibold hover:bg-brand-50 transition">
            Get Started Free
          </button>
          <button className="border border-white px-8 py-3 rounded-lg font-semibold hover:bg-white/10 transition">
            See Demo
          </button>
        </div>
      </div>
    </section>
  )
}
EdgeOne Pages Deployment

After code generation, ensure deployment by:

  1. Option A: CLI Deploy
npx edgeone-pages-cli deploy . --name saas-landing-demo
  1. Option B: Git-based Deploy
  2. Push code to GitHub
  3. Connect repo at EdgeOne Pages console
  4. Auto-deploy on push
  1. Verify deployment URL and return to user.
Best Practices
  • Use semantic HTML for SEO
  • Ensure mobile responsive (Tailwind classes)
  • Add meta tags in index.html
  • Optimize images (use SVG where possible)
  • Include OG tags for social sharing
Example Prompt to User
Create a SaaS landing page for [Product Name].
Tagline: [One line description]
Features: [Feature 1], [Feature 2], [Feature 3]
Pricing: Free / Pro ($29/mo) / Enterprise (contact)
Color scheme: [Blue/ Purple/ Green/ Custom]
Deploy to EdgeOne Pages.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。