Skip to content

Repository files navigation

open-prompts

An open, browsable library of prompts for Claude and other LLMs.

Everything is public domain (CC0). Use any prompt anywhere. No attribution needed.

What this is

  • A static site built with Astro + Tailwind + Pagefind.
  • 20+ curated starter prompts across coding, writing, analysis, productivity, creative, and learning.
  • One markdown file per prompt — easy to read, easy to PR.
  • Deployed to GitHub Pages.

Quick start

npm install
npm run dev

Visit http://localhost:4321.

Project layout

src/
├── content/
│   ├── config.ts          # Zod schema for prompt frontmatter
│   └── prompts/           # One .md per prompt
├── components/            # Astro components
├── layouts/               # Base layout
├── pages/                 # Routes
└── lib/                   # Helpers
.github/workflows/         # CI/CD
public/                    # Static assets

Adding a prompt

  1. Copy prompt-template.md into src/content/prompts/<your-slug>.md.
  2. Fill in the frontmatter and prompt body.
  3. Run npm run build to make sure the schema validates.
  4. Open a PR.

See CONTRIBUTING.md for the full guide.

Scripts

Command What it does
npm run dev Local dev server with hot reload
npm run build Build the static site + Pagefind index
npm run preview Preview the production build

Deploying your own copy

  1. Fork this repo.
  2. Edit astro.config.mjs — set site to https://<your-github-username>.github.io and base to /<your-repo-name>.
  3. Push to main. The included GitHub Action builds and deploys to GitHub Pages.
  4. In Settings → Pages, set the source to GitHub Actions.

License

CC0 1.0 Universal — public domain dedication. Code, prompts, everything.

About

Public-domain library of prompts for Claude and other LLMs.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages