/hardening:legal-docsfrom hardening
Draft or review the customer-facing legal documents of a small SaaS - Terms of Service, Privacy Policy, refund policy, and acceptable use policy - in plain English, with placeholders instead of invented facts, a check that every claim matches what the product actually does, and a not-legal-advice notice on every draft. Use when asked to "write terms", "draft a privacy policy", "update our ToS", "write a refund policy", or before launching a product or feature that changes what data is collected or how billing works.
Ships in hardening. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Not legal advice. This skill produces drafts and review notes, not legal advice, and it is not a substitute for a lawyer. Laws differ by country and state and change over time. Have a qualified lawyer in the relevant jurisdictions review every document before it is published or relied on.
A method for drafting and reviewing the four documents a small SaaS usually needs, so they are readable, specific to the product, and do not claim more than the product does. Generic templates miss what is particular to a product: what it collects, who processes it, how billing and refunds really work, what users may not do. The most dangerous error in these documents is not bad wording. It is a confident statement about the product that is false.
If the repository defines its own legal-docs skill, follow that one instead.
Map the product's legal surface from evidence, before drafting anything. For each item, note where the answer came from (code, configuration, a vendor contract, the owner):
privacy-audit skill's inventory if one exists; do not re-derive it from the existing policy.Decide which documents are needed, and keep them separate. They answer different questions for different readers at different times:
Identify which laws plausibly apply, and say so as a question for the lawyer, not a conclusion. Examples of what to raise, with the primary source:
Draft in plain English. Short sentences, active voice, and headings a customer would search for ("Can I get a refund?", not "Section 7(b): Remuneration Reversal"). No "heretofore", no "party of the first part".
Use placeholders for facts you do not have. [COMPANY_LEGAL_NAME], [COMPANY_ADDRESS], [GOVERNING_LAW], [DISPUTE_VENUE], [PRIVACY_CONTACT_EMAIL], [RETENTION_PERIOD_FOR_X]. Mark each for the owner to fill in. Never guess a jurisdiction, an entity type, or a retention period.
Review for overclaiming. Check every factual sentence against the evidence from step 1. Watch for:
pricing-review skill, if installed, holds any grandfathering promises.Put the notice on every draft. At the top and bottom of each document:
Draft for review. This is not legal advice and has not been reviewed by a lawyer. Have it reviewed by qualified legal counsel in the relevant jurisdictions before publishing or relying on it.
Request: "Write a privacy policy for our scheduling app before launch."
[COMPANY_LEGAL_NAME], [PRIVACY_CONTACT_EMAIL], [RETENTION_PERIOD_FOR_ACCOUNT_DATA].The requested drafts (or one revised section for an update) as Markdown, plus a short list of open questions for the lawyer and gaps found between the documents and the product. Keep drafts out of the live site until a lawyer has reviewed them.
privacy-audit skill checks the practices).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stylusnexus/agent-plugins --plugin hardening12 skills in this plugin
/agent-tooling-reviewUse when connecting, auditing, or widening the permissions of tooling an AI agent can call: MCP servers, plugins, skills, database or GitHub connections, API tokens issued to an agent, or an agent that will run unattended (scheduled, looped, event-triggered, background, CI). Triggers: a new MCP or plugin is about to be added, an agent needs write access it did not have, a connection points at production, an unattended job is being set up, or a tool's description changed after approval./auth-hardeningNextAuth v5 security audit and hardening checklist — session/cookie config, CSRF, OAuth scopes, per-route role checks, password-reset/OTP rate limits, secret rotation, session invalidation on privilege change. Use when adding auth to a new product, auditing an existing NextAuth v5 app, or reviewing any PR that touches session/role/permission code./exposure-scanScan installed packages against bumblebee threat-intelligence exposure catalogs to detect known-compromised dependency releases from supply-chain campaigns. Use when checking for compromised packages, running a supply-chain or dependency security scan, auditing the machine after a reported npm/PyPI/Go/gem/extension compromise, or refreshing threat-intel catalogs./llm-app-securityUse when a product feature sends untrusted content to a language model or lets a model call tools, write data, send messages, or render output to other users. Triggers: a new chat, RAG, summarization, agent, or tool-calling feature; a model that reads web pages, documents, emails, tickets, or other users' text; a 'can prompt injection reach this' question; a pre-launch review of anything with an LLM in the request path; or an incident where a model did something nobody asked for./privacy-auditData inventory and privacy audit for a product — enumerate exactly what user data is collected and where it lands (Neon/Supabase tables, logs, PostHog, Stripe, email provider, Better Stack/Sentry), check alignment with the privacy policy, verify GDPR export/delete paths exist, and grep for PII leaking into logs or API responses. Use when asked to "audit privacy," "check what data we collect," before a launch, or after adding a new data-collecting feature (signup field, analytics event, webhook)./rate-limit-auditPre-launch gate that inventories every endpoint calling a paid API (LLM, email, SMS) and every auth endpoint, verifies a rate limiter exists, and actually tests it with scripted burst requests to confirm 429s fire. Use before launching a new product/feature, after adding an LLM-calling or auth route, or when asked to check rate limiting.