Skip to content

Lullabot/prompt_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Library

A collection of AI prompts, rules (guidelines for development environments), project configurations, and workflow states across different disciplines. Built with 11ty and hosted on GitHub Pages.

Screenshot of the Prompt Library showing the Development AI Prompts page

Features

  • Clean, modern design
  • Responsive layout
  • Easy navigation
  • Search functionality
  • Content categorization by discipline
  • Markdown support

Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • Git

Installation

  1. Clone the repository
git clone https://github.com/yourusername/prompt-library.git
cd prompt-library
  1. Install dependencies
npm install
  1. Start the development server
npm start
  1. Build for production
npm run build

Project Structure

├── _data/              # Global data files
├── _includes/          # Includes and partials
├── _layouts/           # Page templates
│   ├── base.njk        # Base layout
│   ├── discipline.njk  # Discipline-specific layout
│   └── content-type.njk # Content type layout
├── assets/             # Static assets
│   ├── css/           # Stylesheets
│   ├── js/            # JavaScript files
│   └── images/        # Image assets
├── development/        # Development discipline content
│   ├── prompts/       # Development prompts
│   ├── rules/  # Development rules
│   ├── project-configs/ # Development project configs
│   └── workflow-states/ # Development workflow states
├── project-management/ # Project Management discipline content
│   ├── prompts/
│   ├── rules/
│   ├── project-configs/
│   └── workflow-states/
├── sales-marketing/    # Sales & Marketing discipline content
│   ├── prompts/
│   ├── rules/
│   ├── project-configs/
│   └── workflow-states/
├── content-strategy/   # Content Strategy discipline content
│   ├── prompts/
│   ├── rules/
│   ├── project-configs/
│   └── workflow-states/
├── design/            # Design discipline content
│   ├── prompts/
│   ├── rules/
│   ├── project-configs/
│   └── workflow-states/
├── quality-assurance/        # Quality Assurance discipline content
│   ├── prompts/        # Quality Assurance prompts and checklists
│   ├── rules/   # Quality Assurance-specific rules and guidelines for maintaining consistency
│   ├── project-configs/ # Quality Assurance tool or process configurations
│   └── workflow-states/ # Quality Assurance workflow documentation
├── .github/           # GitHub configuration
│   └── workflows/     # GitHub Actions workflows
├── .eleventy.js       # 11ty configuration
├── .gitignore
├── package.json
├── README.md
└── llms.txt           # AI context file (auto-generated)

Content Organization

The library is organized by disciplines and content types:

Disciplines

  • Development
  • Project Management
  • Sales & Marketing
  • Content Strategy
  • Design
  • Quality Assurance

Content Types

  • Prompts: AI prompts for various use cases
  • Rules: Guidelines for development environments
  • Project Configs: Project configuration templates
  • Workflow States: Process and workflow documentation

Each discipline contains all content types, allowing for specialized content within each field.

Contributing

Content suggestions can also be submitted programmatically via GitHub Actions. This involves sending a repository_dispatch event with the type slack-prompt-submission to the GitHub API endpoint for this repository (/repos/Lullabot/prompt_library/dispatches). The event's client_payload must include the content, necessary metadata (author, invoker, permalink), and a pre-configured shared secret for validation. Successful dispatch triggers a workflow that creates a GitHub issue with the submitted content for review. See the workflow file .github/workflows/slack_submit.yml and the associated pull request (#40) for payload details and setup instructions.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the ISC License.

AI Context File

The llms.txt file is an auto-generated comprehensive snapshot of the entire project, designed to provide AI assistants with complete context about the codebase. This file contains all source code, documentation, configuration files, and templates compressed into a single file that can be easily consumed by language models.

When to Use

  • Providing full project context to AI assistants for code reviews
  • Getting architectural guidance and implementation suggestions
  • Debugging complex issues that span multiple files
  • Understanding the complete project structure and dependencies

Note

This file is automatically generated and should not be edited manually. It's updated whenever the project structure or files change significantly.

Acknowledgments

About

Collection of example AI prompt and configuration files

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11