An AI builder gives you a good looking site in an afternoon and skips the boring part: the privacy policy, the cookie banner, the refund terms, the alt text. This is one prompt that has Claude draft those pages and check the rest of the site, plus the checklist behind it. Claude does the first pass. A lawyer for your country reads it before you rely on it.
Works best in Claude Code, opened in your site's project folder. Laws and rules checked in October 2026. General information, not legal advice.
Claude Code in your site's folder is the best fit: it can read every file, find every tracking script and make the changes. Built the site in an online builder? Sync it to GitHub and open that folder.
Commit or duplicate the project before you start. The prompt touches pages, forms, the footer and the scripts, so keep a clean way back.
Your legal name, where you are based, where your customers are, what you sell and how people pay and a contact email. Where your customers are decides which laws apply. If you do not know something, leave the bracket: Claude marks it [TO CONFIRM] instead of guessing.
The prompt tells Claude to show each change and wait for your OK. Twelve small reviews are easier than one giant change at the end.
| STEP | WHAT CLAUDE DOES | WHY IT MATTERS |
|---|---|---|
| 1. Privacy Policy | Writes it from what your code actually collects and who it shares it with. | California's CalOPPA requires one on any commercial site that collects personal information from Californians, whatever its size. GDPR and Brazil's LGPD list what it must say. |
| 2. Terms | Drafts the rules of using your site and buying from you. | Often not required by law, but it is where your refund, liability and dispute rules live when something goes wrong. |
| 3. Cookies and banner | Lists every cookie and tag, decides if you need a banner, blocks trackers until Accept. | In the EU, cookies that are not strictly necessary need consent first, and a box ticked in advance does not count. In the UK, since February 2026, analytics used only to improve your own site can run without it if you say so and offer an opt out. Ad tracking still needs it. |
| 4. Refunds | Writes the policy and puts it next to the buy or book button. | Stripe requires refund, cancellation and contact details on your site. EU shoppers get 14 days to withdraw, and since 19 June 2026 a "withdraw from contract" button. |
| 5. Forms | Cuts extra fields, links the policy, adds a separate unticked box for marketing. | GDPR says collect only what you need. Consent to marketing has to be an active choice, not a box ticked for the visitor. |
| 6. Tracking and embeds | Lists every pixel, script and embed, what it collects and if it needs consent. | A tracker you never disclosed is the classic privacy problem. In California, sites have been sued over pixels and chat widgets under the state's wiretap law. A German court awarded damages over Google Fonts loaded from Google. |
| 7. Accessibility | Alt text, contrast, keyboard use, labels, clear buttons, captions. | US website accessibility lawsuits run in the thousands a year, 1,037 in the first quarter of 2026 alone, and the same barriers come up again and again: missing alt text, low contrast, forms you cannot use with a keyboard. The FTC made an overlay widget maker pay $1 million for claiming its tool made sites compliant. |
| 8. Reviews and claims | Removes reviews you cannot trace and claims you cannot prove. | The FTC's rule on reviews (since October 2024) bans fake reviews, AI written ones included, with penalties of up to $53,088 per violation. The FTC also expects proof before you make an objective claim. |
| 9. Business details | Shows who runs the site and how to reach you. | EU and UK rules ask business sites for the name, a geographic address, an email and, where you have them, company and VAT numbers. |
| 10. Images | Flags images, fonts and icons that may not be yours. | In the US, a court can award up to $30,000 per work used without permission, and up to $150,000 if the copying was willful. |
| 11. Your local law | Matches the pages to the laws where you and your customers are. | GDPR also covers non EU businesses that sell to or track people in the EU. California's CCPA mainly applies from $26.6 million in yearly revenue or data on 100,000 Californians, and about 20 US states have similar laws. India's DPDP rules apply in full from May 2027. |
Does it name every tool you pay for or log into, like Google, Meta, Stripe or your email tool? If not, tell Claude.
Open the browser's developer tools on the Network tab, click Reject and reload. You should see no requests to google-analytics.com or facebook.com/tr.
Use only Tab and Enter on your homepage and main form. You should always see where you are.
Those are the facts Claude would not guess. Fill them in, then send everything to your lawyer.
Review the pages whenever you add a new tool, and at least once a year.
| DO THIS TODAY | LEAVE OUT |
|---|---|
| Run the prompt on a copy of your site and approve each step. | Copying another company's privacy policy. It describes their tools, not yours. |
| Delete fake reviews and claims you cannot prove. That needs no lawyer. | An accessibility overlay widget. It does not fix the site underneath. |
| Fix the alt text, contrast and keyboard issues Claude found. | A banner with a hidden or greyed out Reject button. |
| Book the lawyer review and send Claude's summary ahead. | Publishing [TO CONFIRM] placeholders on the live site. |
~/.claude/skills/legal-check/SKILL.md,
and next time you type /legal-check in any project and fill in the brackets.