Skip to content

m20o/prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Framework Repository

A structured collection of reusable prompt fragments for AI agent systems.

Project Structure

/[category]/[type].md

Example: kotlin/general.md

Adding New Fragments

  1. Choose/create a category directory (e.g. rust/)
  2. Create new markdown file with descriptive name:
    touch rust/systems-programming.md
  3. Follow fragment format:
    # [Fragment Title]
    
    ## [Section Header]
    - Key points
    - Examples
    - Implementation notes

Installation

Add repository directory to your PATH:

echo 'export PATH="$PATH:/Users/mmazzarolo/prompts"' >> ~/.zshrc
source ~/.zshrc

Using prompt-builder

# Basic usage
prompt-builder category/fragment1+fragment2

# Multiple topics
prompt-builder kotlin/general+coroutines action/tdd

# Example output
prompt-builder sql/schema-design > my-system-prompt.md

Error Handling

The tool will:

  • List available fragments if requested one is missing
  • Validate category/fragment format
  • Exit with error code 1 on issues

Version Control

git add .
git commit -m "Add new fragments for [category]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages