Communityライティング&編集github.com

getpaidskills/legal-pages

SaaS、デジタルプロダクト、またはWebサイト向けに、プライバシーポリシー、利用規約、返金ポリシーを、決済プロバイダー(Creem、Paddle、Lemon Squeezy(準拠販売者)、Stripe/直接販売)とユーザーの所在地域(EU/UK GDPR、カリフォルニア州CCPA/CPRA、中国PIPL注記)に合わせて生成し、Markdown、HTML、またはNext.jsページとしてレンダリングしてフッターにリンクします。出力は開始テンプレートであり、法律上のアドバイスではありません。ユーザーは内容を確認し、資格ある弁護士に確認してもらう必要があります。

legal-pages とは?

このスキルは、SaaS、デジタルプロダクト、Webサイト向けに、プライバシーポリシー、利用規約、返金ポリシーのテンプレートを生成するためのものです。まず、コードベースを検査して認証プロバイダー、アナリティクススクリプト、支払いSDKなど可能な限り事前入力し、不足情報はユーザーに質問します。次に、`scripts/render_legal.py` を使用して、設定ファイルに基づきMarkdown、HTML、Next.jsページをレンダリングします。出力には `[[TODO]]` マーカーが含まれ、ユーザーが弁護士と相談して記入する必要があります。このスキルは、コード生成、ファイル操作、Pythonスクリプト実行が可能なAIエージェント(Claude Code、Cursor、Codexなど)で動作するように設計されています。決済プロバイダー(Creem、Paddle、Lemon Squeezy(準拠販売者)、Stripe)ごとの注意点や、GDPR、CCPA、PIPLなどの地域固有の規制に関する参考資料も含まれており、ユーザーが法的コンプライアンスの出発点として利用できます。ただし、法律上のアドバイスに代わるものではなく、最終的な内容は資格ある弁護士によるレビューが必須であることを強調しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/getpaidskills/skills/tree/HEAD/skills/legal-pages

Installed? Explore more ライティング&編集 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

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

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

ドキュメント

legal-pages は何をしますか?

法律上のアドバイスではありません。 このスキルは、ユーザーの回答を埋め込んだテンプレートを生成します。ユーザーの管轄区域に固有の義務を認識しておらず、弁護士の代わりにはなりません。最終メッセージで必ずそのことをユーザーに伝え、生成されたページにはユーザーが内容を確認した後にのみ削除するレビュー通知が表示されます。ページが「準拠している」と決して主張しないでください。

ステップ1 — 事実を収集する(質問する、推測しない)

まずコードベースを検査して、可能な限り事前入力します(認証プロバイダー、アナリティクススクリプト、支払いSDK、メールプロバイダー、データベースホスト、設定されたCookie)。その後、ユーザーに確認します。 assets/legal-config.example.json をプロジェクトルートに legal-config.json としてコピーし、入力します:

フィールド例確認箇所
company_name, product_name, website_url, contact_email"Acme Studio"質問する; フッター; 環境変数
legal_entity_type, address, governing_law"個人事業主", "河北省, 中国", "中華人民共和国"質問する — 決して作成しない
merchant_of_recordcreem / paddle / lemonsqueezy / nonepackage.jsonの依存関係 (creem, @paddle/paddle-js, @lemonsqueezy/..., stripe)
data_collectedメール, 名前, MoRによる支払い処理, IP/利用ログ認証 + DBスキーマ
processorsResend (メール), Plausible (アナリティクス), AWS (ホスティング)環境変数, SDKインポート
uses_cookies, analytics_cookiestrue / false認証/アナリティクスで設定されるCookie
sells_subscriptions, sells_one_time価格ページ
refund_modewindow (N日間) / case_by_case / none質問する — プロバイダーのルールと一致する必要がある
serves_eu, serves_california, serves_china質問する; 追加セクションに影響
min_age13 または 16EUにサービスを提供する場合、16がより安全なデフォルト

ユーザーが不明な点は、出力に [[TODO: …]] マーカーとして残します — 法的な事実(住所、法人形態、準拠法)をもっともらしい値で入力しないでください。

ステップ2 — レンダリング

python3 scripts/render_legal.py --config legal-config.json --out legal --format md
python3 scripts/render_legal.py --config legal-config.json --out app/(legal) --format nextjs   # Next.js App Router
python3 scripts/render_legal.py --config legal-config.json --out public/legal --format html

privacy, terms, refund ドキュメントを生成します。必須フィールドが欠けているとスクリプトは失敗し、残っている [[TODO]] をすべて出力し、「最終更新日」に effective_date(または今日の日付)を刻印します。--format nextjs は、静的なHTMLとmetadataを含む privacy/page.tsx, terms/page.tsx, refund/page.tsx を書き出します — 追加の依存関係は不要です。必要に応じてサイトのレイアウト/タイポグラフィでラップしてください。

ステップ3 — リンク設定

  • すべてのページのフッターに3つのページすべてへのリンクを配置します(決済プロバイダーがこれらを探します)。
  • チェックアウト: 購入ボタンの近くに利用規約と返金ポリシーへのリンクを配置します(「購入することにより、あなたは…に同意したものとみなされます」)。
  • analytics_cookies が true で serves_eu が true の場合: アナリティクスを読み込む前にCookie同意バナーがおそらく必要であることをユーザーに伝えます(またはクッキーレスアナリティクスツールに切り替えます)。サイレントにバナーを追加しないでください。
  • サインアップフォーム: プライバシーポリシーへのリンクを配置します。

ステップ4 — プロバイダー固有の確認

選択された準拠販売者(Merchant of Record)について references/provider-notes.md を読んでください。重要なポイント: MoRを使用する場合、MoRが顧客に対する販売者となるため、利用規約はその旨を明記し、返金ポリシーはMoR自身の購入条件と矛盾することを約束してはいけません。

ステップ5 — 引継ぎメッセージ(必須)

ユーザーに、その言語で次のことを伝えてください:

  1. どのファイルが作成され、どこにリンクされているか。
  2. まだ未解決の [[TODO]] 項目のリスト。
  3. テンプレートであり、法律上のアドバイスではなく、特に以下の点について資格ある弁護士によるレビューを受けるべきであること: 準拠法、責任制限、消費者の撤回権(デジタルコンテンツのEU14日ルール)、ユーザーの国からのデータ移転。
  4. ユーザーデータを処理する新しいツールを追加した場合は、ページを正確に保つ必要があること。

ファイル

  • assets/templates/*.md — 3つのテンプレート(マスタッシュスタイル {{field}}, {{#flag}}…{{/flag}})
  • assets/legal-config.example.json — すべてのフィールドを含む質問票
  • scripts/render_legal.py — レンダラー(stdlibのみ)
  • references/provider-notes.md — Creem / Paddle / Lemon Squeezy / Stripeの注意事項とリンク
  • references/regional-notes.md — GDPR、UK GDPR、CCPA/CPRA、PIPLのポインター(情報提供用)

Individual skills in this repo

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

getpaidskills/agents-md-starter

Creates or upgrades a repository's AGENTS.md (read by Codex, Cursor, and other agents) and a CLAUDE.md that imports it, so Claude Code, Codex, Cursor and Gemini CLI share one set of project rules. Scans the repo to detect languages, package manager, real build/test/lint commands, framework, directory layout and existing rule files (.cursorrules, .cursor/rules, CLAUDE.md, copilot-instructions), then writes a concise, verified rules file. Use when the user asks to set up AGENTS.md or CLAUDE.md, "project rules", "make Claude Code and Codex follow the same conventions", onboard an agent to a repo, or migrate .cursorrules.

getpaidskills/directory-launch-kit

Prepares a product for submission to launch platforms and directories (Product Hunt, Show HN, BetaList, Uneed, Fazier, SaaSHub, TinyLaunch, AI tool directories, agent-skill marketplaces, Reddit, V2EX and more) without submitting anything itself. Picks only the directories the product fits, writes the copy for each form within its field limits from one product.json, resizes screenshots to each platform's sizes (Product Hunt 1270x760 gallery and 240x240 thumbnail, 1200x630 OG), builds a tracker CSV, re-checks prices and rules on the live pages, and later verifies which listings went live and whether their backlinks are follow or nofollow. Use when the user asks where to launch, how to submit to Product Hunt or AI directories, wants launch copy, a directory list, backlinks, or a launch tracker.

getpaidskills/launch-checklist

Pre-launch audit for a website or SaaS - checks SEO tags (title, description, canonical, lang, Open Graph), robots.txt, sitemap.xml, favicon and apple-touch-icon, real 404 status, HTTPS redirect, legal pages (privacy, terms, refund), image alt text, page weight and response time, plus a payment self-check (webhook signature, raw body, idempotency, refunds, secrets, success-page grants), then lists the problems and fixes them in the codebase. Ships a no-dependency crawler script (audit_site.py) that produces a pass/warn/fail report. Use when the user says they are about to launch, ship, go live, submit to Product Hunt or AI directories, or asks "is my site ready", "SEO check", "why is my site not indexed", or wants a launch checklist, or asks whether their payment or webhook setup is safe.

getpaidskills/og-image-kit

Generates Open Graph / Twitter (X) share images for every page of a website and wires up the og:* and twitter:* meta tags, then verifies the social preview. Supports Next.js App Router (opengraph-image.tsx with next/og ImageResponse), Astro (build-time PNGs via satori + resvg) and any static site (Pillow script). Use when the user asks for OG images, social share cards, link previews, "my link looks bad on X/Slack/LinkedIn/WeChat", twitter:card, or before launching a site.

関連スキル