微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

App Legal Pages

App Legal Pages · v0.1.3
安全 unknown 级 作者 chentuan7963-afk 公开目录收录
972 下载 0 安装 4.3k 收藏 1 浏览

简介

App Legal Pages

原始描述

Generate and deploy app Privacy Policy and Terms of Service static websites from an app feature document. Use when a user provides app requirements/feature d...

通过你的 Agent 添加

安装目录:app-legal-pages/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/app-legal-pages/
Codex CLI~/.codex/skills/app-legal-pages/
DeepSeek Harness~/.agents/skills/app-legal-pages/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: app-legal-pages description: Generate and deploy app Privacy Policy and Terms of Service static websites from an app feature document. Use when a user provides app requirements/feature docs and wants production-ready legal pages published via GitHub + Cloudflare Pages, including draft generation, consistency checks, and deployment-ready output URLs.

App Legal Pages

Generate a complete legal mini-site for an app:

  • index.html (legal home)
  • privacy.html (Privacy Policy)
  • terms.html (Terms of Service)
  • styles.css (shared styles)

Workflow

  1. Collect required legal/product inputs.
  2. Generate draft legal pages from feature documentation.
  3. Validate consistency and disclosure coverage.
  4. Publish via GitHub + Cloudflare Pages.
  5. Return URLs and a final deterministic review checklist.

1) Collect Inputs

Collect or confirm:

  • App name
  • Company/entity name (or individual publisher name)
  • Contact email
  • Governing law jurisdiction (country/region, optional; only if explicitly provided)
  • Effective date
  • App feature document (markdown/text)
  • Data behavior details:
    • Analytics events
    • Crash/error logs
    • Identifiers (device/user IDs)
    • Third-party SDKs/services
    • Permissions used (camera/location/photos/mic/contacts/tracking/notifications)

If facts are unknown, pause and ask for missing inputs before generation. Do not output placeholder markers (no TODO/TEMP strings in final pages). Never assume jurisdiction, region, analytics/tracking, sharing, or permission usage unless explicitly stated in the input document or user prompt. Generate policy clauses from explicit product claims first (e.g., offline-only, no cloud, no tracking, no analytics), and avoid introducing contradictory generic legal boilerplate.

2) Generate Draft Site

Run:

python3 scripts/generate_legal_site.py \
  --input /path/to/app-feature.md \
  --out ./out/legal-site \
  --app-name "Your App" \
  --company "Your Company" \
  --base-email "chentuan7963@gmail.com" \
  --email-tag "quillnest" \
  --effective-date "2026-03-03" \
  --jurisdiction "California, United States"

Email rule:

  • Prefer plus-address derivation from GitHub/base email + app tag.
  • Example: chentuan7963@gmail.com + quillnest => chentuan7963+quillnest@gmail.com.
  • Use --email only when you explicitly want a fixed address.

Language rule:

  • Generate English-only legal pages by default.
  • Exclude non-English feature bullets from Feature Context to keep language consistent.

The script auto-detects likely data categories/permissions from the feature text. Manually review and adjust output if app behavior is more specific than heuristic detection.

3) Validate Draft Quality

Check before publishing:

  • privacy.html and terms.html both exist.
  • App/company/email/effective date are consistent across pages.
  • Privacy disclosures match only explicitly stated permissions and data behavior (no inferred tracking/region claims).
  • User rights and contact/deletion request path are present.
  • No unverifiable legal claims.
  • Final pages contain no placeholder markers (forbidden: TODO/TEMP/FIXME).

If the app uses sensitive permissions or SDKs, verify these are explicitly disclosed in Privacy Policy.

4) Publish with GitHub + Cloudflare Pages

Follow references/cloudflare-github-deploy.md. For publishing this skill itself to public ClawHub, use references/publish-to-clawhub.md.

Default Cloudflare Pages setup for this static output:

  • Framework preset: None
  • Build command: (empty)
  • Build output directory: /

5) Returnables

Return:

  • GitHub repository URL
  • Cloudflare Pages project URL
  • Privacy Policy URL
  • Terms of Service URL
  • Open legal assumptions captured in plain language (without placeholder tokens)

Guardrails

  • Do not claim legal compliance guarantees.
  • Keep wording plain and readable.
  • Keep deterministic page structure for easy future edits.
  • Recommend human legal review before production app-store submission.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill