A community-driven repository for creating, testing, and optimizing prompts across leading AI models (GPT, Gemini, Claude, etc.).
Build a structured, scalable framework for prompt engineering with 200+ high-performing, well-documented prompts that anyone can use, test, and improve.
- π Standardized Schema: All prompts follow a consistent JSON format
- β Automatic Validation: Built-in validator ensures quality and consistency
- π οΈ CLI Tools: Easy-to-use commands for creating and managing prompts
- π CI/CD Pipeline: Automated testing and validation on every commit
- π Multi-Model Support: Test and compare responses across different AI models
- π Scoring System: Evaluate prompts on clarity, accuracy, creativity, and more
- π Comprehensive Docs: Guides for contributing, evaluation, and best practices
# Clone the repository
git clone https://github.com/AlenJoseph/ai-prompt-lab.git
cd ai-prompt-lab
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt# Interactive prompt creator
python core/cli.py create
# Or manually create a JSON file following the schema# Validate all prompts
python core/cli.py validate
# Validate specific category
python core/cli.py validate prompts/education/# List all prompts
python core/cli.py list
# Filter by category
python core/cli.py list -c coding
# View statistics
python core/cli.py statsai-prompt-lab/
β
βββ core/ # Core tools and utilities
β βββ prompt_schema.json # JSON schema definition
β βββ prompt_validator.py # Validation engine
β βββ cli.py # Command-line interface
β
βββ prompts/ # Categorized prompts
β βββ education/ # Learning & teaching prompts
β βββ creative/ # Writing & creative prompts
β βββ productivity/ # Work & efficiency prompts
β βββ coding/ # Programming prompts
β
βββ docs/ # Documentation
β βββ SETUP.md # Installation guide
β βββ PROMPT_GUIDE.md # How to write prompts
β βββ EVALUATION_GUIDE.md # Scoring criteria
β βββ CONTRIBUTING.md # Contribution guidelines
β
βββ tests/ # Unit tests
β βββ test_validator.py
β
βββ .github/workflows/ # CI/CD automation
β βββ validate.yml
β
βββ requirements.txt # Python dependencies
- Setup Guide - Installation and configuration
- Prompt Guide - Writing effective prompts
- Evaluation Guide - Scoring and testing
- Contributing Guide - How to contribute
All prompts follow this standardized JSON format:
{
"id": "category-###",
"title": "Descriptive Title",
"category": "education|creative|productivity|coding",
"goal": "What this prompt achieves",
"prompt": "The actual prompt text with {variables}",
"variables": ["variable1", "variable2"],
"tags": ["relevant", "tags"],
"models_tested": ["gpt-4", "claude-3"],
"responses": {
"gpt-4": "Model response here",
"claude-3": "Model response here"
},
"score": {
"clarity": 5,
"accuracy": 5,
"creativity": 4,
"effectiveness": 5,
"reusability": 5
},
"last_updated": "2025-10-10"
}We welcome contributions! Here's how:
- Fork the repository
- Create a new prompt following our schema
- Validate using
python core/cli.py validate - Test the prompt with AI models
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
- Total Prompts: 10+
- Categories: 4 (Education, Creative, Productivity, Coding)
- Models Tested: GPT-4, Claude-3, Gemini Pro
- Contributors: Growing!
- Core schema and validator
- CLI tools
- CI/CD pipeline
- Initial documentation
- Sample prompts (10+)
- Reach 50 prompts
- Web interface for browsing prompts
- Advanced analytics and comparison tools
- Model-specific optimization guides
- API for programmatic access
- Reach 200+ prompts
- User ratings and feedback system
- Prompt versioning and history
- Integration with popular AI tools
- Automated prompt testing
- Community leaderboard
This project is licensed under the MIT License - see the LICENSE file for details.
- All contributors who have added prompts and improvements
- The AI community for prompt engineering best practices
- Open source projects that inspired this work
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: alenjoseph333@gmail.com
Star β this repository if you find it helpful!
Made with β€οΈ by the AI Prompt Lab community