HTML

stream121
Product Management :: Product Marketing


06 August, 2025

Prompt engineering - how to do it better

In my previous post, AI Code Generation to upend Product Management, I discussed the importance of prompt engineering. 

Thanks to a recent edition of Lenny's Podcast, here are some recommendations about how to most effectively deploy prompt engineering

Tip 1. Examples!

As well as instructing the AI for your desired outcome, provide examples as well. 

Tip 2. Decomposition

Decomposing a project into smaller tasks first is much more effective net-net. ie 
Step 1. 'Tell me the significant steps required to build XYZ'
Step 2. Review those steps
Step 3. 'Now use those steps to build XYZ'

is more effective than simply 'Build XYZ'.

Tip 3. Self Criticism 

Asking the AI to critique the results that you have previously requested (self-criticism) can lead to smarter, more accurate outputs ie between Step 1 and Step 2 above, add this step:
Step 1b: 'Please analyse and critique the steps that you have just outlined.'