Communitygithub.com

TencentEdgeOne/awesome-website-prompts-and-skills

完全なSaaSランディングページを生成し、EdgeOne Pagesにデプロイします。ヒーローセクション、機能一覧、価格表、お客様の声、CTAセクションを含みます。React + Tailwind CSSをサポートし、ワンコマンドでEdgeOne Pagesにデプロイ可能です。

awesome-website-prompts-and-skills とは?

このスキルは、AIアシスタント(例:Claude Code, Cursor, Codex)を使用して、本番品質のSaaSランディングページを生成し、Tencent EdgeOne Pagesにワンクリックデプロイするためのものです。React 18、Vite、Tailwind CSSをベースに、ヒーローセクション、機能一覧、価格表、お客様の声、CTAセクションなど、コンバージョンに最適化されたテンプレートを自動生成します。ユーザーは製品名、キャッチコピー、主要機能、価格プラン、配色を指定するだけで、完全なソースコードと公開URLを入手できます。デプロイ方法は、EdgeOne Pages CLIを使用したコマンドラインデプロイと、Gitリポジトリを連携した自動デプロイの2つをサポートしており、追加のインフラ管理は不要です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/TencentEdgeOne/awesome-website-prompts-and-skills/tree/HEAD/skills/saas-landing-gen

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

SaaS ランディングページ生成スキル

トリガーワード

  • 「帮我做一个 SaaS 落地页」
  • 「generate a saas landing page」
  • 「创建一个软件产品官网」
  • 「landing page for my saas」

このスキルの機能

完全な、本番環境で使用可能なSaaSランディングページを生成し、EdgeOne Pagesに1つのフローでデプロイします。

出力:公開URL + 完全なソースコード。

技術スタック

  • フレームワーク: React 18 + Vite
  • スタイリング: Tailwind CSS
  • デプロイメント: EdgeOne Pages (自動)
  • オプション: フォーム処理用のEdge Functions

ワークフロー

ステップ 1: 要件を収集する

ユーザーに問い合わせるか(または文脈から推測して):

  1. 製品名 / ブランド
  2. キャッチコピー / 一言
  3. 主要機能(3〜5つ)
  4. 価格プラン(オプション)
  5. 配色の好み

情報が不足している場合は、適切なデフォルト値を使用して続行します。

ステップ 2: コードを生成する

以下の構造でVite + React + Tailwindプロジェクトを作成します:

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

ステップ 3: EdgeOne Pagesにデプロイする

コード生成後、以下を実行:

# EdgeOne Pages CLIのインストール
npm install -g edgeone-pages-cli

# デプロイ
eedgeone-pages deploy . --name <project-name>

または、GitリポジトリをEdgeOne Pagesに接続して自動デプロイする方法をユーザーに案内します。

コードテンプレート

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 (完全な例)

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 (主要セクション)

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">
            今すぐ無料で始める
          </button>
          <button className="border border-white px-8 py-3 rounded-lg font-semibold hover:bg-white/10 transition">
            デモを見る
          </button>
        </div>
      </div>
    </section>
  )
}

EdgeOne Pagesへのデプロイ

コード生成後、以下の方法でデプロイを完了します:

  1. オプション A: CLI デプロイ
npx edgeone-pages-cli deploy . --name saas-landing-demo
  1. オプション B: Gitベースのデプロイ
  • コードをGitHubにプッシュする
  • EdgeOne Pagesコンソールでリポジトリを接続する
  • プッシュ時に自動デプロイ
  1. デプロイURLを確認し、ユーザーに返します。

ベストプラクティス

  • SEO対策のためセマンティックHTMLを使用する
  • モバイルレスポンシブを確保する(Tailwindクラス)
  • index.htmlにメタタグを追加する
  • 画像を最適化する(可能な限りSVGを使用)
  • ソーシャルシェア用のOGタグを含める

ユーザーへのプロンプト例

[製品名] のSaaSランディングページを作成してください。
キャッチコピー: [一言の説明]
機能: [機能1], [機能2], [機能3]
価格: 無料 / Pro($29/月) / エンタープライズ(お問い合わせ)
配色: [青 / 紫 / 緑 / カスタム]
EdgeOne Pagesにデプロイしてください。

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

関連スキル