← Resources · One Pager · Tool Breakdown Checked Against The Repo · Oct 16, 2026
For Solo Founders & Vibe Coders

Legal Templates

You built the app in a weekend. Then the App Store asks for a privacy policy URL, a partner wants an NDA before the call, and your first business customer sends over a contract. The startup law firm General Legal has put 12 of its templates on GitHub for free, in markdown your AI agent can read and fill in from your codebase.

How To Use This Page

Check All 12 to see which ones you need now. Four Jobs has prompts to paste. Read Before You Publish before anything goes live or gets signed.

3.1k
GitHub Stars
12
Attorney-Drafted Templates
$0
CC0, No Attribution Needed
What It IsFour JobsAll 12Get ThemBefore You Publish
What It Is

A Startup Lawyer's Templates, In A Repo

▶ General-Legal/legal-templates
3.1k
★ 3,118 StarsCC0 · Markdown + .docx
In One Paragraph

Twelve documents written by the attorneys at General Legal, PC, for startups and tech companies: terms, privacy policies, NDAs, a services agreement and more. Each one comes as a clean markdown file and the original Word file. The parts you change are wrapped in <mark> tags, so your agent knows exactly what to fill in and what to leave alone. CC0 means you can copy, edit and publish them without asking or crediting anyone.

TermsPrivacyCookiesNDAMSADPA
Why.It.Helps✣

Most solo founders fill these pages one of three ways, and none of them is great:

  • Copy another startup's terms, and publish their promises about data, not yours.
  • Ask a chatbot to write one from nothing, with no lawyer behind the wording.
  • Leave the footer link going to a 404 until someone asks.

Here the legal text is written by lawyers, and the only bits your agent touches look like this: [Company Name].

What It's Good For

Four Jobs For A Solo Founder

Paste these into Claude Code, Cursor or any agent that can read your project and fetch a URL. Swap in your own names.

01 · Launch.Pages

Terms, privacy and cookies, written from your actual code.

A privacy policy is a list of promises about your app. Your agent can read the code and see what you collect and where it goes, then fill the template to match.

Paste Into Your Agent
Read the Terms of Use, Privacy Policy (U.S.) and Cookie Notice templates in https://github.com/General-Legal/legal-templates. Then go through my codebase and list every piece of personal data I collect, every third-party service it goes to (analytics, payments, auth, email, error tracking) and every cookie or tracker. Use that to fill in the <mark> fields, delete the optional sections that don't apply, and add /terms, /privacy and /cookies pages linked from the footer. Don't reword the unmarked text. List anything you had to guess as questions for me.
Uses: Terms · Privacy (U.S.) · Cookies
02 · NDA.Before.A.Call

Have an NDA ready before they ask for one.

Mutual when you both share things, one-way when only you do. Fill the blanks in two minutes, not two days.

Paste Into Your Agent
Fill in the Mutual NDA from https://github.com/General-Legal/legal-templates (templates/mutual-nda/template.md) between [my company] and [their company], for talks about [topic]. Fill only the blanks and leave every other word as it is. Then tell me in three plain sentences what each side is agreeing to and how long it lasts.
Uses: Mutual NDA · One-Way NDA
03 · First.Advisor

Turn a handshake into equity on paper.

The advisor agreement covers their time, their options, vesting, and that anything they make for you belongs to you. The prompt makes you decide the numbers, not your agent.

Paste Into Your Agent
Fill in the Advisor Agreement from https://github.com/General-Legal/legal-templates for [advisor name], who will help with [area]. Don't pick any numbers yourself. List every term I still need to decide (shares, vesting months, the non-compete field, dates) with one plain sentence on what each one means, and leave those blank.
Uses: Advisor Agreement
04 · First.B2B.Customer

Send a contract instead of waiting for theirs.

Whoever sends the first draft sets the terms. Start from a services agreement written for the software company, plus the data addendum their security team will ask for.

Paste Into Your Agent
Read the Master Services Agreement and the U.S. Data Processing Addendum in https://github.com/General-Legal/legal-templates. My customer is [company] and they're buying [what I sell] for [price]. Fill in the <mark> fields, then write a one-page plain-English summary of what I'm promising: payment terms, the liability cap, how I handle their data, and how either side can end it. Flag anything I should get a lawyer to check.
Uses: MSA · DPA (U.S.)

Re-run job 01 when you add a tool. New analytics, a new email provider or a session recorder means your privacy policy is out of date.

What's In The Repo

All 12, And When You Need Each

The green ones are for launch day: anything with a website or signup needs them. The rest you pick up as the business does.

01Terms Of UseThe rules for using your site: accounts, what people can't do, liability limits, arbitration.Launch
02Privacy Policy (U.S.)What you collect, why, and who gets it. Covers CCPA/CPRA and the other state privacy laws.Launch
03Privacy Policy (GDPR)Use this one instead of 02 if you have users in the EU or UK.Launch
04Cookie NoticeWhich cookies, pixels and trackers you run, and how people turn them off.Launch
05Mutual NDABoth sides share confidential information while you explore a deal or partnership.Deals
06One-Way NDAOnly you share: a contractor seeing your code, a pilot customer seeing your roadmap.Deals
07Advisor AgreementAdvice in return for stock options, with vesting, IP assignment and confidentiality.Team
08Offer LetterYour first hire. Written for salaried (exempt) employees in California.Team
09Master Services AgreementThe main contract when you sell software, a platform or integration work to a business.B2B
10DPA (U.S.)What you're allowed to do with a customer's personal data. Bigger customers will ask for one.B2B
11DPA (Global)The same, for customers with data from the EU/EEA, UK or Switzerland.B2B
12BAARequired under HIPAA if your product handles health data for a clinic, insurer or health company.Health

Both DPAs and the MSA are written from the provider's side, which is your side if you're the one selling the software. If a customer sends you their own paper instead, these are still useful to compare against.

Where To Get Them

Get Them: Nothing To Install

Free on GitHub at General-Legal/legal-templates. Your agent can read them straight from the repo, or you can keep a copy next to your code.

1 · Point
Any template, as raw markdown
https://raw.githubusercontent.com/General-Legal/legal-templates/main/templates/privacy-policy-us/template.md

Swap privacy-policy-us for any folder name in the repo. Give the link to your agent with one of the prompts above.

2 · Or Clone
Keep all 12 locally
git clone https://github.com/General-Legal/legal-templates

Each folder has the template, and most have a README on when to use it.

3 · Word Files
For lawyers and the other side

The docx-originals/ folder has the original Word files. Send those when someone wants tracked changes.

View On GitHub ↗General Legal ↗
Before You Publish

Four Things Worth 30 Seconds

Note 01

A template isn't a lawyer.

Each file says it isn't legal advice and doesn't make General Legal your lawyer. For launch pages and NDAs, a careful fill-in is fine. Before you sign a big contract or hand out equity, pay for an hour of review.

Note 02

Your policy has to match your app.

If the policy says you don't share data and your app sends it to an analytics tool, the policy is the problem. Have your agent check the code, not your memory, and re-check when you add a service.

Note 03

Check the defaults.

The terms use California law and include binding arbitration. The offer letter is written for California. The GDPR policy assumes a U.S. company with no office in the EU or UK. Change what doesn't fit you.

Note 04

Keep the footnote if you can.

CC0 means you don't have to credit anyone. General Legal still asks you to keep their short credit footnote when you reuse a template. It costs you nothing.

Free Under CC0

Ship The Boring Pages Today.

Know a founder whose privacy link still goes to a 404? Send them this page.

Follow @davecto Agent Reach ▶
Sources

Everything here comes from the legal-templates README, the templates themselves and the GitHub API, checked Oct 16, 2026. This page isn't legal advice, and neither are the templates. Laws change, so check the repo for updates.

TGVnYWwgVGVtcGxhdGVzIC0gc2hpcCB0aGUgYm9yaW5nIHBhZ2VzIHRvZGF5LiAtIE9jdCAxNiwgMjAyNg==