Skip to content
SkillModel-led1,812 tokens in use

legal-pages

Draft privacy, terms and cookie pages from what the code collects, stores and sends, hold them to the code with a test, and leave facts and approval to the owner.

680 stars on the repository MIT Licensephuryn/product-engineering · app-stack/skills/legal-pages
claude plugin install app-stack@product-engineering
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing legal-pages costs

47tokens idle
1,812tokens in use
1,947tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure19/25
  • Examples0/15
  • Output10/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance100
  • Community44
  • Maturity4
  • Momentum40

This skill drafts legal pages from an inventory of the code: what is collected and from whom, where it is stored and for how long, which providers it reaches, and what a visit stores in the browser. A unit test fails when the code reaches a provider the pages do not name.

The method keeps legal text true to the product. It is not legal advice: the owner supplies the legal identity, contact details, provider agreements and retention periods, and approves the full text before any stranger sees it.

What You Get

  • Ten binding rules, from matching every sentence to code through to public pages that read no session
  • An inventory method that draws on the schema, CSP origins, tables, browser storage and jobs
  • A unit test that pins the policy’s provider list to what the code reaches
  • A consent and cookie disclosure procedure for non-essential tags
  • A list of seven facts and approvals only the owner can give

Common Use Cases

  • Writing a privacy policy and terms for a new SaaS before its first sign-up
  • Adding analytics and updating the policy in the same change
  • Turning on sign-up consent in the identity provider
  • Checking that pages promise no deletion that no job performs

What Makes It Unique

Pages are derived from the code and held to it by a test, not copied from a template. It refuses promises the code cannot keep: no retention period without a job that enforces it, no analytics tool named before its tag exists, and no unbuilt capability sold until it runs.

Under The Hood

The skill is instructions with a short receipts file and no scripts. Following it, the agent reads the product’s code, schema, content security policy and browser storage, may run a browser test that reads cookies and storage after each public page, and writes the legal pages, footer links and a unit test into the repository. It reaches nothing outside the repository. The owner supplies identity, contact and provider facts by hand.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers