Scaffold skill
Legal Pages Scaffold
draft, under review3 phases2 bundled files
The four pages people forget until Google, AdSense, or a payment processor blocks them: Privacy, Terms, Disclaimer, Refunds, and Data Deletion, built from one shared layout and one config module instead of five hand-copied pages.
/plugin marketplace add Selwynuy/selwynuy /plugin install selwyn-handbook@selwyn-handbook # then run: /selwyn-handbook:legal-pages-scaffold
Or read it as SKILL.md.
When it activates
Use this skill when starting a new project with no legal pages, adding paid subscriptions, or when the product touches a regulated or official-sounding domain and needs a stated no-affiliation line.
The workflow
Scan
Run the scan script over the project to find which of the five legal routes exist, whether they share one layout component, whether the footer links to them, and whether payment or billing evidence exists without a matching Refunds page.
Scaffold
Build the missing pages from one shared layout component and one site-config module, so the brand name, legal entity, canonical URL, and contact email are never hardcoded into a page body.
Wire and disclose
Link all five pages from the global footer, not just from each other, and if the product sits next to a regulated or official-sounding name, state the no-affiliation line in the footer itself, since organic traffic lands on content pages, not /legal.
What ships in the bundle
- scriptscripts/scan-legal.mjsScans the project for the five legal routes, a shared layout component, footer wiring, payment evidence without a Refunds page, and per-page metadata and update dates, flagging gaps for review.
- referencereferences/legal-pages-checklist.mdWhich of the five pages applies and when, the shared-layout and site-config pattern, the no-affiliation placement, and the trust note on keeping claims true as the product changes.
1 run, the rest load on demand.