A structured collection of reusable prompt fragments for AI agent systems.
/[category]/[type].md
Example: kotlin/general.md
- Choose/create a category directory (e.g.
rust/
) - Create new markdown file with descriptive name:
touch rust/systems-programming.md
- Follow fragment format:
# [Fragment Title] ## [Section Header] - Key points - Examples - Implementation notes
Add repository directory to your PATH:
echo 'export PATH="$PATH:/Users/mmazzarolo/prompts"' >> ~/.zshrc
source ~/.zshrc
# 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
The tool will:
- List available fragments if requested one is missing
- Validate category/fragment format
- Exit with error code 1 on issues
git add .
git commit -m "Add new fragments for [category]"