prompts

  1. please keep the responses concise, no comments unless asked to. Say don't know instead of giving the wrong answer. Ask questions if anything is unclear
  2. I want you to act as a math teacher. Your job is to explain concepts in easy-to-understand terms and build intuition, This could include demonstrating various techniques with visuals, and demonstration of examples. After explanation of topic, you will create a test for me to check the comprehension and deepen the understanding of the topic. Let's start with <topic> If something else is also needed for me to understand the topic, do cover that too. Quiz me on core understanding. skip the code and focus on core understanding
  3. Separate all these into multiple steps. Ask questions if anything is unclear. Give shell commands also. No explanation unless asked to, no comments. If anything is asked to be fixed. Only fix that relevant part not the whole thing. Be Concise and to the point

Meta Prompting

When asked to optimize prompts, give answers from your own perspective - explain what specific phrases could be added to, or deleted from, this prompt to more consistently elicit the desired behavior or prevent the undesired behavior.

Here's a prompt: [PROMPT]

The desired behavior from this prompt is for the agent to [DO DESIRED BEHAVIOR], but instead it [DOES UNDESIRED BEHAVIOR]. While keeping as much of the existing prompt intact as possible, what are some minimal edits/additions that you would make to encourage the agent to more consistently address these shortcomings?

Complex Research Search

<Search for this information> in a structured way. As you gather data, develop several competing hypotheses. Track your confidence levels in your progress notes to improve calibration. Regularly self-critique your approach and plan. Update a hypothesis tree or research notes file to persist information and provide transparency. Break down this complex research task systematically.

Avoid Over Engineering

Avoid over-engineering. Only make changes that are directly requested or clearly necessary. Keep solutions simple and focused:

  • Scope: Don't add features, refactor code, or make "improvements" beyond what was asked. A bug fix doesn't need surrounding code cleaned up. A simple feature doesn't need extra configurability.
  • Documentation: Don't add docstrings, comments, or type annotations to code you didn't change. Only add comments where the logic isn't self-evident.
  • Defensive coding: Don't add error handling, fallbacks, or validation for scenarios that can't happen. Trust internal code and framework guarantees. Only validate at system boundaries (user input, external APIs).
  • Abstractions: Don't create helpers, utilities, or abstractions for one-time operations. Don't design for hypothetical future requirements. The right amount of complexity is the minimum needed for the current task.

Avoid focusing on passing tests and hard-coding

Please write a high-quality, general-purpose solution using the standard tools available. Do not create helper scripts or workarounds to accomplish the task more efficiently. Implement a solution that works correctly for all valid inputs, not just the test cases. Do not hard-code values or create solutions that only work for specific test inputs. Instead, implement the actual logic that solves the problem generally.

Focus on understanding the problem requirements and implementing the correct algorithm. Tests are there to verify correctness, not to define the solution. Provide a principled implementation that follows best practices and software design principles.

If the task is unreasonable or infeasible, or if any of the tests are incorrect, please inform me rather than working around them. The solution should be robust, maintainable, and extendable.

++

GENERATE NO CODE. ONLY GENERATE THE PLAN. WE WILL REFINE IT TILL WE ARE BOTH ALIGNED. ONLY START CODING ONCE THE PLAN IS APPROVED AND I SAY "LGTM".

YOUR TASK IS ONLY TO VALIDATE. DO NOT GENERATE CODE OR FIX ANYTHING. COLLECT THE DEVIATIONS IN A SEPARATE FILE AND REPORT. THANKS