Guest User

Untitled

a guest
Jan 29th, 2025
1,956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. # ==AI Prompt Guide for Development==
  2.  
  3. ### This guide helps ensures structured AI-assisted development with proper planning and debugging workflows.==
  4. ==
  5.  
  6. * * *
  7.  
  8. ## Start a New Chat 
  9.  
  10. ### Give the AI context to the as small as possible, but fully outlines entire project right off the bat. This helps it know context to your questions and requests. (Review `README.md` File)
  11.  
  12. ```
  13. Please review @README.md to understand the project.
  14.  
  15. But first, the @README.md is a large file, chunk it up so you can digest it more easily.
  16. once you've processed all the chunks and the entire @README.md file go ahead and poke around the codebase too.
  17.  
  18. Once you understand everything say: What shall we do?
  19. ```
  20.  
  21. * * *
  22.  
  23. ## Wrap up a Chat 
  24.  
  25. ### Have the AI fully update the project context file. (Update `README.md` File)
  26.  
  27. ### Watch this file carefully, like a hawk! IT IS YOUR PROJECT LIFE BLOOD!
  28.  
  29. ```
  30. Please review @README.md as it hasn't been updated with the latest changes we've made. Review our chat we had and code changes carefully and figure out everything we changed, removed, updated, etc. Make a comprehensive list and then update the @README.md accordingly.
  31.  
  32. VERY IMPORTANT: Do not remove anything from the README unless its no longer accurate. Also, do not add anything that isn't actually known to be true. No guessing, just the facts.
  33.  
  34. Go ahead and review everything as instructed then update the README now.
  35. ```
  36.  
  37. * * *
  38.  
  39. ## Writing a New Feature 
  40.  
  41. ### <span style="color: #3598db;">Have the AI add a new "large" feature. (`README.md` Already in Context)</span>
  42.  
  43. ```
  44. We need to focus on ((@DIRECTORY/@PAGE))
  45.  
  46. It's time to build a new feature: ((DESCRIBE FEATURE))
  47.  
  48. Please review the codebase and start planning what we need to do here.
  49.  
  50. Don't write any code, just explain your plan thoroughly to me.
  51. ```
  52.  
  53. * * *
  54.  
  55. ## Implementing Features - Planning
  56.  
  57. ### Break "large" features into manageable chunks for the AI to be successful!
  58.  
  59. ### After Pass 1, do Pass 2 and so on. The larger the feature the more "main" passes you need. If "very large" you need more than this prompt alone can solve for - it needs to be structured in sub features first by you, basically.
  60.  
  61. ### Once you're aligned with the AI's plan for each pass, tell it to proceed. (It's always itching to write code not chat!)
  62.  
  63. ```
  64. Before you proceed, break this up into logical chunks. don't bite off more than you can chew with one pass. Let's break this up into 2 main "passes". explain what you will be doing in each pass, from a high level.
  65. ```
  66.  
  67. - **Pass 1 - Code Review and Planning**
  68.  
  69. ```
  70. Review the code and files for Pass 1
  71.  
  72. Once you have reviewed, outline exactly what you need to do in detail. Don't code yet, we're just planning.
  73. ```
  74.  
  75.  
  76. * * *
  77.  
  78. ## Bug Fixing (`README.md` Must Be Up to Date)
  79.  
  80. ### <span style="color: #3598db;">Give AI full context of your app/code then have it tell your the plan! (`README.md` Must Be Up to Date)</span>
  81.  
  82. **<span style="color: #3598db;">Once you're aligned with the AI's plan, tell it to proceed.</span>**
  83.  
  84. ```
  85. I need your help fixing something. Please review @README.md and understand the entire project.
  86.  
  87. The bug: ((DESCRIBE BUG))
  88.  
  89. Please review the code that pertains to this. do deep discovery and research around this issue. then report back your findings.
  90.  
  91. Do NOT write any code, just explain in English for now.
  92. ```
  93.  
  94. * * *
  95.  
  96.  
Advertisement
Add Comment
Please, Sign In to add comment