Download Latest Version v13.2.0 -- extraction depth pass source code.zip (15.3 MB) Google Add to Preferred Sources
Home / v12.14.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-17 2.8 kB
v12.14.0 -- real PDFs everywhere + one-shot agent prompt source code.tar.gz 2026-05-17 11.2 MB
v12.14.0 -- real PDFs everywhere + one-shot agent prompt source code.zip 2026-05-17 11.4 MB
Totals: 3 Items   22.6 MB 2

Every extraction now produces a real downloadable PDF and a one-shot prompt any AI can paste.

Two themes this release: real print-ready PDFs (not just HTML) and a self-contained agent prompt that drops into Claude / GPT / Gemini / Cursor / Windsurf / v0.

`--pdf` flag in the main `extract` command

```bash npx designlang stripe.com --pdf npx designlang stripe.com --pdf --paper letter --landscape ```

Output: `<host>.brand.pdf` (~440KB). 13 chapters, chapter bookmarks, running footer with page numbers, embedded fonts, selectable text. The brand-book HTML is always written (~50KB, cheap) so you can browse locally and pick PDF on demand.

One-shot agent prompt — `<host>-AGENT.md`

A single ~4KB system prompt that drops into any AI agent. Includes:

  • Brand at a glance — intent, material, library, design grade
  • Colour roles + neutrals with hex
  • Typography families + weights + base size
  • Spacing / radii / motion scales
  • Voice — tone, pronoun stance, heading style, CTA verbs, real headlines
  • Component anatomy — variants and slots per detected component
  • WCAG score + failing-pair count
  • 7 build rules ('Never invent a hex', 'Snap spacing to scale', etc.)
  • Manifest of every other companion file designlang produced

``` [paste contents of stripe-com-AGENT.md]

Now build a pricing page with 3 tiers. ```

The agent has every constraint up front. UI it produces stays on-brand without prompt babysitting.

Server-side PDF endpoint

`GET /api/pdf/<hash>` renders the cached extraction's brand book to PDF via the same Browserless / Chromium path as `/api/extract`. Cached 1h on CDN edge with 24h stale-while-revalidate.

Website UI

  • `/gallery/[slug]` hero CTA is now `Download brand book PDF` (static, pre-rendered)
  • New full-width 'Agent prompt' section on every brand page with a `Copy NN.NKB prompt` button
  • Post-extraction share row on the homepage extractor gains `Download brand PDF` and `Copy agent prompt`

Pre-rendered static assets

All 8 featured brands (stripe / linear / vercel / notion / figma / apple / arc / spotify) re-extracted with the new emitters. Their `.brand.pdf`, `AGENT.md`, `reset.css`, `gradients.css/json`, `tokens.d.ts` and `tailwind-v4.css` are all committed.

Install

```bash npx designlang@latest stripe.com --pdf ```

🤖 Built with Claude Code.

Source: README.md, updated 2026-05-17