A collection of prompt packages and templates for the Prompd ecosystem. Use these as starting points for your own prompts, or install them directly as dependencies in your projects.
prompds/
├── @prompd/ # Official Prompd packages
│ ├── safety-evaluator/ # LLM safety evaluation toolkit
│ ├── structured-extractor/ # Structured data extraction
│ ├── batch-classifier/ # Batch classification workflows
│ ├── incident-triage/ # Incident response prompts
│ ├── webhook-transform/ # Webhook data transformation
│ ├── ci-gate/ # CI/CD quality gate prompts
│ └── base-llm-evaluator/ # Base LLM evaluation framework
└── @examples/ # Example packages and templates
├── hello-world/ # Simplest possible package (start here)
├── examples/ # Comprehensive examples (inheritance, composition, contexts)
├── core/ # Core prompt patterns
├── blog-writing/ # Blog content generation
├── csv-toolkit/ # CSV data processing
├── dog-blog-writing/ # Cross-package inheritance demo
├── asset-extraction/ # Binary file extraction (Excel, PDF, images)
├── demo-prompts/ # Demo prompts
├── code-review-skill/ # Skill package example (tools, system prompts)
└── topic-research-workflow/ # Workflow example (trigger → prompt → output)
# Install the CLI
npm install -g @prompd/cli
# Clone this repo and try the hello-world example
git clone https://github.com/Prompd/prompds
cd prompds/@examples/hello-world
# Compile to see the rendered prompt
prompd compile prompts/hello.prmd --param name="World"
# Run with a provider
prompd run prompts/hello.prmd --provider openai --model gpt-4o --param name="World"
# Install a published package from the registry
prompd install @prompd/safety-evaluator@latestPrompd files use YAML frontmatter + Markdown body with Jinja2 templating:
---
name: my-prompt
version: 1.0.0
inherits: "./base-prompt.prmd"
parameters:
- name: topic
type: string
required: true
description: "The topic to analyze"
---
# System
You are an expert analyst.
# User
Analyze {{ topic }} in depth.
{%- if analysis_depth == "comprehensive" %}
Include historical context and future projections.
{%- endif %}Inheritance -- Prompts can extend other prompts, locally or from published packages:
inherits: "./base-prompt.prmd" # Local file
inherits: "@prompd/safety-evaluator@^1.0.0/prompts/base.prmd" # PackageParameters -- Typed, validated inputs with defaults and enums:
parameters:
- name: language
type: string
enum: [typescript, python, go, rust, java, csharp]
default: typescriptContext injection -- Reference files that get compiled into the prompt:
contexts:
- "contexts/typescript-examples.ts"
- "contexts/architecture-patterns.json"Want to add your own prompts to the community collection?
- Fork this repository
- Add your
.prmdfiles following the existing patterns - Test with
prompd validateandprompd run - Submit a pull request
- Prompd CLI -- Command-line tools for compiling and managing prompts
- Prompd App -- Desktop IDE for AI workflows
- Prompd API -- API integration packages
- Prompd Docs -- Format spec, guides, and reference
- PrompdHub -- Package registry
Elastic License 2.0 (ELv2) -- see LICENSE for details.