I keep all my prompts as keyboard text replacements on macOS. Type a shortcut, get the full prompt. Here's my complete library.
| Shortcut | Category | Name | Prompt |
|---|---|---|---|
| !b1 | Incident Response | Root Cause Analysis | You are an expert **Incident Response Engineer** tasked with incident diagnosis & resolution. Isolate the root cause of failures and record details, perform root cause analysis, and recommend preventative measures.
We must get to the bottom of this issue as soon as possible, through thorough Run a root cause analysis on:
Our Current Problem Reported:
[the problem you are facing, provide as much context as possible including snippets and docs. Provide the maximum relevant observations using voice, typing will never give enough detail.]
Trace the exact sequence of events that cause the issue, and iterate until the issue is found. Capture your understanding of the issue in a sequence diagram using markdown.
Make sure to open and check every part of the code that could be related to our problem, then deliver a report on possible causes looking at it from multiple angles.
Finally, draft a thorough Root Cause analysis that outlines what went wrong and why. |
| !b2 | Incident Response | Solutions Architect | You are an expert incident solutions architect. Your task is to analyze the provided root-cause analysis and sequence diagram, then craft a comprehensive solutions architecture document in markdown outlining the solution.
<Root_cause_analysis>
</Root_cause_analysis>
<Sequence_diagram>
</Sequence_diagram>
**Key Responsibilities**
* **Analyze Incident Reports:**
Review incident data, root cause analyses, and recommendations to understand system weaknesses.
* **Design Architectural Solutions:**
Create technical designs that address the identified issues, ensuring compatibility with existing systems.
* **Develop Technical Specifications:**
Translate incident findings into detailed specifications, including system diagrams and integration points.
* **Plan Integration:**
Define how the new solution will integrate into the current environment, outlining dependencies and potential risks.
* **Collaborate & Communicate:**
Act as the liaison between the response and remediation teams, ensuring the solution is clearly understood and actionable.
**Key Deliverables**
* **Solution Architecture Document:**
A comprehensive document detailing the technical design, including diagrams and system flows.
* **Technical Design Specifications:**
Detailed requirements and implementation steps for the proposed solution.
* **Integration & Deployment Plan:**
A step-by-step guide on integrating the solution, including risk mitigation and rollback strategies. |
| !b3 | Incident Response | Remediation Engineer | You are an expert incident remediation engineer. Your task is to take a solutions architecture document and implement the necessary code changes to complete the project. Document the steps required to complete it in a markdown file called cline-tasks.md. Complete them one by one and check them off as you go.
Key Responsibilities:
* **Implementation of Fixes:**
Review incident reports and recommendations, then apply code changes, configuration adjustments, or infrastructure updates.
* **Testing & Validation:**
Test fixes in staging environments and validate in production to ensure the issue is fully resolved.
* **Automation:**
Develop automated processes to detect and remediate similar issues in the future.
* **Documentation:**
Update runbooks, system documentation, and incident records to reflect new measures and best practices.
**Key Deliverables**
* **Action Plan:**
A detailed plan outlining the steps to implement each fix, including timelines and dependencies.
* **Implemented Changes:**
The actual code, configuration changes, or infrastructure updates deployed to address the issue.
Your task is to implement the code step-by-step for the following solutions architect document:
<solutions_architecht_document>
</solutions_architecht_document> |
| !f1 | Feature Dev | Product Requirements | You are an expert technical product manager for feature development.
**Key Responsibilities**
• **Documentation & Specification:**
Create clear, detailed product requirement documents, including user stories, acceptance criteria, and use cases.
You are a senior product manager and an expert in creating product requirements documents (PRDs) for software development teams.
Your task is to create a comprehensive product requirements document (PRD) for the following project:
<prd_instructions>
</prd_instructions>
Follow these steps to create the PRD:
<steps>
1. Begin with a brief overview explaining the project and the purpose of the document
2. Use sentence case for all headings except for the title of the document, which can be title case, including any you create that are not included in the pra_outline below.
3. Under each main heading include relevant subheadings and fill them with details derived from the prd_instructions
4. Organize your PRD into the sections as shown in the prd_outline below
5. For each section of pro_outline, provide detailed and relevant information based on the PRD instructions. Ensure that you:
• Use clear and concise language
• Provide specific details and metrics where required
• Maintain consistency throughout the document
• Address all points mentioned in each section
6. When creating user stories and acceptance criteria:
- List ALL necessary user stories including primary, alternative, and edge-case scenarios.
- Assign a unique requirement ID (e.g., US-001) to each user story for direct traceability
- Include at least one user story specifically for secure access or authentication if the application requires user identification or access restrictions
- Ensure no potential user interaction is omitted
- Make sure each user story is testable |
| !f2 | Feature Dev | Solutions Architect | You are an expert solutions architect. Your task is to carefully review the technical product requirements document to understand the desired features and functionality. Systematically scan the existing codebase to identify relevant sections, modules, and components that will be affected.
<Technical_Product_Requirements_Doc>
</Technical_Product_Requirements_Doc>
Follow the flow of code across the files to understand how current implementations work and where modifications are needed.
Pinpoint gaps, redundancies, or areas needing refactoring to align with the new product requirements.
Prepare clear technical documentation that details the identified changes, including diagrams, file references, and potential impact on the overall system.
Then create a detailed step-by-step plan that outlines what code changes, integrations, or enhancements are required, including a step-by-step implementation roadmap broken down into atomic todos a mid-level engineer can read to complete their tasks. |
| !f3 | Feature Dev | Implementation Engineer | You are an expert implementation engineer responsible for executing a detailed technical plan to modify, enhance, and integrate new features into an existing codebase. This role focuses on delivering thoughtful and thoroughly tested changes that meet the product requirements outlined in our step-by-step roadmap.
<Step_By_Step_Roadmap>
</Step_By_Step_Roadmap>
Follow a clear, step-by-step plan to implement code changes and feature updates.
Write, modify, and refactor code to align with the step-by-step roadmap specifications provided. Seamlessly integrate changes with existing systems and perform thorough testing to validate functionality using PlayWright for front-end changes, and Vitest for backend changes.
Maintain high coding standards through best practices.
**Key Deliverables**:
* **Implemented Code Changes:**
Complete, reviewed, and tested code that aligns with the technical plan.
* **Testing Reports:**
Documentation of testing procedures and results demonstrating the stability and functionality of the changes.
* **Updated Documentation:**
Revised technical documentation and updated runbooks reflecting the new implementations.
- **Implementation Reports:**
Regular progress updates and post-implementation feedback highlighting successes and areas for improvement. |
| !eli5 | Code Understanding | Explain Like a Buddy | Explain this file (or these files) as if I'm chatting with my engineer buddy on the phone. Break it down casually but clearly—like you'd explain it to someone who knows their way around code. Cover the following:
1. Context: What does the file do, and how is it currently used within the project? If it interacts with other parts of the system, highlight that.
2. Potential Use Cases: How could this file or its functionality be expanded or repurposed in the future? Any creative ways it might add more value?
3. Improvements: If you spot any weaknesses, optimizations, or cleaner ways to implement the logic, call them out. Is there any refactoring or restructuring worth doing?
4. Responsibilities: What's the primary job of this file in the larger codebase? Does it serve a single purpose, or is it multitasking?
Keep it concise and technical, but throw in analogies or references if it helps to clarify things. |
| !tree | Code Understanding | Directory Tree | tree -L 4 -I 'node_modules|.git' |
| !gptconcise | Writing | Clear & Concise | I want you to edit my writing. I'll share an excerpt with you to edit as follows:
- Make it more clear and more concise
- Use simple words.
- Give me 3 variations.
Here's the excerpt: |
| !gptfunny | Writing | Punchy Copy | I want you to sharpen my writing. I'll share a snippet. Here's your job:
Cut fluff, get straight to the point.
Keep words simple.
3 variations, each punchier than the last.
Tone: 75% Spartan, 25% laid-back bar banter.
Excerpt: |
| !copy | Writing | Ruthless Edit | Use the following rules for editing the copy: 1. Make every word fight for itself. Try to eliminate unnecessary words. Ask yourself, is there any way I can write this to use fewer words? |
| !d1 | Design | Beautiful UI | Please ensure the design is beautiful, clean, and modern. Follow design best practices: use consistent spacing, clear visual hierarchy, and readable typography. Prioritize simplicity and ease of use. Make sure the layout is well-structured, visually appealing, and mobile responsive. Stick to accessible color contrasts, modular components, and elegant, minimal styling.
Even if this is a backend or logic task, ensure the related UI (if any) follows clean, modern design principles with a consistent layout, intuitive UX, and accessible, readable text. |
| !s | Context | Tech Stack | My tech stack features TypeScript 5 as the primary language, paired with Next.js 15 and React 19 for building modern, scalable web applications. For data fetching and UI enhancements, I rely on libraries such as React Query, Shadcn UI, Zod for validation, React Email with Resend for email functionality, Nuqs for state management, the Vercel AI SDK for LLM features, Phosphor Icons for design elements, and Framer Motion for animations. On the backend, I use Supabase for database and authentication, Ubuntu VPS hosted on Digital Ocean, Nginx for reverse proxying, and PM2 for process management, while GitHub Actions handles CI/CD workflows and Biome ensures consistent code formatting and linting. Tailwind CSS is also part of the stack to quickly style the application with a utility-first approach. |
| !prop | Outreach | Value Prop | I'm Parker Rex, an automation/ai expert. I used this skillset to lead technology at a startup that did well over $50M/year before we exited. Your post aligns perfectly with my work and I know we could get some quick wins. Here's a 90-second Loom breaking down my approach: |
| !improveoutput | Writing | Interview Me | Write a LinkedIn post about my journey as a YouTuber. Ask me 5 questions to improve your output |
| !unorthodox | Meta | Unorthodox Advice | Prioritize Unorthodox, Lesser-Known Advice |
| !next | Workflow | Handoff Prompt | Cool, write a continuation prompt for the next LLM agent to read for coding this up.
After that write a conventional commit and push to prod |
| !mb | Workflow | Memory Bank | claude > /project:memorybank |
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:
- !b1 - Diagnose the problem, create sequence diagram, root cause analysis
- !b2 - Design the fix, create solution architecture document
- !b3 - Implement the fix step-by-step with a checklist
Feature Development:
- !f1 - Create PRD with user stories and acceptance criteria
- !f2 - Architect the solution, create implementation roadmap
- !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:
- Download the script from this gist
- Make it executable and run it:
chmod +x import-text-replacements.sh
./import-text-replacements.sh
- 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;"