Back to Browse

Top 10 AI Software Engineer Prompts

2.4K views
Jul 16, 2025
18:51

Every Software Engineer Needs To Know These 10 AI Prompts! Prompts: First I am trying to create X. Give me step by step instructions for what to do. If there are multiple options for a step, provide each of those options with the tradeoffs so I can choose between them. Goal: Product Requirements: Second I need to instruct an AI agent to use this database. Give me a prompt I can use that has all of the context on the database schema Third Explain what this code does line by line as if I'm a junior developer: Assume I am a competent programmer, but you need to explain what each step of the code does, what its purpose is, and any concerns/limitations/etc of the code. Fourth Create unit tests for this function. Use the Jest testing library. The expected behavior of the function is: Write tests for the normal cases, empty inputs, large inputs, various types of invalid inputs, and all other relevant edge cases. Fifth Suggest 3 edge cases I'm likely forgetting to test for this function: Sixth I am deciding between two options for implementing X. Provide a complete list of pros and cons for each, and make a judgement as to which would be the better choice. If you think there is another alternative to consider, include that as well. Goal: Option A: Option B: Seventh Refactor this code for readability and performance without changing functionality: Provide a list of the changes made. For each change, explain why the change was made and why it doesn’t change the functionality in any way. Eighth Review this function as if you are a senior engineer. Specifically look for the following, and provide a list of potential improvements with reasoning for those improvements: Logical mistakes that could cause errors. Unaccounted for edge cases. Poor or inconsistent naming conventions and styling that would make the code hard to understand. Performance optimizations. Security vulnerabilities or concerns to consider. Ambiguous or hard to understand code that requires documentation. Debugging code that should be removed before pushing to production. Any other ways to improve the code quality, readability, performance, security, scalability, or maintainability. Ninth I am creating a class/function in JavaScript to do X. Create boilerplate code for this without implementing the business logic. For each step in the code, include a comment indicating what needs to be done there. Tenth I am creating a function in JavaScript to do X. Create boilerplate code for this without implementing the business logic. For each step in the code, include a comment indicating what needs to be done there. Prepping for your frontend interviews? Use code "conner" for a discount on my product FrontendExpert: https://www.frontendexpert.io/conner 🎬 TikTok: https://tiktok.com/@connerardman 💼 LinkedIn: https://linkedin.com/in/connerardman 📸 Instagram: https://instagram.com/connerardman 📢 Twitter/X: https://x.com/connerardman 💻 Video/Coding Gear (affiliate): https://www.amazon.com/shop/connerardman Business/brands 👉 [email protected]

Download

1 formats

Video Formats

360pmp432.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Top 10 AI Software Engineer Prompts | NatokHD