npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

getdesign

v0.6.23

Published

CLI for installing DESIGN.md templates into projects

Readme

getdesign.md

A CLI for dropping DESIGN.md files into your project so your AI coding agent has a real design system to follow.

DESIGN.md is a single markdown file that captures a visual language (colors, type scale, spacing, components, motion) in a format that Cursor, Claude Code, v0, Lovable, Windsurf, and other agents read easily. Hand it to your agent before you ask for UI, and the output stops looking generic.

Browse the full catalog at getdesign.md.

Quick start

npx getdesign list
npx getdesign add <slug>

list shows every available template. add writes ./DESIGN.md at your project root using the slug you pick. Then tell your coding agent:

Read DESIGN.md before writing any UI. Match the tokens, type scale, and component patterns defined there.

That's the whole flow.

Install

No install needed. npx is the recommended entry point:

npx getdesign add <slug>

If you'd rather have it on your PATH:

npm install -g getdesign

Requires Node.js 18 or newer.

Commands

add <slug>

Install a template to your project root as DESIGN.md.

npx getdesign add <slug>

Slugs are listed by npx getdesign list or on getdesign.md/design-md.

If a DESIGN.md already exists at the root, the new template is saved into a nested folder (e.g. <slug>/DESIGN.md) so nothing is overwritten by accident. Use --force to replace, or --out to pick a custom path.

list

Print every available template with a one-line description.

npx getdesign list

Options

| Flag | Description | |---|---| | --force | Overwrite the existing DESIGN.md at the target path | | --out <path> | Write to a custom path instead of the project root |

Examples:

npx getdesign add <slug> --force
npx getdesign add <slug> --out ./docs/design.md

What's in a DESIGN.md?

Each template is an original, independently authored synthesis of a visual style. Inside, you'll find:

  • Color tokens: surface, ink, accent, semantic, with hex values and the role each plays
  • Type scale: display, heading, body, label sizes with line-height and tracking
  • Spacing & layout: grid, gutters, container widths, component padding
  • Component patterns: buttons, cards, navs, forms, modals, described in prose your agent can apply
  • Motion: durations, easings, hover and entrance patterns
  • Responsive strategy: how the system collapses across breakpoints

These are inspiration files, not official design systems. They're written to give AI agents a concrete style to anchor against, so your output has a point of view instead of defaulting to generic tailwind.

Browse the catalog

The full catalog with previews and the underlying markdown lives at getdesign.md/design-md.

Templates span product, marketing, dev-tool, fintech, marketplace, fashion, automotive, and consumer-electronics looks. Run npx getdesign list to see every available slug.

How to use it with your AI agent

The TL;DR: tell your agent to read DESIGN.md first.

Cursor / Windsurf / Claude Code

Add this to your project rules or system prompt:

Before writing or changing any UI in this project, read DESIGN.md at the root. Match the tokens, type scale, spacing, and component patterns defined there. Treat it as the source of truth for visual decisions.

v0 / Lovable / Bolt

Paste the contents of DESIGN.md at the start of your prompt, or upload it as a reference file. Then describe the screen you want.

ChatGPT / Claude (web)

Attach DESIGN.md to the conversation and reference it: "Using the design system in the attached file, build a pricing page..."