Community生产力与协作github.com

getpaidskills/launch-checklist

对网站或SaaS进行上线前审计——检查SEO标签、robots.txt、sitemap.xml、favicon、404状态、HTTPS重定向、法律页面、图片alt文本、页面权重和响应时间,以及支付自检(Webhook签名、原始请求体、幂等性、退款、密钥、成功页面授权),然后列出问题并在代码库中修复它们。附带一个无依赖的爬虫脚本(audit_site.py),生成通过/警告/失败报告。

launch-checklist 是什么?

这个技能旨在帮助开发者在将网站或SaaS产品上线前进行全面的审计,确保其达到生产环境标准。它自动检查SEO标签(如标题、描述、规范链接、语言声明和Open Graph),验证robots.txt和sitemap.xml的正确配置,确认favicon和apple-touch-icon的可访问性,测试404状态码、HTTPS重定向、法律页面(隐私政策、条款、退款)的存在性、图片alt文本,以及页面权重和响应时间。此外,它还包含一个支付自我检查功能,用于扫描代码库中的Webhook签名验证、原始请求体处理、幂等性实现、退款逻辑、密钥泄露和成功页面授权问题。该技能兼容Next.js(App Router)和通用HTML/其他框架,提供针对性的修复方案。用户只需运行一次爬虫脚本,技能就会生成详细的通过/警告/失败报告,并指导用户逐步修复代码中的问题,然后重新运行直至干净。最后,它还会引导用户完成脚本无法验证的手动检查项(如分析工具、错误跟踪、邮件可送达性、支付端到端测试、备份、域名续费等)。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/getpaidskills/skills/tree/HEAD/skills/launch-checklist

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

launch-checklist 是做什么的?

运行自动审计,修复代码中失败的部分,重新运行直到干净,然后逐项检查脚本无法检测到的手动项目。向用户报告你更改的内容以及仍需他们处理的部分。

第1步 — 运行审计

针对生产环境的URL(如果存在),否则针对本地生产构建(npm run build && npm start,不要用开发服务器——开发服务器会添加脚本并跳过缓存):

python3 scripts/audit_site.py https://example.com            # 文本报告
python3 scripts/audit_site.py http://localhost:3000 --max-pages 30 --json > audit.json

检查内容(详情见 references/checks.md):

  • 每个页面:<title>(10–60个字符)、meta描述(50–160字符)、恰好一个<h1>、<html lang>、视口、规范链接(绝对路径,同主机)、og:title/description/image、twitter:card、缺少alt属性的<img>、HTML大小、响应时间、你可能希望索引的页面上的noindex、跨页面的重复标题/描述。
  • 网站:/robots.txt存在且没有Disallow: /所有内容,并引用了一个sitemap;/sitemap.xml(或robots中指定的文件)可解析且其URL在相同主机上返回200;favicon可访问;apple-touch-icon;一个随机URL返回404(而不是200或重定向到首页);http→https重定向(针对https站点);链接到隐私政策/条款(如果网站销售商品,还需退款政策);/llms.txt存在(仅提供信息)。

当有任何FAIL时退出码为1。爬取页面:起始URL + 同主机链接,最多--max-pages(默认20)。

第2步 — 在代码库中修复

检测框架并使用匹配的修复方案。对于Next.js App Router,references/fixes-nextjs.md提供了可用的robots.ts、sitemap.ts、not-found.tsx、metadata、图标约定。通用HTML/其他框架:references/fixes-generic.md。

规则:

  • 修复根本原因(共享布局/元数据辅助函数),而不是逐个页面修复,当问题重复出现时。
  • 未经询问,永远不要添加noindex或阻止爬虫。
  • 缺少法律页面:如果已安装legal-pages技能,则生成它们;否则告知用户——不要内联捏造法律文本。
  • 缺少OG图片:如果已安装og-image-kit技能,则使用它。

第3步 — 重新运行直到无FAIL

重新运行相同的命令。WARN项:修复容易修复的,其余列出给用户。

第4步 — 手动项目(脚本无法验证)

与用户一起检查references/manual-checklist.md——分析工具是否安装、错误跟踪、事务性邮件可送达性(SPF/DKIM/DMARC)、支付流程是否通过实际小额支付进行端到端测试、备份、正常运行监控、Search Console / Bing Webmaster验证和sitemap提交、域名续费状态。将每项标记为已完成/不适用/用户自行处理。

第4b步 — 支付自检(如果网站收款)

python3 scripts/payment_check.py --src . --provider creem          # 代码扫描
python3 scripts/payment_check.py --url http://localhost:3000        # 探测正在运行的构建
python3 scripts/payment_check.py --url http://localhost:3000 --secret "$CREEM_WEBHOOK_SECRET"  # 仅测试模式密钥

FAIL:Webhook接受未经签名或伪造的请求、在验证前解析JSON、未基于事件ID去重、成功页面授权访问、支付密钥出现在NEXT_PUBLIC_*或被提交、Webhook重定向或位于机器人挑战之后。修复它们,重新运行,然后执行references/payment-checks.md中的手动卡测试(成功卡、拒绝卡、退款、仪表盘重发、取消)。永远不要传递生产环境的Webhook密钥。scripts/test_payment_check.py是该脚本自身的测试。测试、规范和fixture文件(*.test.ts、*.spec.tsx、test_*.py、任何位于tests/、e2e/、__tests__/、fixtures/下的内容)不被视为处理器或成功页面,因为它们有意发送未经签名的请求并插入行;但它们仍会被扫描是否提交了生产环境的密钥。报告会说明跳过了多少个(INFO test files)。

报告格式

<url>的上线审计 — <日期>
FAIL已修复:…   (文件:行号修改)
WARN已修复:…
仍待处理(需要您处理):…
手动检查清单:x/y 已完成

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/legal-pages

Drafts a Privacy Policy, Terms of Service and Refund Policy for a SaaS, digital product or website from a short questionnaire, adapted to the payment provider (Creem, Paddle, Lemon Squeezy as Merchant of Record, or Stripe/direct) and to where users are (EU/UK GDPR, California CCPA/CPRA, China PIPL notes), then renders them as Markdown, HTML or Next.js pages and links them in the footer. Output is a starting template, NOT legal advice - the user must review it and have it checked by a qualified lawyer. Use when the user needs privacy policy, terms, refund policy, legal pages, or a payment provider (Paddle/Creem/Lemon Squeezy/Stripe) review asks for them.

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.

相关技能