About PromptIndex

PromptIndex is an open-source library of prompt templates designed to help developers get better results from large language models. Every prompt is tested, documented, and ready to customize.

34
Templates
8
Categories
3
Models
102
Tags

How to Contribute

PromptIndex is community-maintained. Contributions are welcome via pull requests to the GitHub repository.

  1. Fork the repository on GitHub
  2. Add your prompt template to src/data/prompts.ts
  3. Follow the PromptTemplate interface
  4. Submit a pull request with a description of the prompt and what it does

What Makes a Good Prompt Template

Specific and actionable. The prompt should produce useful output with minimal customization. Vague instructions produce vague results.

Well-structured output. Define the expected output format clearly. Use sections, lists, tables, or code blocks so the response is easy to scan.

Customizable via variables. Use {{variable}} placeholders for parts that change between uses: language, framework, context, data.

Model-agnostic when possible. Good prompts work across multiple models. Note model-specific features if used.

Tested with real inputs. Every template should have been used with actual data to verify it produces the expected quality and format.

License

PromptIndex is open source. All prompt templates are available under the MIT License for any use, including commercial.