llm notes

Introduction

Below is a list of text expander prompts that I currently use with the MacOS and iOS level Text Replacements feature. They will work with any text expander that supports the <prompt> and </prompt> tags, unfortuntately the MacOS Text Expander app does't support JSON,and has a 2000 character limit, so when I want to strucuture them a bit more I'll use Raycast mostly and sometimes Alfred, depening on what machine I'm on. I've been using these for a while now and they've been working well for me.

Resources

Cursor Resources

Text Expander Prompts

Shortcuts

Prompt Details

Four-Phase Problem-Solving Approach

The following four prompts are designed to be used sequentially for a comprehensive problem-solving approach. They guide you through idea exploration, task decomposition, solution planning, and iterative refinement.

  • /phase1: Begin by identifying the core objectives and key components of the task. Use logical reasoning to explore and prioritize ideas:
    • List the primary goals and constraints.
    • Analyze potential ideas for achieving these goals.
    • Prioritize the most important aspects to focus on.
  • /phase2: Decompose the prioritized ideas into smaller, manageable sub-tasks. Provide detailed instructions for each:
    • Define each sub-task and its dependencies.
    • Outline the specific operations and logic required for each sub-task.
    • Integrate sub-tasks into a coherent sequence.
  • /phase3: Formulate a strategic plan for the solution and translate it into detailed pseudocode:
    • Develop a comprehensive solution plan covering all aspects.
    • Translate the plan into detailed pseudocode with specific actions.
    • Ensure logical flow and coherence throughout the plan.
  • /phase4: Review the pseudocode and iteratively refine it to ensure high standards of accuracy and completeness:
    • Draft initial pseudocode based on the solution plan.
    • Review and refine with feedback and error checks.
    • Finalize with clear documentation for each step.
  • /phaseall: Engage in a comprehensive problem-solving process by sequentially applying the four-phase approach. For each phase, reflect on the outcomes and learnings before proceeding to the next phase. Ensure a cohesive and iterative refinement of ideas and solutions throughout the process. Phase 1: Begin by identifying the core objectives and key components of the task. Use logical reasoning to explore and prioritize ideas:
    • List the primary goals and constraints.
    • Analyze potential ideas for achieving these goals.
    • Prioritize the most important aspects to focus on.
    Phase 2: Decompose the prioritized ideas into smaller, manageable sub-tasks. Provide detailed instructions for each:
    • Define each sub-task and its dependencies.
    • Outline the specific operations and logic required for each sub-task.
    • Integrate sub-tasks into a coherent sequence.
    Phase 3: Formulate a strategic plan for the solution and translate it into detailed pseudocode:
    • Develop a comprehensive solution plan covering all aspects.
    • Translate the plan into detailed pseudocode with specific actions.
    • Ensure logical flow and coherence throughout the plan.
    Phase 4: Review the pseudocode and iteratively refine it to ensure high standards of accuracy and completeness:
    • Draft initial pseudocode based on the solution plan.
    • Review and refine with feedback and error checks.
    • Finalize with clear documentation for each step.
    Reflect and iterate: After completing each phase, reflect on the insights gained and adjust the approach as needed. Aim for continuous improvement and integration of learnings.