Communitygithub.com

Tilda Publishing

Tildaを使用したウェブサイトの構築とカスタマイズを支援します。ノーコードのブロックベースのビルダーに、カスタムHTML/CSS/JS、API連携、フォーム処理、eコマース機能を組み合わせ、マーケティングサイトやランディングページを素早く作成します。

Tilda Publishing とは?

このスキルは、Tilda Publishingプラットフォームを使用してウェブサイトを構築およびカスタマイズするための包括的なガイドです。Tildaはブロックベースのウェブサイトビルダーで、非技術者でも簡単にコンテンツを更新できる一方、開発者はカスタムHTML/CSS/JSの埋め込み、Zero Blockによる自由なデザイン、Tilda APIを介したプログラム的なコンテンツ管理、フォーム送信の外部バックエンドへの連携、eコマース機能の拡張など、高度なカスタマイズが可能です。このスキルは、Claude Code、Cursor、CodexなどのAIエージェント向けに設計されており、ユーザーが「Tildaでウェブサイトを作成して」「Tildaにカスタムコードを追加して」「TildaフォームをCRMに連携して」といったリクエストをした際に、具体的な実装手順(コード例、APIエンドポイント、設定箇所)を提供します。主なユースケースとして、SaaS製品のランディングページ構築、価格計算機や比較表などのインタラクティブ要素の追加、フォームデータのCRMやTelegramへの転送などをカバーしています。また、SEO設定、アナリティクス導入、カスタムドメイン設定といった運用面のガイドラインも含まれています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/TerminalSkills/skills/tree/HEAD/skills/tilda

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

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

ドキュメント

Tilda Publishing は何をしますか?

概要

Tildaはブロックベースのウェブサイトビルダーです。ブロックをページにドラッグし、視覚的にカスタマイズして公開します。バックエンドの管理やホスティングの設定は不要です。開発者向けには、任意のブロックにカスタムHTML/CSS/JSを注入し、Tilda APIを使用してプログラム的にコンテンツを管理し、フォームを任意のバックエンドに接続し、カスタム統合を構築できます。マーケティングサイト、ランディングページ、非技術者が独立してコンテンツを更新する必要がある小規模なeコマースストアに最適です。

使用するタイミング

  • マーケティングサイトやランディングページを迅速に構築する場合
  • 非技術者が簡単に更新できるCMSが必要な場合
  • 中小規模のeコマース(Tildaの組み込みストア)
  • 高度なアニメーションを備えたカスタムランディングページ
  • ビジュアル編集とカスタムコードの両方を必要とするサイト

手順

サイト構造

Tildaサイトは次のように構成されています:

  • プロジェクト → ページを含む
  • ページ → ブロック(セクション)を含む
  • ブロック → 事前設計されたセクション(ヒーロー、特徴、価格、ギャラリーなど)
  • Zero Block — 完全なデザインの自由度を持つカスタムブロック

ブロック内のカスタムHTML/CSS/JS

<!-- カスタムコードの追加方法:設定 → 詳細 → <head>内のHTMLコード、または</body>の前 -->

<!-- カスタムCSS(head) -->
<style>
  /* Tildaのデフォルトを上書き */
  .t-title {
    font-family: 'Inter', sans-serif !important;
  }

  /* カスタムアニメーション */
  .t-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
  }
  .t-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* レスポンシブオーバーライド */
  @media (max-width: 640px) {
    .t-cover__wrapper {
      min-height: 60vh !important;
    }
  }
</style>
<!-- カスタムJavaScript(</body>の前) -->
<script>
  // スクロールアニメーション用のIntersection Observer
  document.addEventListener('DOMContentLoaded', () => {
    const observer = new IntersectionObserver((entries) => {
      entries.forEach((entry) => {
        if (entry.isIntersecting) {
          entry.target.classList.add('is-visible');
        }
      });
    }, { threshold: 0.1 });

    document.querySelectorAll('.t-animate').forEach((el) => observer.observe(el));
  });

  // カスタムフォーム処理 — 独自のAPIに送信
  document.querySelector('.t-form')?.addEventListener('submit', async (e) => {
    const formData = new FormData(e.target);
    const data = Object.fromEntries(formData);

    // Tildaの組み込み処理と並行してバックエンドに送信
    await fetch('https://api.myapp.com/leads', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify(data),
    });
  });
</script>

Zero Block(カスタムデザイン)

Zero Blockは、Artboardのような完全な制御を提供します。要素を正確な位置に配置し、カスタムの配置、アニメーション、レスポンシブブレークポイントを設定できます。

<!-- カスタムインタラクティブ要素を備えたZero Block -->
<div class="custom-calculator" id="price-calc">
  <h3>価格計算機</h3>
  <div class="calc-row">
    <label>ユーザー数</label>
    <input type="range" id="users" min="1" max="1000" value="10">
    <span id="users-count">10</span>
  </div>
  <div class="calc-row">
    <label>プラン</label>
    <select id="plan">
      <option value="starter">スターター — $5/ユーザー</option>
      <option value="pro">プロ — $12/ユーザー</option>
      <option value="enterprise">エンタープライズ — $25/ユーザー</option>
    </select>
  </div>
  <div class="calc-result">
    合計: <span id="total">$50</span>/月
  </div>
</div>

<script>
  const prices = { starter: 5, pro: 12, enterprise: 25 };
  const usersInput = document.getElementById('users');
  const planSelect = document.getElementById('plan');

  function updatePrice() {
    const users = parseInt(usersInput.value);
    const price = prices[planSelect.value];
    document.getElementById('users-count').textContent = users;
    document.getElementById('total').textContent = '$' + (users * price).toLocaleString();
  }

  usersInput.addEventListener('input', updatePrice);
  planSelect.addEventListener('change', updatePrice);
</script>

Tilda API

// api/tilda.ts — Tildaコンテンツをプログラムで管理
const TILDA_PUBLIC_KEY = process.env.TILDA_PUBLIC_KEY;
const TILDA_SECRET_KEY = process.env.TILDA_SECRET_KEY;
const BASE_URL = "https://api.tildacdn.info/v1";

// すべてのプロジェクトを取得
async function getProjects() {
  const res = await fetch(
    `${BASE_URL}/getprojectslist/?publickey=${TILDA_PUBLIC_KEY}&secretkey=${TILDA_SECRET_KEY}`
  );
  return res.json(); // { status: "FOUND", result: [{ id, title, ... }] }
}

// プロジェクト内のすべてのページを取得
async function getPages(projectId: number) {
  const res = await fetch(
    `${BASE_URL}/getpageslist/?publickey=${TILDA_PUBLIC_KEY}&secretkey=${TILDA_SECRET_KEY}&projectid=${projectId}`
  );
  return res.json();
}

// ページの完全なコンテンツを取得(HTML + CSS + JS)
async function getPageFull(pageId: number) {
  const res = await fetch(
    `${BASE_URL}/getpagefull/?publickey=${TILDA_PUBLIC_KEY}&secretkey=${TILDA_SECRET_KEY}&pageid=${pageId}`
  );
  return res.json();
  // 戻り値: { html, css, js, images[], title, descr, ... }
}

// ページを自分のホスティングにエクスポート
async function exportPage(pageId: number) {
  const page = await getPageFull(pageId);
  const { html, css, js } = page.result;

  // 自己完結型HTMLを構築
  return `
    <!DOCTYPE html>
    <html>
    <head>
      <style>${css}</style>
    </head>
    <body>
      ${html}
      <script>${js}</script>
    </body>
    </html>
  `;
}

フォーム処理とWebhook

// webhook/tilda-form.ts — Tildaフォームの送信を受け取る
/**
 * Tildaでの設定: ブロック設定 → フォーム → Webhook URL
 * Tildaは送信ごとにフォームデータを含むPOSTを送信します。
 */
export async function handleTildaForm(req: Request) {
  const formData = await req.formData();
  const data = Object.fromEntries(formData);

  // data: { Name: "Kai", Email: "[email protected]", Phone: "+1234567890", ... }

  // CRMに保存
  await fetch("https://api.mycrm.com/leads", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      name: data.Name,
      email: data.Email,
      phone: data.Phone,
      source: "tilda-landing",
    }),
  });

  // Telegramに送信
  await fetch(`https://api.telegram.org/bot${BOT_TOKEN}/sendMessage`, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      chat_id: CHAT_ID,
      text: `🔔 新しいリード!\n名前: ${data.Name}\nメール: ${data.Email}\n電話: ${data.Phone}`,
    }),
  });

  return new Response("OK");
}

eコマース(Tildaストア)

<!-- カスタム商品ページの拡張 -->
<script>
  // カスタム処理でカートに追加
  document.addEventListener('DOMContentLoaded', () => {
    // カートに追加イベントを追跡
    document.querySelectorAll('.js-store-buttons-buy-btn').forEach((btn) => {
      btn.addEventListener('click', () => {
        const productName = btn.closest('.js-product')
          ?.querySelector('.js-product-name')?.textContent;

        // アナリティクスに送信
        if (window.dataLayer) {
          window.dataLayer.push({
            event: 'add_to_cart',
            product_name: productName,
          });
        }
      });
    });
  });
</script>

SEOとアナリティクスの設定

<!-- 設定 → 詳細 → <head>内のHTMLコードに追加 -->

<!-- Google Analytics 4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>

<!-- Facebook Pixel -->
<script>
  !function(f,b,e,v,n,t,s){/* ... Facebook Pixelコード ... */}();
  fbq('init', 'YOUR_PIXEL_ID');
  fbq('track', 'PageView');
</script>

<!-- カスタム構造化データ -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "My Company",
  "url": "https://mycompany.com",
  "logo": "https://mycompany.com/logo.png",
  "contactPoint": { "@type": "ContactPoint", "telephone": "+1-234-567-8900" }
}
</script>

例

例1: マーケティングランディングページの構築

ユーザープロンプト: 「SaaS製品向けのランディングページを作成してください。ヒーロー、特徴、価格、FAQ、お問い合わせフォームを含め、スタッフがテキストと画像を更新できるようにしてください。」

エージェントはTildaブロックでページをデザインし、フォームwebhookを設定し、ブランドの一貫性を保つためのカスタムCSSを追加し、アナリティクストラッキングを設定します。

例2: Tilda上のカスタムインタラクティブ要素

ユーザープロンプト: 「Tildaサイトに価格計算機とインタラクティブな製品比較表を追加してください。」

エージェントはZero Blockレイアウトを作成し、計算機と比較表用のカスタムHTML/JSを実装し、Tildaテーマに合わせてスタイルを調整します。

例3: TildaフォームをCRMに接続

ユーザープロンプト: 「すべてのフォーム送信をCRMに送信し、Telegramで営業チームに通知してください。」

エージェントはTilda webhookを設定し、送信を受け取るサーバーレス関数を作成し、データをCRMとTelegramに転送します。

ガイドライン

  • 構造にはブロック、カスタムにはZero Block — 迅速な構築には事前構築ブロックを、完全な制御が必要な場合はZero Blockを使用
  • 設定内のカスタムコード — CSS/メタタグは<head>内、JavaScriptは</body>の前に配置
  • フォームには組み込みwebhook — 送信を任意のURLに転送可能
  • Tilda APIは読み取り専用 — コンテンツのエクスポートは可能だが、API経由でページを作成することは不可
  • ページごとのSEO設定 — タイトル、説明、OGタグはページ設定で構成
  • カスタムドメイン — DNSをTildaに向け、SSLは自動
  • eコマースは組み込み — 商品カタログ、カート、チェックアウト、決済に対応
  • デフォルトでレスポンシブ — ブロックは自動適応するが、ブレークポイントをテストして調整
  • スタッフはすべてを編集可能 — テキスト、画像、ブロック、ページ順序をビジュアルエディターで変更
  • セルフホスティング用にエクスポート — APIから完全なHTML/CSS/JSを取得して独自デプロイが可能
  • 重要なTildaクラスを上書きしない — カスタムCSSには名前空間をプレフィックスとして付与
  • Google Tag Manager — 複雑なトラッキング設定にはインラインスクリプトではなくGTMを使用

Individual skills in this repo

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

TerminalSkills/skills

>- Run GitHub Actions locally with act. Use when a user asks to test GitHub Actions workflows locally, debug CI pipelines without pushing, or run workflows offline.

TerminalSkills/skills

>- You are an expert in AG2 (formerly AutoGen), the open-source multi-agent conversation framework. You help developers build systems where multiple AI agents collaborate through structured conversations — with tool use, human-in-the-loop, code execution, group chat orchestration, and nested conversations — for complex tasks like software development, research, and data analysis.

TerminalSkills/skills

>- Generate short-form videos with AI — script writing, text-to-speech narration, stock footage selection, subtitle generation, and video assembly. Use when: creating TikTok/YouTube Shorts/Reels content, automating video production, building content pipelines.

TerminalSkills/skills

>- Animate 3D objects and characters in Blender with Python. Use when the user wants to keyframe properties, create armatures and rigs, set up IK/FK chains, animate shape keys for facial animation, edit F-Curves, use the NLA editor to blend actions, add drivers for expression-based animation, or script any animation workflow in Blender.

TerminalSkills/skills

>- Automate motion capture and tracking workflows in Blender with Python. Use when the user wants to import BVH or FBX mocap data, retarget motion to armatures, track camera or object motion from video, solve camera motion, clean up motion capture data, or script any tracking pipeline in Blender.

TerminalSkills/skills

>- You are an expert in Bolt.new by StackBlitz, the AI-powered full-stack development environment that runs entirely in the browser. You help developers go from idea to deployed app in minutes using natural language prompts — Bolt generates complete applications with frontend, backend, database, and deployment, all running in a WebContainer without local setup.

TerminalSkills/skills

>- Assists with using Bun as an all-in-one JavaScript/TypeScript runtime, package manager, bundler, and test runner. Use when building HTTP servers, managing packages, running tests, or migrating from Node.js. Trigger words: bun, bun serve, bun install, bun test, bun build, javascript runtime, bun runtime.

TerminalSkills/skills

>- Self-host customer support with Chatwoot. Use when a user asks to set up open-source customer support, add live chat without SaaS costs, build a multi-channel inbox, or deploy a free Intercom alternative.

TerminalSkills/skills

>- You are an expert in Chi, the lightweight, idiomatic Go HTTP router built on `net/http`. You help developers build composable HTTP services using Chi's middleware stack, route groups, URL parameters, sub-routers, and context-based request scoping — providing Express-like ergonomics while staying 100% compatible with Go's standard library.

TerminalSkills/skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' or 'copy sweep.' This skill provides a systematic approach to editing marketing copy through multiple focused passes.

TerminalSkills/skills

>- Add live chat and customer support with Crisp. Use when a user asks to add a chat widget, implement live customer support, set up a help desk, create a knowledge base, or add a chatbot to a website.

TerminalSkills/skills

>- Assists with building custom interactive data visualizations using D3.js. Use when creating charts, graphs, maps, force layouts, or hierarchical diagrams that require fine-grained control beyond what charting libraries provide. Trigger words: d3, data visualization, chart, svg, scales, force graph, treemap, choropleth.

TerminalSkills/skills

dbt (data build tool) transforms data in your warehouse using SQL SELECT statements. Learn project setup, models, tests, documentation, incremental materializations, and integration with data warehouses like PostgreSQL, BigQuery, and Snowflake.

TerminalSkills/skills

>- You are an expert in dlt, the open-source Python library for building data pipelines. You help developers load data from any API, file, or database into warehouses and lakes using simple Python decorators — with automatic schema inference, incremental loading, and built-in data contracts. dlt is the "requests library for data pipelines.

TerminalSkills/skills

Data Version Control for ML projects. Track large datasets and models alongside Git, build reproducible ML pipelines, and run experiments with metric comparison. Works with any storage backend including S3, GCS, Azure, and local filesystems.

TerminalSkills/skills

>- You are an expert in E2B, the cloud platform for running AI-generated code in secure sandboxes. You help developers give AI agents the ability to execute code, install packages, read/write files, and run long processes in isolated cloud environments — each sandbox is a lightweight VM that boots in ~150ms with full Linux, filesystem, and networking.

TerminalSkills/skills

>- Transcode, convert, edit, and process audio and video with FFmpeg. Use when a user asks to convert video formats (webm to mp4, mkv to mp4), extract audio from video, compress video files, trim or cut clips, concatenate videos, add subtitles, create thumbnails, apply filters, change resolution or bitrate, re-encode media, create GIFs from video, add watermarks, normalize audio, stream media, or build automated media processing pipelines.

TerminalSkills/skills

>- Create advanced animations with GSAP. Use when building complex timelines, scroll-driven animations, SVG morphing, text animations, or high-performance web animations beyond CSS capabilities.

TerminalSkills/skills

>- Generate deterministic MP4 videos from HTML, CSS, media, and seekable animations using HeyGen's HyperFrames framework. Use when someone asks to "render HTML to video", "make a video with HyperFrames", "create a programmatic video", "turn an animation into MP4", "build a launch/product video from HTML", "render GSAP/Lottie/Three.js to video", or set up an agent-driven video pipeline. Covers init/preview/render/add/lint/inspect commands, data-* timing attributes, animation adapters, and the component catalog.

TerminalSkills/skills

When the user wants to perform load testing, stress testing, or performance testing of APIs and websites using k6. Also use when the user mentions "k6," "load test," "performance test," "stress test," "spike test," "soak test," "thresholds," "virtual users," or "VUs." For browser-based testing, see selenium.

関連スキル