Skip to main content

Welcome to Prompts.dev

Prompts.dev is a registry and distribution platform for AI prompts. Think of it as npm for AI prompts — create, version, publish, install, and share prompts with the developer community.

Why Prompts.dev?

AI prompts are scattered across documentation, codebases, note apps, and chat history. There’s no version control, no sharing mechanism, no discoverability, and no standard format. Developers repeatedly rewrite the same prompts. Prompts.dev solves this by providing:

Version Control

Track changes to your prompts over time with semantic versioning

Easy Distribution

Publish prompts to a central registry and install them with a single command

Discovery

Search and explore prompts created by the community

Standard Format

Use a consistent package structure with metadata, variables, and templates

Key Features

  • Version-controlled AI prompt storage — Track and manage prompt versions with semantic versioning
  • CLI-based publishing and installation — Simple commands to publish and install prompts
  • OAuth authentication — Secure login with GitHub or Google
  • Package-based distribution — Prompts are packaged as tarballs with metadata
  • Search and discovery — Find prompts by name, description, or tags
  • Template variable support — Prompts support variables for dynamic content

How It Works

1

Create a prompt package

Use the CLI to scaffold a prompt package with metadata, template file, and documentation.
prompt init my-landing-page-writer
2

Publish to the registry

Login with GitHub or Google, then publish your prompt to the registry.
prompt login
prompt publish
3

Install and use

Anyone can install your prompt and use it in their projects.
prompt install username/my-landing-page-writer
prompt run my-landing-page-writer --var product="AI SaaS"

Quickstart

Get up and running in 5 minutes

CLI Commands

Learn all available CLI commands

API Reference

Explore the REST API

Local Development

Set up a local development environment

Platform Components

Prompts.dev consists of three main components:
  1. API Server — A Go-based REST API that manages prompts, versions, and authentication
  2. CLI Tool — A command-line interface for publishing, installing, and running prompts
  3. Object Storage — Prompt packages are stored as tarballs in S3-compatible storage
All components work together to provide a seamless experience for creating, sharing, and using AI prompts.

Build docs developers (and LLMs) love