Legal Sweep
Audits a site for a legal disclaimer page + footer link; creates and wires up if missing.
Entry verified April 20, 2026
The short answer
Every affiliate/content site needs a disclaimer, privacy policy, and (depending on geography) cookie notice. This skill audits the state and fills gaps — stack-aware, so it works on Next.js, Astro, and WordPress.
When to use it
On every new site before public launch. When adding affiliate links to an existing site. Annually for compliance drift.
Setup
- 1
Save as ~/.claude/commands/legal-sweep.md.
- 2
Configure: site template detection (Next.js pages router vs Astro vs WP).
- 3
Invoke: /legal-sweep.
Example
You: /legal-sweep Claude: Disclaimer page ✓. Footer link ✗. Adding <Link href=/legal-disclaimer> next to privacy policy. Committed.
Source & attribution
- Author
- Bryan Collins
- Licence
- MIT
- Type
- Original
Original pattern published under MIT — attribution preserved by convention, not licence requirement.
Caveats
Not legal advice. A disclaimer template ≠ bespoke legal review. Use for hygiene, not stakes-worthy compliance.
Browse more skills
47 skills across 10 categories, all licence-verified.