Parker Rex
All writing
ai

My Prompt Library for Agentic Coding in Early 2025

· 2 min read

All prompts

I keep all my prompts as keyboard text replacements on macOS. Type a shortcut, get the full prompt. Here's my complete library.

Browse the full prompt library, where every shortcut, category, and prompt lives with a copy button.

The Three-Part Workflows#

The most powerful patterns here are the **three-part workflows** for incident response (!b1 → !b2 → !b3) and feature development (!f1 → !f2 → !f3). Each stage hands off to the next with specific deliverables:

**Incident Response:**

  1. **!b1** - Diagnose the problem, create sequence diagram, root cause analysis
  2. **!b2** - Design the fix, create solution architecture document
  3. **!b3** - Implement the fix step-by-step with a checklist

**Feature Development:**

  1. **!f1** - Create PRD with user stories and acceptance criteria
  2. **!f2** - Architect the solution, create implementation roadmap
  3. **!f3** - Execute the plan with proper testing

How to Set This Up#

**Option 1: Manual Setup**

Go to **System Settings → Keyboard → Text Replacements**. Add each shortcut and its expansion. They sync across all your devices via iCloud.

**Option 2: Run My Import Script**

I made a bash script that imports all these prompts automatically by writing directly to the macOS TextReplacements database:

  1. Download the script from this gist
  2. Make it executable and run it:
chmod +x import-text-replacements.sh
./import-text-replacements.sh
  1. Restart the text replacement service:
killall -HUP cfprefsd

Or just log out and back in. The shortcuts will sync to all your Apple devices via iCloud.

**Export Your Own**

Want to export your existing text replacements? Run:

sqlite3 ~/Library/KeyboardServices/TextReplacements.db \
  "SELECT ZSHORTCUT, ZPHRASE FROM ZTEXTREPLACEMENTENTRY WHERE ZWASDELETED = 0;"

Related